Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Maxwell Smart

Eric,

Everything worked as expected. 

However,  I have a second mail server that I just updated and wanted to 
install all of the latest updates. It required I update the kernel.  I 
updated the kernel, but it still boots to the previous kernel.   How do 
I change the default kernel that it boots to?This will allow me to 
update the simscan and install the Spamdyke making both of my servers 
identical.


I know it's late, but theses look all the same to me.  How do I know 
which one is default=0?   Default=0 is the first one listed correct? 


uname -a output

Linux mail.area510.net 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52 EDT 2008 
i686 athlon i386 GNU/Linux

grub.conf

#boot=/dev/hda

default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.4.1.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.4.1.el5.img
title CentOS (2.6.18-128.2.1.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.2.1.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.2.1.el5.img
title CentOS (2.6.18-128.1.10.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.1.10.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.1.10.el5.img
title CentOS (2.6.18-92.1.22.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-92.1.22.el5.img
title Sonia (2.6.18-92.1.13.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.13.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-92.1.13.el5.img



Eric Shubert wrote:

Maxwell Smart wrote:

Perfect.

If I use the qmailtoaster-plus to install Spamdyke, do the default 
config settings work for starters?


Yes. (that's why they're the default)


Is is easy to undo if it doesn't work correctly?


Yes. Instructions are on the wiki page for spamdyke. You should read 
that page regardless.


I am using QMT ISO 5.3 with all the current updates and no real 
config changes.  It works just fine right out of the box for my needs.


So will spamdyke.

There is one setting in /etc/spamdyke/spamdyke.conf 
(reject-ip-in-cc-rdns) that I would uncomment if you're in the US and 
don't get international email. That will reject emails with a country 
code in the reverse DNS entry for the sending server. This setting is 
commented out by default as a courtesy to our foreign and 
international users.



CJ

Eric Shubert wrote:

# yum update qmailtoaster-plus

Maxwell Smart wrote:

Eric,

OK, it worked.

How do I upgrade the qtp to the latest version?
CJ

Eric Shubert wrote:

Just say no. (that will let you select a new list)

Maxwell Smart wrote:

Eric,

I just tried, but it thinks that there are updates that need to 
be done that have been done manually.  It says The following 
packages have already been selected:  The list of updates have 
already been updated.  How do I clear the list?  Only one item is 
currently requiring updating.


CJ

Eric Shubert wrote:

What was the problem? Has it been fixed?

Maxwell Smart wrote:
Although while it works great when it works after the second 
update I performed qtp-newmodel broke and I had to upgrade 
manually.  I haven't played with it since.


Eric Shubert wrote:

Jake Vickers wrote:

Ole N.Johansen wrote:


Thanks guys.

But i still have a hard time to actual get the QMT upgraded 
to new qtp model.


See thread Centos 5.3 and qtp new model

 

 



So manually upgrade it, or if you're just trying to get the 
spambox, manually do it. Manually doing it is easy and always 
works (assuming you're not missing a dependency).


Download the new qmailadmin, and cd into the directory you 
downloaded it to. Then (for 32-bit system):
rpmbuild --rebuild --with cnt50 --define 'spambox 1' 
qmailadmin-toaster-1.2.12-1.3.8.src.rpm


When it's done rebuilding:
rpm -Uvh 
/usr/src/redhat/RPMS/i386/qmailadmin-toaster-1.2.12-1.3.8.*


Done! If you refresh the web page you will see the Spambox 
option in qmailadmin after that.
You can rebuild all of the Qmailtoaster packages in the same 
way if qtp-newmodel is not working for you.




Careful, Jake. That last statement is simply not true. What 
about stopping and starting services? (required for *some* 
packages) ;)


I'd also like to point out that Jake's referring to 
*rebuilding* here, not upgrading. While some upgrades can be 
done manually without much of a problem, others have a variety 
of 'gotchas' that will leave your toaster offline until you 
get everything just right. qtp-newmodel provides a safety net 
for upgrades that you just can't get upgrading manually.


FWIW.





-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
  

RE: [qmailtoaster] Centos 5.3 and qtp new model

2009-08-24 Thread Justice London
Yeah, it doesn't account for kernel-xen so if kernel-xen is being used a
'yum install kernel-xen-devel' or kernel-xen-headers needs to be run.

Justice London
Systems Administrator
E-mail:  jlon...@lawinfo.com
Website: www.lawinfo.com
Office:  800-397-3743 x105 | Fax: 800-220-4546
#
Legal Help For Everyone
Find an Attorney: http://www.lawinfo.com/advanced-search.html
Lead Counsel Program: http://www.lawinfo.com/programs.html
##
 
PLEASE NOTE: This message, including any attachments, may include 
privileged, confidential and/or inside information. Any 
distribution or use of this communication by anyone other than the 
intended recipient(s) is strictly prohibited and may be unlawful. 
If you are not the intended recipient, please notify the sender 
by replying to this message and then delete it from your system. 
Thank you.
-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: Sunday, August 23, 2009 9:08 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Centos 5.3 and qtp new model

Do you have kernel-devel package installed for the running kernel?

I don't know if anyone's run the old unionfs with a xen kernel.
A new FUSE unionfs will be available early this week (I'm doing final 
testing now). I would either wait for that, or boot with a non-xen 
kernel if possible. Are you using xen?

Ole N.Johansen wrote:
 I am at the point trying to install stuff manually.
 
 Just saw the change Eric said and done so, but it result in this error:
 
 local.mk:14: could not find kernel config file. internal auto-config may
 fail
 make: *** /lib/modules/2.6.18-8.1.3.el5xen/build: No such file or
directory.
 Stop.
 /bin/sh: line 0: test: too many arguments
 make: *** /lib/modules/2.6.18-8.1.3.el5xen/build: No such file or
directory.
 Stop.
 /bin/sh: line 0: test: too many arguments  
 make: *** /lib/modules/2.6.18-8.1.3.el5xen/build: No such file or
directory.
 Stop.
 /bin/sh: line 0: test: -ge: unary operator expected
 make: *** /lib/modules/2.6.18-8.1.3.el5xen/build: No such file or
directory.
 Stop.
 /bin/sh: line 0: test: -ge: unary operator expected
 make: *** /lib/modules/2.6.18-8.1.3.el5xen/build: No such file or
directory.
 Stop.
 /bin/sh: line 0: test: -ge: unary operator expected
 .
 
 
 make CONFIG_AUFS=m AUFS_EXTRA_CFLAGS=-I
 /opt/qmailtoaster-plus/src/aufs/include -DCONFIG_AUFS_BRANCH_MAX_127
 -DCONFIG_AUFS_RR_SQUASHFS -DCONFIG_AUFS_DEBUG -DC$
 make: *** /lib/modules/2.6.18-8.1.3.el5xen/build: No such file or
directory.
 Stop.
 make: *** [fs/aufs/aufs.ko] Error 2
 
 ..
 
 The error list is a bit longer , but I copy  paste the errors.
 
 Ole
 
 -Original Message-
 From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
 Sent: 22. august 2009 01:12
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] Centos 5.3 and qtp new model
 
 Hmmm.
 I have
 perl-Mail-SPF-2.006-1.el5.rf
 perl-Mail-SPF-Query-1.999.1-2.el5.rf
 
 I wonder why your yum is trying to install
 perl-Mail-SPF-Query-1.999.1-1.2.el5.rf
 
 I show the conflicting files as being owned by perl-Mail-SPF, so I think 
 I'd simply remove perl-Mail-SPF-Query from the list in qtp-newmodel and 
 try again.
 
 I honestly don't know what the deal is witht this. You might do some 
 googling for us to see what you can find out. ;)
 
 
 Ole N.Johansen wrote:
 Same error after yum clean all.. 

 yum clean all
 Loading installonlyn plugin
 Cleaning up Everything

 Transaction Summary



 =
 Install 18 Package(s) 
 Update   0 Package(s) 
 Remove   0 Package(s) 

 Total download size: 1.2 M
 Downloading Packages:
 (1/1): perl-TimeDate-1.16 100% |=|  32 kB
00:00

 Running Transaction Test
 Finished Transaction Test


 Transaction Check Error:
   file /usr/bin/spfquery conflicts between attempted installs of
 perl-Mail-SPF-2.006-1.el5.rf and perl-Mail-SPF-Query-1.999.1-1.2.el5.rf
   file /usr/share/man/man1/spfquery.1.gz conflicts between attempted
 installs of perl-Mail-SPF-2.006-1.el5.rf and
 perl-Mail-SPF-Query-1.999.1-1.2.el5.rf

 Error Summary
 -

 qtp-newmodel - installation of dependent packages failed, exiting



 -Original Message-
 From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
 Sent: 22. august 2009 00:01
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] Centos 5.3 and qtp new model

 The perl-Mail-SPF-Query package it's complaining about isn't the latest.
 # yum clean all
 then rerun.

 Ole N.Johansen wrote:
 rpm -qf /usr/bin/spfquery
 file /usr/bin/spfquery is not owned by any package

 rpm -qf /usr/share/man/man1/spfquery.1.gz
 error: file /usr/share/man/man1/spfquery.1.gz: No such file or directory

 rpm -qa | grep 

[qmailtoaster] Issues with SpamAssassin

2009-08-24 Thread Ronnie Tartar
I have users that are now getting hundreds of spam messages through the the 
filter.  Seems strange...


Any help?

Below is a header

Received: (qmail 10274 invoked by uid 89); 23 Aug 2009 21:33:53 -
Received: by simscan 1.3.1 ppid: 10264, pid: 10266, t: 0.4152s
scanners: attach: 1.3.1 clamav: 0.94.2/m: spam: 3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.host2max.com
X-Spam-Level: **
X-Spam-Status: No, hits=2.2 required=5.0 tests=DK_SIGNED,DK_VERIFIED,
FH_RELAY_NODNS,RDNS_NONE,SARE_MONEYTERMS autolearn=noversion=3.2.5
X-Spam-REPORT:
*  1.5 FH_RELAY_NODNS We could not determine your Reverse DNS
*  0.0 DK_SIGNED Domain Keys: message has a signature
* -0.0 DK_VERIFIED Domain Keys: signature passes verification
*  0.7 SARE_MONEYTERMS BODY: Talks about money in some way.
*  0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS
Received: from unknown (HELO mail.ityetnodit.com) (209.124.84.94)
 by mail.host2max.com with SMTP; 23 Aug 2009 21:33:52 -
Received-SPF: pass (mail.host2max.com: SPF record at mail.ityetnodit.com 
designates 209.124.84.94 as permitted sender)

DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=main; d=mail.ityetnodit.com;
b=GfuKusaE/IPPb9kGy6Loor9EVZk9Q29LgKvrGrh+ncckvXhSxBPpPY+WNyC3aXGk6hHMaj2ugTSMtOgAYn5eBA==; 
h=Received:Message-ID:Date:From:To:Subject:List-Unsubscribe:MIME-Version:Content-Type:Content-Transfer-Encoding;Received:
 by 209.124.84.94 with SMTP id j66ou745dzpl5x3  for user email replaced; Sun, 23 Aug 2009 
16:32:39 -0500Message-ID: ygl4rfezot-4...@mail.ityetnodit.comDate: Sun, 23 Aug 2009 16:32:39 
-0500From: BankruptcyRights bankruptcyrights@mail.ityetnodit.com

-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Eric Shubert

Maxwell Smart wrote:

Eric,

Everything worked as expected.


Glad to hear it.

However,  I have a second mail server that I just updated and wanted to 
install all of the latest updates. It required I update the kernel.  I 
updated the kernel, but it still boots to the previous kernel.   How do 
I change the default kernel that it boots to?This will allow me to 
update the simscan and install the Spamdyke making both of my servers 
identical.


I know it's late, but theses look all the same to me.  How do I know 
which one is default=0?   Default=0 is the first one listed correct?


Correct. Grub is consistently relative to zero.


uname -a output

Linux mail.area510.net 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52 EDT 
2008 i686 athlon i386 GNU/Linux


grub.conf

#boot=/dev/hda

default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.4.1.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.4.1.el5.img
title CentOS (2.6.18-128.2.1.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.2.1.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.2.1.el5.img
title CentOS (2.6.18-128.1.10.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.1.10.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.1.10.el5.img
title CentOS (2.6.18-92.1.22.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-92.1.22.el5.img
title Sonia (2.6.18-92.1.13.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.13.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-92.1.13.el5.img


That looks correct to me. If your system has been rebooted and it's 
still rebooting to 2.6.18-92.1.13 (the oldest kernel in the list btw), 
then grub isn't using this grub.conf file. My guess would be that one of 
your symlinks is a normal file instead of a symlink, which is preventing 
grub from seeing this file.


A normal CentOS5 configuration will have:
[r...@doris ~]# ls -l /etc/grub.conf
lrwxrwxrwx 1 root root 22 May 30  2008 /etc/grub.conf - 
../boot/grub/grub.conf

[r...@doris ~]# ls -l /boot/grub/menu.lst
lrwxrwxrwx 1 root root 11 May 30  2008 /boot/grub/menu.lst - ./grub.conf
[r...@doris ~]# ls -l /boot/grub/grub.conf
-rw--- 1 root root 1138 Aug  3 15:48 /boot/grub/grub.conf

The /boot/grub/grub.conf file is the real file. If one of the other 2 is 
a file instead of a symlink pointing to the real file, there is your 
problem. Be careful when you fix it that you don't lose the updated 
configuration.



Eric Shubert wrote:

Maxwell Smart wrote:

Perfect.

If I use the qmailtoaster-plus to install Spamdyke, do the default 
config settings work for starters?


Yes. (that's why they're the default)


Is is easy to undo if it doesn't work correctly?


Yes. Instructions are on the wiki page for spamdyke. You should read 
that page regardless.


I am using QMT ISO 5.3 with all the current updates and no real 
config changes.  It works just fine right out of the box for my needs.


So will spamdyke.

There is one setting in /etc/spamdyke/spamdyke.conf 
(reject-ip-in-cc-rdns) that I would uncomment if you're in the US and 
don't get international email. That will reject emails with a country 
code in the reverse DNS entry for the sending server. This setting is 
commented out by default as a courtesy to our foreign and 
international users.



CJ


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Issues with SpamAssassin

2009-08-24 Thread Eric Shubert
I see that you're not running spamdyke. FH_RELAY_NODNS scores only 1.5? 
When that condition exists, spamdyke flat out rejects it (in the default 
configuration - you can tailor that if you really need to).


I would install spamdyke, and watch your server breath a sigh of relief 
afterwards. ;) There will be a lot less scanning being done, because 
spamdyke rejects spam up front before it's even received. I'll bet that 
your users will notice the difference too.


Ronnie Tartar wrote:
I have users that are now getting hundreds of spam messages through the 
the filter.  Seems strange...


Any help?

Below is a header

Received: (qmail 10274 invoked by uid 89); 23 Aug 2009 21:33:53 -
Received: by simscan 1.3.1 ppid: 10264, pid: 10266, t: 0.4152s
scanners: attach: 1.3.1 clamav: 0.94.2/m: spam: 3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on 
mail.host2max.com

X-Spam-Level: **
X-Spam-Status: No, hits=2.2 required=5.0 tests=DK_SIGNED,DK_VERIFIED,
FH_RELAY_NODNS,RDNS_NONE,SARE_MONEYTERMS autolearn=noversion=3.2.5
X-Spam-REPORT:
*  1.5 FH_RELAY_NODNS We could not determine your Reverse DNS
*  0.0 DK_SIGNED Domain Keys: message has a signature
* -0.0 DK_VERIFIED Domain Keys: signature passes verification
*  0.7 SARE_MONEYTERMS BODY: Talks about money in some way.
*  0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS
Received: from unknown (HELO mail.ityetnodit.com) (209.124.84.94)
 by mail.host2max.com with SMTP; 23 Aug 2009 21:33:52 -
Received-SPF: pass (mail.host2max.com: SPF record at mail.ityetnodit.com 
designates 209.124.84.94 as permitted sender)

DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=main; d=mail.ityetnodit.com;
b=GfuKusaE/IPPb9kGy6Loor9EVZk9Q29LgKvrGrh+ncckvXhSxBPpPY+WNyC3aXGk6hHMaj2ugTSMtOgAYn5eBA==; 
h=Received:Message-ID:Date:From:To:Subject:List-Unsubscribe:MIME-Version:Content-Type:Content-Transfer-Encoding;Received: 
by 209.124.84.94 with SMTP id j66ou745dzpl5x3  for user email 
replaced; Sun, 23 Aug 2009 16:32:39 -0500Message-ID: 
ygl4rfezot-4...@mail.ityetnodit.comDate: Sun, 23 Aug 2009 16:32:39 
-0500From: BankruptcyRights bankruptcyrights@mail.ityetnodit.com





--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] CentOS 4 w/ x86_64

2009-08-24 Thread Eric Shubert
Is anyone running a toaster on COS4 64-bit? If so, I'd like to hear from 
 you. Thanks.

--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Maxwell Smart
The /boot/grub/grub.conf file reads the same.  The other 2 are both
symlinks as expected.

It has been rebooted and is still loading the old kernel.  I also
removed the lines in the grub.conf file referring to the -92 kernel and
it still boots to the -92 kernel. 

[r...@mail ~]# rpm -qa kernel
kernel-2.6.18-128.1.10.el5
kernel-2.6.18-92.1.13.el5
kernel-2.6.18-128.2.1.el5
kernel-2.6.18-128.4.1.el5
kernel-2.6.18-92.1.22.el5


Eric Shubert wrote:
 Maxwell Smart wrote:
 Eric,

 Everything worked as expected.

 Glad to hear it.

 However,  I have a second mail server that I just updated and wanted
 to install all of the latest updates. It required I update the
 kernel.  I updated the kernel, but it still boots to the previous
 kernel.   How do I change the default kernel that it boots to?   
 This will allow me to update the simscan and install the Spamdyke
 making both of my servers identical.

 I know it's late, but theses look all the same to me.  How do I know
 which one is default=0?   Default=0 is the first one listed correct?

 Correct. Grub is consistently relative to zero.

 uname -a output

 Linux mail.area510.net 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52
 EDT 2008 i686 athlon i386 GNU/Linux

 grub.conf

 #boot=/dev/hda

 default=0
 timeout=5
 splashimage=(hd0,0)/boot/grub/splash.xpm.gz
 hiddenmenu
 title CentOS (2.6.18-128.4.1.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.4.1.el5.img
 title CentOS (2.6.18-128.2.1.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.2.1.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.2.1.el5.img
 title CentOS (2.6.18-128.1.10.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.1.10.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.1.10.el5.img
 title CentOS (2.6.18-92.1.22.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-92.1.22.el5.img
 title Sonia (2.6.18-92.1.13.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-92.1.13.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-92.1.13.el5.img

 That looks correct to me. If your system has been rebooted and it's
 still rebooting to 2.6.18-92.1.13 (the oldest kernel in the list btw),
 then grub isn't using this grub.conf file. My guess would be that one
 of your symlinks is a normal file instead of a symlink, which is
 preventing grub from seeing this file.

 A normal CentOS5 configuration will have:
 [r...@doris ~]# ls -l /etc/grub.conf
 lrwxrwxrwx 1 root root 22 May 30  2008 /etc/grub.conf -
 ../boot/grub/grub.conf
 [r...@doris ~]# ls -l /boot/grub/menu.lst
 lrwxrwxrwx 1 root root 11 May 30  2008 /boot/grub/menu.lst - ./grub.conf
 [r...@doris ~]# ls -l /boot/grub/grub.conf
 -rw--- 1 root root 1138 Aug  3 15:48 /boot/grub/grub.conf

 The /boot/grub/grub.conf file is the real file. If one of the other 2
 is a file instead of a symlink pointing to the real file, there is
 your problem. Be careful when you fix it that you don't lose the
 updated configuration.

 Eric Shubert wrote:
 Maxwell Smart wrote:
 Perfect.

 If I use the qmailtoaster-plus to install Spamdyke, do the default
 config settings work for starters?

 Yes. (that's why they're the default)

 Is is easy to undo if it doesn't work correctly?

 Yes. Instructions are on the wiki page for spamdyke. You should read
 that page regardless.

 I am using QMT ISO 5.3 with all the current updates and no real
 config changes.  It works just fine right out of the box for my needs.

 So will spamdyke.

 There is one setting in /etc/spamdyke/spamdyke.conf
 (reject-ip-in-cc-rdns) that I would uncomment if you're in the US
 and don't get international email. That will reject emails with a
 country code in the reverse DNS entry for the sending server. This
 setting is commented out by default as a courtesy to our foreign and
 international users.

 CJ


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




RE: [qmailtoaster] Issues with SpamAssassin

2009-08-24 Thread Ronnie Tartar
Below is my smtp run file, I am running Spamdyke.  Doesn't seem to be
functioning properly.  

It's rejecting mail in my /var/log/maillog file.
Aug 24 14:16:48 mail spamdyke[26064]: FILTER_RDNS_RESOLVE ip: 41.221.76.40
rdns: ip-41-221-76-40.teledata.mz
Aug 24 14:16:50 mail spamdyke[26079]: FILTER_RBL_MATCH ip: 84.10.35.5 rbl:
bl.spamcop.net




#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE=/usr/local/bin/spamdyke -f /etc/spamdyke.conf
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD=/var/qmail/bin/qmail-smtpd
TCP_CDB=/etc/tcprules.d/tcp.smtp.cdb
RBLSMTPD=/usr/bin/rblsmtpd
HOSTNAME=`hostname`
VCHKPW=/home/vpopmail/bin/vchkpw
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 1 \
 /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c $MAXSMTPD \
 -u $QMAILDUID -g $NOFILESGID 0 smtp \
 $SPAMDYKE \
 $RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 21

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: Monday, August 24, 2009 1:21 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Issues with SpamAssassin

I see that you're not running spamdyke. FH_RELAY_NODNS scores only 1.5? 
When that condition exists, spamdyke flat out rejects it (in the default 
configuration - you can tailor that if you really need to).

I would install spamdyke, and watch your server breath a sigh of relief 
afterwards. ;) There will be a lot less scanning being done, because 
spamdyke rejects spam up front before it's even received. I'll bet that 
your users will notice the difference too.

Ronnie Tartar wrote:
 I have users that are now getting hundreds of spam messages through the 
 the filter.  Seems strange...
 
 Any help?
 
 Below is a header
 
 Received: (qmail 10274 invoked by uid 89); 23 Aug 2009 21:33:53 -
 Received: by simscan 1.3.1 ppid: 10264, pid: 10266, t: 0.4152s
 scanners: attach: 1.3.1 clamav: 0.94.2/m: spam: 3.2.5
 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on 
 mail.host2max.com
 X-Spam-Level: **
 X-Spam-Status: No, hits=2.2 required=5.0 tests=DK_SIGNED,DK_VERIFIED,
 FH_RELAY_NODNS,RDNS_NONE,SARE_MONEYTERMS autolearn=noversion=3.2.5
 X-Spam-REPORT:
 *  1.5 FH_RELAY_NODNS We could not determine your Reverse DNS
 *  0.0 DK_SIGNED Domain Keys: message has a signature
 * -0.0 DK_VERIFIED Domain Keys: signature passes verification
 *  0.7 SARE_MONEYTERMS BODY: Talks about money in some way.
 *  0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS
 Received: from unknown (HELO mail.ityetnodit.com) (209.124.84.94)
  by mail.host2max.com with SMTP; 23 Aug 2009 21:33:52 -
 Received-SPF: pass (mail.host2max.com: SPF record at mail.ityetnodit.com 
 designates 209.124.84.94 as permitted sender)
 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
 s=main; d=mail.ityetnodit.com;

b=GfuKusaE/IPPb9kGy6Loor9EVZk9Q29LgKvrGrh+ncckvXhSxBPpPY+WNyC3aXGk6hHMaj2ugT
SMtOgAYn5eBA==; 

h=Received:Message-ID:Date:From:To:Subject:List-Unsubscribe:MIME-Version:Con
tent-Type:Content-Transfer-Encoding;Received: 
 by 209.124.84.94 with SMTP id j66ou745dzpl5x3  for user email 
 replaced; Sun, 23 Aug 2009 16:32:39 -0500Message-ID: 
 ygl4rfezot-4...@mail.ityetnodit.comDate: Sun, 23 Aug 2009 16:32:39 
 -0500From: BankruptcyRights bankruptcyrights@mail.ityetnodit.com
 


-- 
-Eric 'shubes'



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!

-
 Please visit qmailtoaster.com for the latest news, updates, and
packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com




-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Eric Shubert
Very strange. Perhaps there's something else going on with that hard 
drive that we're not seeing. Any other partitions on it? Was there ever 
any other boot loader on it?


Are/can you seeing the grub boot menu when it boots? What does it list?

I might try reinstalling grub in the mbr, but only after I thought there 
was some reason it might fix something. This definitely sounds like a 
grub misconfiguration issue. (duh)


Maxwell Smart wrote:

The /boot/grub/grub.conf file reads the same.  The other 2 are both
symlinks as expected.

It has been rebooted and is still loading the old kernel.  I also
removed the lines in the grub.conf file referring to the -92 kernel and
it still boots to the -92 kernel. 


[r...@mail ~]# rpm -qa kernel
kernel-2.6.18-128.1.10.el5
kernel-2.6.18-92.1.13.el5
kernel-2.6.18-128.2.1.el5
kernel-2.6.18-128.4.1.el5
kernel-2.6.18-92.1.22.el5


Eric Shubert wrote:

Maxwell Smart wrote:

Eric,

Everything worked as expected.

Glad to hear it.


However,  I have a second mail server that I just updated and wanted
to install all of the latest updates. It required I update the
kernel.  I updated the kernel, but it still boots to the previous
kernel.   How do I change the default kernel that it boots to?   
This will allow me to update the simscan and install the Spamdyke

making both of my servers identical.

I know it's late, but theses look all the same to me.  How do I know
which one is default=0?   Default=0 is the first one listed correct?

Correct. Grub is consistently relative to zero.


uname -a output

Linux mail.area510.net 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52
EDT 2008 i686 athlon i386 GNU/Linux

grub.conf

#boot=/dev/hda

default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.4.1.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.4.1.el5.img
title CentOS (2.6.18-128.2.1.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.2.1.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.2.1.el5.img
title CentOS (2.6.18-128.1.10.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.1.10.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.1.10.el5.img
title CentOS (2.6.18-92.1.22.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-92.1.22.el5.img
title Sonia (2.6.18-92.1.13.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.13.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-92.1.13.el5.img

That looks correct to me. If your system has been rebooted and it's
still rebooting to 2.6.18-92.1.13 (the oldest kernel in the list btw),
then grub isn't using this grub.conf file. My guess would be that one
of your symlinks is a normal file instead of a symlink, which is
preventing grub from seeing this file.

A normal CentOS5 configuration will have:
[r...@doris ~]# ls -l /etc/grub.conf
lrwxrwxrwx 1 root root 22 May 30  2008 /etc/grub.conf -
../boot/grub/grub.conf
[r...@doris ~]# ls -l /boot/grub/menu.lst
lrwxrwxrwx 1 root root 11 May 30  2008 /boot/grub/menu.lst - ./grub.conf
[r...@doris ~]# ls -l /boot/grub/grub.conf
-rw--- 1 root root 1138 Aug  3 15:48 /boot/grub/grub.conf

The /boot/grub/grub.conf file is the real file. If one of the other 2
is a file instead of a symlink pointing to the real file, there is
your problem. Be careful when you fix it that you don't lose the
updated configuration.


Eric Shubert wrote:

Maxwell Smart wrote:

Perfect.

If I use the qmailtoaster-plus to install Spamdyke, do the default
config settings work for starters?

Yes. (that's why they're the default)


Is is easy to undo if it doesn't work correctly?

Yes. Instructions are on the wiki page for spamdyke. You should read
that page regardless.


I am using QMT ISO 5.3 with all the current updates and no real
config changes.  It works just fine right out of the box for my needs.

So will spamdyke.

There is one setting in /etc/spamdyke/spamdyke.conf
(reject-ip-in-cc-rdns) that I would uncomment if you're in the US
and don't get international email. That will reject emails with a
country code in the reverse DNS entry for the sending server. This
setting is commented out by default as a courtesy to our foreign and
international users.


CJ



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com






--
-Eric 'shubes'



Re: [qmailtoaster] Issues with SpamAssassin

2009-08-24 Thread Eric Shubert
I seem to recall that spamdyke's FILTER_* messages correlate to DENIED_* 
messages, where DENIED_* is a real rejectionand FILTER_* indicates that 
the rule fired but was not active, sort of a test/evaluation mode. Check 
into the spamdyke documentation on that.


What's in your spamdyke.conf file?


Ronnie Tartar wrote:

Below is my smtp run file, I am running Spamdyke.  Doesn't seem to be
functioning properly.  


It's rejecting mail in my /var/log/maillog file.
Aug 24 14:16:48 mail spamdyke[26064]: FILTER_RDNS_RESOLVE ip: 41.221.76.40
rdns: ip-41-221-76-40.teledata.mz
Aug 24 14:16:50 mail spamdyke[26079]: FILTER_RBL_MATCH ip: 84.10.35.5 rbl:
bl.spamcop.net




#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
SPAMDYKE=/usr/local/bin/spamdyke -f /etc/spamdyke.conf
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD=/var/qmail/bin/qmail-smtpd
TCP_CDB=/etc/tcprules.d/tcp.smtp.cdb
RBLSMTPD=/usr/bin/rblsmtpd
HOSTNAME=`hostname`
VCHKPW=/home/vpopmail/bin/vchkpw
REQUIRE_AUTH=0

exec /usr/bin/softlimit -m 1 \
 /usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c $MAXSMTPD \
 -u $QMAILDUID -g $NOFILESGID 0 smtp \
 $SPAMDYKE \
 $RBLSMTPD $BLACKLIST $SMTPD $VCHKPW /bin/true 21

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: Monday, August 24, 2009 1:21 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Issues with SpamAssassin

I see that you're not running spamdyke. FH_RELAY_NODNS scores only 1.5? 
When that condition exists, spamdyke flat out rejects it (in the default 
configuration - you can tailor that if you really need to).


I would install spamdyke, and watch your server breath a sigh of relief 
afterwards. ;) There will be a lot less scanning being done, because 
spamdyke rejects spam up front before it's even received. I'll bet that 
your users will notice the difference too.


Ronnie Tartar wrote:
I have users that are now getting hundreds of spam messages through the 
the filter.  Seems strange...


Any help?

Below is a header

Received: (qmail 10274 invoked by uid 89); 23 Aug 2009 21:33:53 -
Received: by simscan 1.3.1 ppid: 10264, pid: 10266, t: 0.4152s
scanners: attach: 1.3.1 clamav: 0.94.2/m: spam: 3.2.5
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on 
mail.host2max.com

X-Spam-Level: **
X-Spam-Status: No, hits=2.2 required=5.0 tests=DK_SIGNED,DK_VERIFIED,
FH_RELAY_NODNS,RDNS_NONE,SARE_MONEYTERMS autolearn=noversion=3.2.5
X-Spam-REPORT:
*  1.5 FH_RELAY_NODNS We could not determine your Reverse DNS
*  0.0 DK_SIGNED Domain Keys: message has a signature
* -0.0 DK_VERIFIED Domain Keys: signature passes verification
*  0.7 SARE_MONEYTERMS BODY: Talks about money in some way.
*  0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS
Received: from unknown (HELO mail.ityetnodit.com) (209.124.84.94)
 by mail.host2max.com with SMTP; 23 Aug 2009 21:33:52 -
Received-SPF: pass (mail.host2max.com: SPF record at mail.ityetnodit.com 
designates 209.124.84.94 as permitted sender)

DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=main; d=mail.ityetnodit.com;


b=GfuKusaE/IPPb9kGy6Loor9EVZk9Q29LgKvrGrh+ncckvXhSxBPpPY+WNyC3aXGk6hHMaj2ugT
SMtOgAYn5eBA==; 
h=Received:Message-ID:Date:From:To:Subject:List-Unsubscribe:MIME-Version:Con
tent-Type:Content-Transfer-Encoding;Received: 
by 209.124.84.94 with SMTP id j66ou745dzpl5x3  for user email 
replaced; Sun, 23 Aug 2009 16:32:39 -0500Message-ID: 
ygl4rfezot-4...@mail.ityetnodit.comDate: Sun, 23 Aug 2009 16:32:39 
-0500From: BankruptcyRights bankruptcyrights@mail.ityetnodit.com








--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Maxwell Smart
Clean install on formatted drive.  Only QMT ISO installed.  

It's headless so without removing it from the rack, not easily.

I just changed the default to 1 and then 2, no change. 

I'll either pull it out of the rack or try to reinstall grub remotely.

Eric Shubert wrote:
 Very strange. Perhaps there's something else going on with that hard
 drive that we're not seeing. Any other partitions on it? Was there
 ever any other boot loader on it?

 Are/can you seeing the grub boot menu when it boots? What does it list?

 I might try reinstalling grub in the mbr, but only after I thought
 there was some reason it might fix something. This definitely sounds
 like a grub misconfiguration issue. (duh)

 Maxwell Smart wrote:
 The /boot/grub/grub.conf file reads the same.  The other 2 are both
 symlinks as expected.

 It has been rebooted and is still loading the old kernel.  I also
 removed the lines in the grub.conf file referring to the -92 kernel and
 it still boots to the -92 kernel.
 [r...@mail ~]# rpm -qa kernel
 kernel-2.6.18-128.1.10.el5
 kernel-2.6.18-92.1.13.el5
 kernel-2.6.18-128.2.1.el5
 kernel-2.6.18-128.4.1.el5
 kernel-2.6.18-92.1.22.el5


 Eric Shubert wrote:
 Maxwell Smart wrote:
 Eric,

 Everything worked as expected.
 Glad to hear it.

 However,  I have a second mail server that I just updated and wanted
 to install all of the latest updates. It required I update the
 kernel.  I updated the kernel, but it still boots to the previous
 kernel.   How do I change the default kernel that it boots to?  
 This will allow me to update the simscan and install the Spamdyke
 making both of my servers identical.

 I know it's late, but theses look all the same to me.  How do I know
 which one is default=0?   Default=0 is the first one listed correct?
 Correct. Grub is consistently relative to zero.

 uname -a output

 Linux mail.area510.net 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52
 EDT 2008 i686 athlon i386 GNU/Linux

 grub.conf

 #boot=/dev/hda

 default=0
 timeout=5
 splashimage=(hd0,0)/boot/grub/splash.xpm.gz
 hiddenmenu
 title CentOS (2.6.18-128.4.1.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.4.1.el5.img
 title CentOS (2.6.18-128.2.1.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.2.1.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.2.1.el5.img
 title CentOS (2.6.18-128.1.10.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.1.10.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.1.10.el5.img
 title CentOS (2.6.18-92.1.22.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-92.1.22.el5.img
 title Sonia (2.6.18-92.1.13.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-92.1.13.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-92.1.13.el5.img
 That looks correct to me. If your system has been rebooted and it's
 still rebooting to 2.6.18-92.1.13 (the oldest kernel in the list btw),
 then grub isn't using this grub.conf file. My guess would be that one
 of your symlinks is a normal file instead of a symlink, which is
 preventing grub from seeing this file.

 A normal CentOS5 configuration will have:
 [r...@doris ~]# ls -l /etc/grub.conf
 lrwxrwxrwx 1 root root 22 May 30  2008 /etc/grub.conf -
 ../boot/grub/grub.conf
 [r...@doris ~]# ls -l /boot/grub/menu.lst
 lrwxrwxrwx 1 root root 11 May 30  2008 /boot/grub/menu.lst -
 ./grub.conf
 [r...@doris ~]# ls -l /boot/grub/grub.conf
 -rw--- 1 root root 1138 Aug  3 15:48 /boot/grub/grub.conf

 The /boot/grub/grub.conf file is the real file. If one of the other 2
 is a file instead of a symlink pointing to the real file, there is
 your problem. Be careful when you fix it that you don't lose the
 updated configuration.

 Eric Shubert wrote:
 Maxwell Smart wrote:
 Perfect.

 If I use the qmailtoaster-plus to install Spamdyke, do the default
 config settings work for starters?
 Yes. (that's why they're the default)

 Is is easy to undo if it doesn't work correctly?
 Yes. Instructions are on the wiki page for spamdyke. You should read
 that page regardless.

 I am using QMT ISO 5.3 with all the current updates and no real
 config changes.  It works just fine right out of the box for my
 needs.
 So will spamdyke.

 There is one setting in /etc/spamdyke/spamdyke.conf
 (reject-ip-in-cc-rdns) that I would uncomment if you're in the US
 and don't get international email. That will reject emails with a
 country code in the reverse DNS entry for the sending server. This
 setting is commented out by default as a courtesy to our foreign and
 international users.

 CJ


 -

 Qmailtoaster is sponsored by Vickers Consulting Group
 (www.vickersconsulting.com)
 Vickers Consulting Group offers Qmailtoaster support and
 installations.
   If you need professional help with your setup, contact them today!
 

RE: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Ole N.Johansen
Just to mention it, i just upgraded the kernel to 2.6.18-128.4.1.el5xen 
Centos 5.3 no problems booting it. Autoboots in 3 seconds as default, I have
not touched the grubloader.

But I still have the same problem installing this sandbox stuff. I managed
to upgrade rest of the QMT, so it is latest now, except sandbox..
No spam folder in squirrelmail.


Error log building aufs:

local.mk:14: could not find kernel config file. internal auto-config may
fail
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
/bin/sh: line 0: test: too many arguments
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
/bin/sh: line 0: test: too many arguments
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
/bin/sh: line 0: test: -ge: unary operator expected
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
/bin/sh: line 0: test: -ge: unary operator expected
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
/bin/sh: line 0: test: -ge: unary operator expected
make CONFIG_AUFS=m AUFS_EXTRA_CFLAGS=-I
/opt/qmailtoaster-plus/src/aufs/include -DCONFIG_AUFS_BRANCH_MAX_127
-DCONFIG_AUFS_RR_SQUASHFS -DCONFIG_AUFS_DEBU$
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
make: *** [clean] Error 2
local.mk:14: could not find kernel config file. internal auto-config may
fail
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
/bin/sh: line 0: test: too many arguments
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
/bin/sh: line 0: test: too many arguments
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
/bin/sh: line 0: test: -ge: unary operator expected
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
/bin/sh: line 0: test: -ge: unary operator expected
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
/bin/sh: line 0: test: -ge: unary operator expected
fs/aufs
make CONFIG_AUFS=m AUFS_EXTRA_CFLAGS=-I
/opt/qmailtoaster-plus/src/aufs/include -DCONFIG_AUFS_BRANCH_MAX_127
-DCONFIG_AUFS_RR_SQUASHFS -DCONFIG_AUFS_DEBU$
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.
make: *** [fs/aufs/aufs.ko] Error 2




-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: 24. august 2009 20:43
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Email tagged as SPAM - automatically move to
spam folder

Very strange. Perhaps there's something else going on with that hard 
drive that we're not seeing. Any other partitions on it? Was there ever 
any other boot loader on it?

Are/can you seeing the grub boot menu when it boots? What does it list?

I might try reinstalling grub in the mbr, but only after I thought there 
was some reason it might fix something. This definitely sounds like a 
grub misconfiguration issue. (duh)

Maxwell Smart wrote:
 The /boot/grub/grub.conf file reads the same.  The other 2 are both
 symlinks as expected.
 
 It has been rebooted and is still loading the old kernel.  I also
 removed the lines in the grub.conf file referring to the -92 kernel and
 it still boots to the -92 kernel. 
 
 [r...@mail ~]# rpm -qa kernel
 kernel-2.6.18-128.1.10.el5
 kernel-2.6.18-92.1.13.el5
 kernel-2.6.18-128.2.1.el5
 kernel-2.6.18-128.4.1.el5
 kernel-2.6.18-92.1.22.el5
 
 
 Eric Shubert wrote:
 Maxwell Smart wrote:
 Eric,

 Everything worked as expected.
 Glad to hear it.

 However,  I have a second mail server that I just updated and wanted
 to install all of the latest updates. It required I update the
 kernel.  I updated the kernel, but it still boots to the previous
 kernel.   How do I change the default kernel that it boots to?   
 This will allow me to update the simscan and install the Spamdyke
 making both of my servers identical.

 I know it's late, but theses look all the same to me.  How do I know
 which one is default=0?   Default=0 is the first one listed correct?
 Correct. Grub is consistently relative to zero.

 uname -a output

 Linux mail.area510.net 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52
 EDT 2008 i686 athlon i386 GNU/Linux

 grub.conf

 #boot=/dev/hda

 default=0
 timeout=5
 splashimage=(hd0,0)/boot/grub/splash.xpm.gz
 hiddenmenu
 title CentOS (2.6.18-128.4.1.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.4.1.el5.img
 title CentOS (2.6.18-128.2.1.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.2.1.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.2.1.el5.img
 title CentOS (2.6.18-128.1.10.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.1.10.el5 ro root=LABEL=/
 initrd 

Re: [qmailtoaster] Issues with SpamAssassin

2009-08-24 Thread Ronnie Tartar

Below is my spamdyke.conf file.

Thanks for your help.


[r...@mail spamdyke]# more /etc/spamdyke.conf
# Available values: allow-all, normal, require-auth, reject-all
# Default: normal
#filter-level=VALUE
# Delays the SMTP greeting banner for SECS seconds.  A value of 0 disables 
this

# feature.
# Default: 0
greeting-delay-secs=10

# Limit incoming messages to NUM recipients.  A value of 0 disables this
# feature.
# Default: 0
max-recipients=50

# Drop superuser privileges and run as USER instead.
# Default: none
#run-as-user=USER[:GROUP]


# DNS TESTS

# Reject connections from remote servers without rDNS names.
# Default: no
reject-empty-rdns

# Reject connections from servers with rDNS names that contain their IP 
address

# and end in a two-character country code.
# Default: no
#reject-ip-in-cc-rdns

# Reject messages from sender whose domain names have no MX records.
# Default: no
reject-missing-sender-mx

# Reject connections from servers with rDNS names that do not resolve to IP
# addresses.
# Default:no
reject-unresolvable-rdns


# LOGGING

# Controls the amount (and detail) of the log messages spamdyke produces.
# Available values: none, error, info, verbose, debug, excessive
# Default: error
log-level=verbose

# Controls where spamdyke's log messages are sent.
# Available values: syslog, stderr
# Default: syslog
#log-target=VALUE

# Outputs all SMTP data into files in DIR.
# Default: none
#full-log-dir=DIR


# CONFIGURATION FILES

# Configuration files can include other configuration files.
# Default: none
#config-file=FILE

# Configuration directories are very powerful but can also be very 
complicated;

# don't use them if you don't need to.
# Default: none
#config-dir=DIR

# Controls how configuration directories are searched.
# Available values: first, all-ip, all-rdns, all-sender, all-recipient
# Default: first
#config-dir-search=VALUE


# TIMEOUTS

# Close the connection after SECS seconds, regardless of activity.  A value 
of

# 0 disables this feature.
# Default: 0
#connection-timeout-secs=SECS

# Close the connection after SECS seconds of inactivity.  A value of 0 
disables

# this feature.
# Default: 0
idle-timeout-secs=660


# LOCAL BLACKLISTS

# Reject connections from IP addresses that match IPADDRESS.
# Default: none
#ip-blacklist-entry=IPADDRESS

# Reject connections from IP addresses that match entries in FILE.
# Default: none
#ip-blacklist-file=FILE

# Reject connections from rDNS names that match NAME.
# Default: none
#rdns-blacklist-entry=NAME

# Reject connections from rDNS names that match entries in FILE.
# Default: none
#rdns-blacklist-file=FILE

# Reject connections from rDNS names that match files in DIR.
# Default: none
#rdns-blacklist-dir=DIR

# Reject all messages sent to recipient ADDRESS.
# Default: none
#recipient-blacklist-entry=ADDRESS

# Reject all messages sent to any recipient address listed in FILE.
# Default: none
#recipient-blacklist-file=FILE

# Reject all messages sent from sender ADDRESS.
# Default: none
#sender-blacklist-entry=ADDRESS

# Reject all messages sent from any sender address listed in FILE.
# Default: none
#sender-blacklist-file=FILE

# Reject connections from rDNS names that contain their IP address and 
KEYWORD.

# Default: none
#ip-in-rdns-keyword-blacklist-entry=KEYWORD

# Reject connections from rDNS names that contain their IP address and a 
keyword

# in FILE.
# Default: none
#ip-in-rdns-keyword-blacklist-file=FILE


# LOCAL WHITELISTS

# Whitelist connections from IP addresses that match IPADDRESS.
# Default: none
#ip-whitelist-entry=IPADDRESS
ip-whitelist-entry=72.29.91.163
ip-whitelist-entry=72.29.91.166
ip-whitelist-entry=72.29.91.100
ip-whitelist-entry=72.29.91.74

# Whitelist connections from IP addresses that match entries in FILE.
# Default: none
#ip-whitelist-file=FILE

# Whitelist connections from rDNS names that match NAME.
# Default: none
#rdns-whitelist-entry=NAME

# Whitelist connections from rDNS names that match entries in FILE.
# Default: none
#rdns-whitelist-file=FILE

# 

Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Eric Shubert
Have you installed the -devel package for your running kernel as Justice 
suggested?


Ole N.Johansen wrote:
Just to mention it, i just upgraded the kernel to 2.6.18-128.4.1.el5xen 
Centos 5.3 no problems booting it. Autoboots in 3 seconds as default, I have

not touched the grubloader.

But I still have the same problem installing this sandbox stuff. I managed
to upgrade rest of the QMT, so it is latest now, except sandbox..
No spam folder in squirrelmail.


Error log building aufs:

local.mk:14: could not find kernel config file. internal auto-config may
fail
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.


--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Maxwell Smart
Strange indeed.

Tried remotely, no go.  I removed the server from the rack, only to find
that there was only one kernel listed in the grub menu.  I tried to edit
it pointing it to the new kernel to no avail.  It says file not found
and I had to revert back to the old kernel.  Where is the QMT grub
getting it's config from? /boot/grub/grub.conf simply can't be.

At this point I am not going to waste my time with it.  I am curious
why, but don't have time to deal with it and I'm migrating from this
server to another anyways.  The primary has updated correctly and is
current on all fronts including Spamdyke. 

I will likely set up this server as a back up or retire it as I have
enough hardware (primary and backup) up and running with my new config
to suit my current needs.

Thanks for all you help. 

CJ

Maxwell Smart wrote:
 Clean install on formatted drive.  Only QMT ISO installed.  

 It's headless so without removing it from the rack, not easily.

 I just changed the default to 1 and then 2, no change. 

 I'll either pull it out of the rack or try to reinstall grub remotely.

 Eric Shubert wrote:
   
 Very strange. Perhaps there's something else going on with that hard
 drive that we're not seeing. Any other partitions on it? Was there
 ever any other boot loader on it?

 Are/can you seeing the grub boot menu when it boots? What does it list?

 I might try reinstalling grub in the mbr, but only after I thought
 there was some reason it might fix something. This definitely sounds
 like a grub misconfiguration issue. (duh)

 Maxwell Smart wrote:
 
 The /boot/grub/grub.conf file reads the same.  The other 2 are both
 symlinks as expected.

 It has been rebooted and is still loading the old kernel.  I also
 removed the lines in the grub.conf file referring to the -92 kernel and
 it still boots to the -92 kernel.
 [r...@mail ~]# rpm -qa kernel
 kernel-2.6.18-128.1.10.el5
 kernel-2.6.18-92.1.13.el5
 kernel-2.6.18-128.2.1.el5
 kernel-2.6.18-128.4.1.el5
 kernel-2.6.18-92.1.22.el5


 Eric Shubert wrote:
   
 Maxwell Smart wrote:
 
 Eric,

 Everything worked as expected.
   
 Glad to hear it.

 
 However,  I have a second mail server that I just updated and wanted
 to install all of the latest updates. It required I update the
 kernel.  I updated the kernel, but it still boots to the previous
 kernel.   How do I change the default kernel that it boots to?  
 This will allow me to update the simscan and install the Spamdyke
 making both of my servers identical.

 I know it's late, but theses look all the same to me.  How do I know
 which one is default=0?   Default=0 is the first one listed correct?
   
 Correct. Grub is consistently relative to zero.

 
 uname -a output

 Linux mail.area510.net 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52
 EDT 2008 i686 athlon i386 GNU/Linux

 grub.conf

 #boot=/dev/hda

 default=0
 timeout=5
 splashimage=(hd0,0)/boot/grub/splash.xpm.gz
 hiddenmenu
 title CentOS (2.6.18-128.4.1.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.4.1.el5.img
 title CentOS (2.6.18-128.2.1.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.2.1.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.2.1.el5.img
 title CentOS (2.6.18-128.1.10.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.1.10.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.1.10.el5.img
 title CentOS (2.6.18-92.1.22.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-92.1.22.el5.img
 title Sonia (2.6.18-92.1.13.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-92.1.13.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-92.1.13.el5.img
   
 That looks correct to me. If your system has been rebooted and it's
 still rebooting to 2.6.18-92.1.13 (the oldest kernel in the list btw),
 then grub isn't using this grub.conf file. My guess would be that one
 of your symlinks is a normal file instead of a symlink, which is
 preventing grub from seeing this file.

 A normal CentOS5 configuration will have:
 [r...@doris ~]# ls -l /etc/grub.conf
 lrwxrwxrwx 1 root root 22 May 30  2008 /etc/grub.conf -
 ../boot/grub/grub.conf
 [r...@doris ~]# ls -l /boot/grub/menu.lst
 lrwxrwxrwx 1 root root 11 May 30  2008 /boot/grub/menu.lst -
 ./grub.conf
 [r...@doris ~]# ls -l /boot/grub/grub.conf
 -rw--- 1 root root 1138 Aug  3 15:48 /boot/grub/grub.conf

 The /boot/grub/grub.conf file is the real file. If one of the other 2
 is a file instead of a symlink pointing to the real file, there is
 your problem. Be careful when you fix it that you don't lose the
 updated configuration.

 
 Eric Shubert wrote:
   
 Maxwell Smart wrote:
 
 Perfect.

 If I use the qmailtoaster-plus to install Spamdyke, do the default
 config settings work for starters?
   
 Yes. (that's why they're the default)


Re: [qmailtoaster] Issues with SpamAssassin

2009-08-24 Thread Eric Shubert

Hey Ronnie,

You'd've made both our lives a bit simpler if you'd've used 
qtp-install-spamdyke to install spamdyke on your system.


Your configuration file looks fine to me, except I don't think you need 
both zen.spamhaus.org and xbl.spamhaus.org. I believe that the former 
includes the later. You might want to look into that.


It'd a little hard to see what's really going on in there amongst all 
the comments!


On 2nd look at your smtp/run file, I see that you're still running 
rblsmtpd. That's certainly redundant (spamdyke's doing this as well, and 
more efficiently), and could be causing your problem, but I'm not sure 
on that.


I'm not certain about the FILTER_ messages you're seeing. I don't know 
what to expect with your log-level=verbose (qtp-install-spamdyke starts 
with log-level=info). The documentation isn't real clear on that.


Are the emails that correspond to the FILTER_ messages you're seeing 
being accepted or rejected? It's a little hard to tell since you have 
log messages going to syslog instead of stderr.


Having a custom spamdyke configuration is making things difficult to 
diagnose. :(



Ronnie Tartar wrote:

Below is my spamdyke.conf file.

Thanks for your help.


[r...@mail spamdyke]# more /etc/spamdyke.conf
# Available values: allow-all, normal, require-auth, reject-all
# Default: normal
#filter-level=VALUE
# Delays the SMTP greeting banner for SECS seconds.  A value of 0 
disables this

# feature.
# Default: 0
greeting-delay-secs=10

# Limit incoming messages to NUM recipients.  A value of 0 disables this
# feature.
# Default: 0
max-recipients=50

# Drop superuser privileges and run as USER instead.
# Default: none
#run-as-user=USER[:GROUP]

 


# DNS TESTS
 


# Reject connections from remote servers without rDNS names.
# Default: no
reject-empty-rdns

# Reject connections from servers with rDNS names that contain their IP 
address

# and end in a two-character country code.
# Default: no
#reject-ip-in-cc-rdns

# Reject messages from sender whose domain names have no MX records.
# Default: no
reject-missing-sender-mx

# Reject connections from servers with rDNS names that do not resolve to IP
# addresses.
# Default:no
reject-unresolvable-rdns

 


# LOGGING
 


# Controls the amount (and detail) of the log messages spamdyke produces.
# Available values: none, error, info, verbose, debug, excessive
# Default: error
log-level=verbose

# Controls where spamdyke's log messages are sent.
# Available values: syslog, stderr
# Default: syslog
#log-target=VALUE

# Outputs all SMTP data into files in DIR.
# Default: none
#full-log-dir=DIR

 


# CONFIGURATION FILES
 


# Configuration files can include other configuration files.
# Default: none
#config-file=FILE

# Configuration directories are very powerful but can also be very 
complicated;

# don't use them if you don't need to.
# Default: none
#config-dir=DIR

# Controls how configuration directories are searched.
# Available values: first, all-ip, all-rdns, all-sender, all-recipient
# Default: first
#config-dir-search=VALUE

 


# TIMEOUTS
 

# Close the connection after SECS seconds, regardless of activity.  A 
value of

# 0 disables this feature.
# Default: 0
#connection-timeout-secs=SECS

# Close the connection after SECS seconds of inactivity.  A value of 0 
disables

# this feature.
# Default: 0
idle-timeout-secs=660

 


# LOCAL BLACKLISTS
 


# Reject connections from IP addresses that match IPADDRESS.
# Default: none
#ip-blacklist-entry=IPADDRESS

# Reject connections from IP addresses that match entries in FILE.
# Default: none
#ip-blacklist-file=FILE

# Reject connections from rDNS names that match NAME.
# Default: none
#rdns-blacklist-entry=NAME

# Reject connections from rDNS names that match entries in FILE.
# Default: none
#rdns-blacklist-file=FILE

# Reject connections from rDNS names that match files in DIR.
# Default: none
#rdns-blacklist-dir=DIR

# Reject all messages sent to recipient ADDRESS.
# Default: none
#recipient-blacklist-entry=ADDRESS

# Reject all messages sent to any recipient address listed in FILE.
# Default: none
#recipient-blacklist-file=FILE

# Reject all messages sent from sender ADDRESS.
# Default: none

Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Eric Shubert

I wonder if there isn't a separate boot partition that's not being mounted.

Maxwell Smart wrote:

Strange indeed.

Tried remotely, no go.  I removed the server from the rack, only to find
that there was only one kernel listed in the grub menu.  I tried to edit
it pointing it to the new kernel to no avail.  It says file not found
and I had to revert back to the old kernel.  Where is the QMT grub
getting it's config from? /boot/grub/grub.conf simply can't be.

At this point I am not going to waste my time with it.  I am curious
why, but don't have time to deal with it and I'm migrating from this
server to another anyways.  The primary has updated correctly and is
current on all fronts including Spamdyke. 


I will likely set up this server as a back up or retire it as I have
enough hardware (primary and backup) up and running with my new config
to suit my current needs.

Thanks for all you help. 


CJ

Maxwell Smart wrote:
Clean install on formatted drive.  Only QMT ISO installed.  


It's headless so without removing it from the rack, not easily.

I just changed the default to 1 and then 2, no change. 


I'll either pull it out of the rack or try to reinstall grub remotely.

Eric Shubert wrote:
  

Very strange. Perhaps there's something else going on with that hard
drive that we're not seeing. Any other partitions on it? Was there
ever any other boot loader on it?

Are/can you seeing the grub boot menu when it boots? What does it list?

I might try reinstalling grub in the mbr, but only after I thought
there was some reason it might fix something. This definitely sounds
like a grub misconfiguration issue. (duh)

Maxwell Smart wrote:


The /boot/grub/grub.conf file reads the same.  The other 2 are both
symlinks as expected.

It has been rebooted and is still loading the old kernel.  I also
removed the lines in the grub.conf file referring to the -92 kernel and
it still boots to the -92 kernel.
[r...@mail ~]# rpm -qa kernel
kernel-2.6.18-128.1.10.el5
kernel-2.6.18-92.1.13.el5
kernel-2.6.18-128.2.1.el5
kernel-2.6.18-128.4.1.el5
kernel-2.6.18-92.1.22.el5


Eric Shubert wrote:
  

Maxwell Smart wrote:


Eric,

Everything worked as expected.
  

Glad to hear it.



However,  I have a second mail server that I just updated and wanted
to install all of the latest updates. It required I update the
kernel.  I updated the kernel, but it still boots to the previous
kernel.   How do I change the default kernel that it boots to?  
This will allow me to update the simscan and install the Spamdyke

making both of my servers identical.

I know it's late, but theses look all the same to me.  How do I know
which one is default=0?   Default=0 is the first one listed correct?
  

Correct. Grub is consistently relative to zero.



uname -a output

Linux mail.area510.net 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52
EDT 2008 i686 athlon i386 GNU/Linux

grub.conf

#boot=/dev/hda

default=0
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.4.1.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.4.1.el5.img
title CentOS (2.6.18-128.2.1.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.2.1.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.2.1.el5.img
title CentOS (2.6.18-128.1.10.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-128.1.10.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-128.1.10.el5.img
title CentOS (2.6.18-92.1.22.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-92.1.22.el5.img
title Sonia (2.6.18-92.1.13.el5)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.13.el5 ro root=LABEL=/
initrd /boot/initrd-2.6.18-92.1.13.el5.img
  

That looks correct to me. If your system has been rebooted and it's
still rebooting to 2.6.18-92.1.13 (the oldest kernel in the list btw),
then grub isn't using this grub.conf file. My guess would be that one
of your symlinks is a normal file instead of a symlink, which is
preventing grub from seeing this file.

A normal CentOS5 configuration will have:
[r...@doris ~]# ls -l /etc/grub.conf
lrwxrwxrwx 1 root root 22 May 30  2008 /etc/grub.conf -
../boot/grub/grub.conf
[r...@doris ~]# ls -l /boot/grub/menu.lst
lrwxrwxrwx 1 root root 11 May 30  2008 /boot/grub/menu.lst -
./grub.conf
[r...@doris ~]# ls -l /boot/grub/grub.conf
-rw--- 1 root root 1138 Aug  3 15:48 /boot/grub/grub.conf

The /boot/grub/grub.conf file is the real file. If one of the other 2
is a file instead of a symlink pointing to the real file, there is
your problem. Be careful when you fix it that you don't lose the
updated configuration.



Eric Shubert wrote:
  

Maxwell Smart wrote:


Perfect.

If I use the qmailtoaster-plus to install Spamdyke, do the default
config settings work for starters?
  

Yes. (that's why they're the 

Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Eric Shubert
Is that the right package? Is there a different devel package for the 
xen kernel?


Ole N.Johansen wrote:

Yes,

Installed Packages
Name   : kernel-devel
Arch   : i686
Version: 2.6.18
Release: 128.4.1.el5
Size   : 15 M
Repo   : installed
Summary: Development package for building kernel modules to match the
kernel.

Also rebooted the box just incase, same error

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: 24. august 2009 21:38
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Email tagged as SPAM - automatically move to
spam folder

Have you installed the -devel package for your running kernel as Justice 
suggested?


Ole N.Johansen wrote:
Just to mention it, i just upgraded the kernel to 2.6.18-128.4.1.el5xen 
Centos 5.3 no problems booting it. Autoboots in 3 seconds as default, I

have

not touched the grubloader.

But I still have the same problem installing this sandbox stuff. I managed
to upgrade rest of the QMT, so it is latest now, except sandbox..
No spam folder in squirrelmail.


Error log building aufs:

local.mk:14: could not find kernel config file. internal auto-config may
fail
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.





--
-Eric 'shubes'


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Maxwell Smart
I didn't partition it that way.  It's a default QMT install with a
mirrored drive.

Eric Shubert wrote:
 I wonder if there isn't a separate boot partition that's not being
 mounted.

 Maxwell Smart wrote:
 Strange indeed.

 Tried remotely, no go.  I removed the server from the rack, only to find
 that there was only one kernel listed in the grub menu.  I tried to edit
 it pointing it to the new kernel to no avail.  It says file not found
 and I had to revert back to the old kernel.  Where is the QMT grub
 getting it's config from? /boot/grub/grub.conf simply can't be.

 At this point I am not going to waste my time with it.  I am curious
 why, but don't have time to deal with it and I'm migrating from this
 server to another anyways.  The primary has updated correctly and is
 current on all fronts including Spamdyke.
 I will likely set up this server as a back up or retire it as I have
 enough hardware (primary and backup) up and running with my new config
 to suit my current needs.

 Thanks for all you help.
 CJ

 Maxwell Smart wrote:
 Clean install on formatted drive.  Only QMT ISO installed. 
 It's headless so without removing it from the rack, not easily.

 I just changed the default to 1 and then 2, no change.
 I'll either pull it out of the rack or try to reinstall grub remotely.

 Eric Shubert wrote:
  
 Very strange. Perhaps there's something else going on with that hard
 drive that we're not seeing. Any other partitions on it? Was there
 ever any other boot loader on it?

 Are/can you seeing the grub boot menu when it boots? What does it
 list?

 I might try reinstalling grub in the mbr, but only after I thought
 there was some reason it might fix something. This definitely sounds
 like a grub misconfiguration issue. (duh)

 Maxwell Smart wrote:

 The /boot/grub/grub.conf file reads the same.  The other 2 are both
 symlinks as expected.

 It has been rebooted and is still loading the old kernel.  I also
 removed the lines in the grub.conf file referring to the -92
 kernel and
 it still boots to the -92 kernel.
 [r...@mail ~]# rpm -qa kernel
 kernel-2.6.18-128.1.10.el5
 kernel-2.6.18-92.1.13.el5
 kernel-2.6.18-128.2.1.el5
 kernel-2.6.18-128.4.1.el5
 kernel-2.6.18-92.1.22.el5


 Eric Shubert wrote:
  
 Maxwell Smart wrote:

 Eric,

 Everything worked as expected.
   
 Glad to hear it.


 However,  I have a second mail server that I just updated and
 wanted
 to install all of the latest updates. It required I update the
 kernel.  I updated the kernel, but it still boots to the previous
 kernel.   How do I change the default kernel that it boots to? 
 This will allow me to update the simscan and install the Spamdyke
 making both of my servers identical.

 I know it's late, but theses look all the same to me.  How do I
 know
 which one is default=0?   Default=0 is the first one listed
 correct?
   
 Correct. Grub is consistently relative to zero.


 uname -a output

 Linux mail.area510.net 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24
 19:33:52
 EDT 2008 i686 athlon i386 GNU/Linux

 grub.conf

 #boot=/dev/hda

 default=0
 timeout=5
 splashimage=(hd0,0)/boot/grub/splash.xpm.gz
 hiddenmenu
 title CentOS (2.6.18-128.4.1.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.4.1.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.4.1.el5.img
 title CentOS (2.6.18-128.2.1.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.2.1.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.2.1.el5.img
 title CentOS (2.6.18-128.1.10.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-128.1.10.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-128.1.10.el5.img
 title CentOS (2.6.18-92.1.22.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-92.1.22.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-92.1.22.el5.img
 title Sonia (2.6.18-92.1.13.el5)
 root (hd0,0)
 kernel /boot/vmlinuz-2.6.18-92.1.13.el5 ro root=LABEL=/
 initrd /boot/initrd-2.6.18-92.1.13.el5.img
   
 That looks correct to me. If your system has been rebooted and it's
 still rebooting to 2.6.18-92.1.13 (the oldest kernel in the list
 btw),
 then grub isn't using this grub.conf file. My guess would be that
 one
 of your symlinks is a normal file instead of a symlink, which is
 preventing grub from seeing this file.

 A normal CentOS5 configuration will have:
 [r...@doris ~]# ls -l /etc/grub.conf
 lrwxrwxrwx 1 root root 22 May 30  2008 /etc/grub.conf -
 ../boot/grub/grub.conf
 [r...@doris ~]# ls -l /boot/grub/menu.lst
 lrwxrwxrwx 1 root root 11 May 30  2008 /boot/grub/menu.lst -
 ./grub.conf
 [r...@doris ~]# ls -l /boot/grub/grub.conf
 -rw--- 1 root root 1138 Aug  3 15:48 /boot/grub/grub.conf

 The /boot/grub/grub.conf file is the real file. If one of the
 other 2
 is a file instead of a symlink pointing to the real file, there is
 your problem. Be careful when you fix it that you don't lose the
 updated configuration.


 Eric Shubert wrote:
  
 

Re: [qmailtoaster] Issues with SpamAssassin

2009-08-24 Thread Ronnie Tartar

I think there may be other issues?

When I telnet to mail.host2max.com 25 I get an instant response when it 
should be waiting for 10 seconds to display the banner.


- Original Message - 
From: Eric Shubert e...@shubes.net

To: qmailtoaster-list@qmailtoaster.com
Sent: Monday, August 24, 2009 4:24 PM
Subject: Re: [qmailtoaster] Issues with SpamAssassin



Hey Ronnie,

You'd've made both our lives a bit simpler if you'd've used 
qtp-install-spamdyke to install spamdyke on your system.


Your configuration file looks fine to me, except I don't think you need 
both zen.spamhaus.org and xbl.spamhaus.org. I believe that the former 
includes the later. You might want to look into that.


It'd a little hard to see what's really going on in there amongst all the 
comments!


On 2nd look at your smtp/run file, I see that you're still running 
rblsmtpd. That's certainly redundant (spamdyke's doing this as well, and 
more efficiently), and could be causing your problem, but I'm not sure on 
that.


I'm not certain about the FILTER_ messages you're seeing. I don't know 
what to expect with your log-level=verbose (qtp-install-spamdyke starts 
with log-level=info). The documentation isn't real clear on that.


Are the emails that correspond to the FILTER_ messages you're seeing being 
accepted or rejected? It's a little hard to tell since you have log 
messages going to syslog instead of stderr.


Having a custom spamdyke configuration is making things difficult to 
diagnose. :(



Ronnie Tartar wrote:

Below is my spamdyke.conf file.

Thanks for your help.


[r...@mail spamdyke]# more /etc/spamdyke.conf
# Available values: allow-all, normal, require-auth, reject-all
# Default: normal
#filter-level=VALUE
# Delays the SMTP greeting banner for SECS seconds.  A value of 0 
disables this

# feature.
# Default: 0
greeting-delay-secs=10

# Limit incoming messages to NUM recipients.  A value of 0 disables this
# feature.
# Default: 0
max-recipients=50

# Drop superuser privileges and run as USER instead.
# Default: none
#run-as-user=USER[:GROUP]

 
# DNS TESTS
 
# Reject connections from remote servers without rDNS names.

# Default: no
reject-empty-rdns

# Reject connections from servers with rDNS names that contain their IP 
address

# and end in a two-character country code.
# Default: no
#reject-ip-in-cc-rdns

# Reject messages from sender whose domain names have no MX records.
# Default: no
reject-missing-sender-mx

# Reject connections from servers with rDNS names that do not resolve to 
IP

# addresses.
# Default:no
reject-unresolvable-rdns

 
# LOGGING
 
# Controls the amount (and detail) of the log messages spamdyke produces.

# Available values: none, error, info, verbose, debug, excessive
# Default: error
log-level=verbose

# Controls where spamdyke's log messages are sent.
# Available values: syslog, stderr
# Default: syslog
#log-target=VALUE

# Outputs all SMTP data into files in DIR.
# Default: none
#full-log-dir=DIR

 
# CONFIGURATION FILES
 
# Configuration files can include other configuration files.

# Default: none
#config-file=FILE

# Configuration directories are very powerful but can also be very 
complicated;

# don't use them if you don't need to.
# Default: none
#config-dir=DIR

# Controls how configuration directories are searched.
# Available values: first, all-ip, all-rdns, all-sender, all-recipient
# Default: first
#config-dir-search=VALUE

 
# TIMEOUTS
 
# Close the connection after SECS seconds, regardless of activity.  A 
value of

# 0 disables this feature.
# Default: 0
#connection-timeout-secs=SECS

# Close the connection after SECS seconds of inactivity.  A value of 0 
disables

# this feature.
# Default: 0
idle-timeout-secs=660

 
# LOCAL BLACKLISTS
 
# Reject connections from IP addresses that match IPADDRESS.

# Default: none
#ip-blacklist-entry=IPADDRESS

# Reject connections from IP addresses that match entries in FILE.
# Default: none
#ip-blacklist-file=FILE

# Reject connections from rDNS names that match NAME.
# Default: none
#rdns-blacklist-entry=NAME

# Reject connections from rDNS names that match entries in FILE.
# Default: none
#rdns-blacklist-file=FILE

# Reject connections from rDNS 

Re: [qmailtoaster] Issues with SpamAssassin

2009-08-24 Thread Eric Shubert

Ronnie Tartar wrote:

I think there may be other issues?


Sure looks that way.

When I telnet to mail.host2max.com 25 I get an instant response when it 
should be waiting for 10 seconds to display the banner.


Sorta 'feels' to me like spamdyke's running either in some sort of test 
mode, or not at all. I don't see where that's going on though.


Have you fixed up your smtp/run file to get rid of rblsmtpd?


- Original Message - From: Eric Shubert e...@shubes.net
To: qmailtoaster-list@qmailtoaster.com
Sent: Monday, August 24, 2009 4:24 PM
Subject: Re: [qmailtoaster] Issues with SpamAssassin



Hey Ronnie,

You'd've made both our lives a bit simpler if you'd've used 
qtp-install-spamdyke to install spamdyke on your system.


Your configuration file looks fine to me, except I don't think you 
need both zen.spamhaus.org and xbl.spamhaus.org. I believe that the 
former includes the later. You might want to look into that.


It'd a little hard to see what's really going on in there amongst all 
the comments!


On 2nd look at your smtp/run file, I see that you're still running 
rblsmtpd. That's certainly redundant (spamdyke's doing this as well, 
and more efficiently), and could be causing your problem, but I'm not 
sure on that.


I'm not certain about the FILTER_ messages you're seeing. I don't know 
what to expect with your log-level=verbose (qtp-install-spamdyke 
starts with log-level=info). The documentation isn't real clear on that.


Are the emails that correspond to the FILTER_ messages you're seeing 
being accepted or rejected? It's a little hard to tell since you have 
log messages going to syslog instead of stderr.


Having a custom spamdyke configuration is making things difficult to 
diagnose. :(



Ronnie Tartar wrote:

Below is my spamdyke.conf file.

Thanks for your help.


[r...@mail spamdyke]# more /etc/spamdyke.conf
# Available values: allow-all, normal, require-auth, reject-all
# Default: normal
#filter-level=VALUE
# Delays the SMTP greeting banner for SECS seconds.  A value of 0 
disables this

# feature.
# Default: 0
greeting-delay-secs=10

# Limit incoming messages to NUM recipients.  A value of 0 disables this
# feature.
# Default: 0
max-recipients=50

# Drop superuser privileges and run as USER instead.
# Default: none
#run-as-user=USER[:GROUP]

 
# DNS TESTS
 
# Reject connections from remote servers without rDNS names.

# Default: no
reject-empty-rdns

# Reject connections from servers with rDNS names that contain their 
IP address

# and end in a two-character country code.
# Default: no
#reject-ip-in-cc-rdns

# Reject messages from sender whose domain names have no MX records.
# Default: no
reject-missing-sender-mx

# Reject connections from servers with rDNS names that do not resolve 
to IP

# addresses.
# Default:no
reject-unresolvable-rdns

 
# LOGGING
 
# Controls the amount (and detail) of the log messages spamdyke 
produces.

# Available values: none, error, info, verbose, debug, excessive
# Default: error
log-level=verbose

# Controls where spamdyke's log messages are sent.
# Available values: syslog, stderr
# Default: syslog
#log-target=VALUE

# Outputs all SMTP data into files in DIR.
# Default: none
#full-log-dir=DIR

 
# CONFIGURATION FILES
 
# Configuration files can include other configuration files.

# Default: none
#config-file=FILE

# Configuration directories are very powerful but can also be very 
complicated;

# don't use them if you don't need to.
# Default: none
#config-dir=DIR

# Controls how configuration directories are searched.
# Available values: first, all-ip, all-rdns, all-sender, all-recipient
# Default: first
#config-dir-search=VALUE

 
# TIMEOUTS
 
# Close the connection after SECS seconds, regardless of activity.  A 
value of

# 0 disables this feature.
# Default: 0
#connection-timeout-secs=SECS

# Close the connection after SECS seconds of inactivity.  A value of 
0 disables

# this feature.
# Default: 0
idle-timeout-secs=660

 
# LOCAL BLACKLISTS
 
# Reject connections from IP addresses that match IPADDRESS.

# Default: none
#ip-blacklist-entry=IPADDRESS

# Reject connections from IP addresses that match entries in FILE.
# Default: none

RE: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Ole N.Johansen
Not sure what you are trying to tell me here..


-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: 24. august 2009 22:28
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Email tagged as SPAM - automatically move to
spam folder

Is that the right package? Is there a different devel package for the 
xen kernel?

Ole N.Johansen wrote:
 Yes,
 
 Installed Packages
 Name   : kernel-devel
 Arch   : i686
 Version: 2.6.18
 Release: 128.4.1.el5
 Size   : 15 M
 Repo   : installed
 Summary: Development package for building kernel modules to match the
 kernel.
 
 Also rebooted the box just incase, same error
 
 -Original Message-
 From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
 Sent: 24. august 2009 21:38
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] Email tagged as SPAM - automatically move to
 spam folder
 
 Have you installed the -devel package for your running kernel as Justice 
 suggested?
 
 Ole N.Johansen wrote:
 Just to mention it, i just upgraded the kernel to 2.6.18-128.4.1.el5xen 
 Centos 5.3 no problems booting it. Autoboots in 3 seconds as default, I
 have
 not touched the grubloader.

 But I still have the same problem installing this sandbox stuff. I
managed
 to upgrade rest of the QMT, so it is latest now, except sandbox..
 No spam folder in squirrelmail.


 Error log building aufs:

 local.mk:14: could not find kernel config file. internal auto-config may
 fail
 make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
 directory.  Stop.
 


-- 
-Eric 'shubes'



-
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!

-
 Please visit qmailtoaster.com for the latest news, updates, and
packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail:
qmailtoaster-list-h...@qmailtoaster.com





-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
  If you need professional help with your setup, contact them today!
-
 Please visit qmailtoaster.com for the latest news, updates, and packages.
 
  To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
 For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




[qmailtoaster] qtp-backup as root

2009-08-24 Thread Sharon McNeal


Hello List,

We have been unable to alter the script correctly
in qtp-backup so it will backup the mysql vpopmail database as the user
root with our root password.

We have tried making some changes
to the following files, but have not gotten everything right because it
still is not working:

/usr/sbin/qtp-config
 /usr/sbin/qtp-backup
 /opt/qmailtoaster-plus/bin/qtp-config
 /opt/qmailtoaster-plus/bin/qtp-backup
    /home/vpopmail/etc/vpopmail.mysql

Can
someone please tell us specifically which file(s) we need to change and
specifically which lines to change (with an example of what we should
change it to) so it will not prompt for the vpopmail user password but use
the specified root password?

Also, we would like to have it
back up automatically each day. Do we just need to add the following line
in our /etc/crontab file to make it run at 4 am each day:

*4 *
* * root /usr/sbin/qtp-backup
 
Thank you in advance


Re: [qmailtoaster] Email tagged as SPAM - automatically move to spam folder

2009-08-24 Thread Eric Shubert

Did you miss Justice's post?:

Yeah, it doesn't account for kernel-xen so if kernel-xen is being used a
'yum install kernel-xen-devel' or kernel-xen-headers needs to be run.
/

You might try
# yum search kernel-xen
to see what's available.

--
-Eric 'shubes'

Ole N.Johansen wrote:

Not sure what you are trying to tell me here..


-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: 24. august 2009 22:28
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Email tagged as SPAM - automatically move to
spam folder

Is that the right package? Is there a different devel package for the 
xen kernel?


Ole N.Johansen wrote:

Yes,

Installed Packages
Name   : kernel-devel
Arch   : i686
Version: 2.6.18
Release: 128.4.1.el5
Size   : 15 M
Repo   : installed
Summary: Development package for building kernel modules to match the
kernel.

Also rebooted the box just incase, same error

-Original Message-
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric Shubert
Sent: 24. august 2009 21:38
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Email tagged as SPAM - automatically move to
spam folder

Have you installed the -devel package for your running kernel as Justice 
suggested?


Ole N.Johansen wrote:
Just to mention it, i just upgraded the kernel to 2.6.18-128.4.1.el5xen 
Centos 5.3 no problems booting it. Autoboots in 3 seconds as default, I

have

not touched the grubloader.

But I still have the same problem installing this sandbox stuff. I

managed

to upgrade rest of the QMT, so it is latest now, except sandbox..
No spam folder in squirrelmail.


Error log building aufs:

local.mk:14: could not find kernel config file. internal auto-config may
fail
make: *** /lib/modules/2.6.18-128.4.1.el5xen/build: No such file or
directory.  Stop.






-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




Re: [qmailtoaster] qtp-backup as root

2009-08-24 Thread Jake Vickers

Sharon McNeal wrote:

Hello List,

We have been unable to alter the script correctly in qtp-backup so it 
will backup the mysql vpopmail database as the user root with our root 
password.


We have tried making some changes to the following files, but have not 
gotten everything right because it still is not working:

 /usr/sbin/qtp-config
 /usr/sbin/qtp-backup
 /opt/qmailtoaster-plus/bin/qtp-config
 /opt/qmailtoaster-plus/bin/qtp-backup
/home/vpopmail/etc/vpopmail.mysql

Can someone please tell us specifically which file(s) we need to 
change and specifically which lines to change (with an example of what 
we should change it to) so it will not prompt for the vpopmail user 
password but use the specified root password?


Also, we would like to have it back up automatically each day. Do we 
just need to add the following line in our /etc/crontab file to make 
it run at 4 am each day:


*4 * * * root /usr/sbin/qtp-backup
 
Thank you in advance 


It should not ask for the password. It will read it from 
/home/vpopmail/etc/vpopmail.mysql
You need to run the script as the root user so that it can read the data 
from the file.
If you are still having problems you can edit the 
/opt/qmailtoaster-plus/bin/qtp-backup file, and change these lines:

# MYSQL variables
mysqlfile=/home/vpopmail/etc/vpopmail.mysql;
mysqlhost=`cut -d\| -f1  $mysqlfile`;
mysqlport=`cut -d\| -f2  $mysqlfile`;
mysqluser=`cut -d\| -f3  $mysqlfile`;
mysqlpswd=`cut -d\| -f4  $mysqlfile`;
mysqldb=`cut -d\| -f5  $mysqlfile`;

Just change mysqlhost to mysqlhost=localhost
mysqluser to mysqluser=root
mysqlpswd to mysqlpswd=password
mysqldb to mysqldb=vpopmail


-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com