[qmailtoaster] spamdyke configuration

2011-02-16 Thread Hajid.R
Any body can share with me how to config spamdyke at opensuse 11.3

 

#!/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

SMTPD=/var/qmail/bin/qmail-smtpd

TCP_CDB=/etc/tcprules.d/tcp.smtp.cdb

HOSTNAME=`hostname`

VCHKPW=/home/vpopmail/bin/vchkpw

 

REQUIRE_AUTH=0

 

exec /usr/bin/softlimit -m 2000 \

/usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c $MAXSMTPD \

-u $QMAILDUID -g $NOFILESGID 0 smtp \

$SPAMDYKE  $SMTPD $VCHKPW /bin/true 21

 

 

Spamdyke.conf

 

dns-blacklist-entry=zen.spamhaus.org

dns-blacklist-entry=bl.spamcop.net

graylist-dir=/var/spamdyke/graylist

graylist-level=always

graylist-max-secs=2678400

graylist-min-secs=180

greeting-delay-secs=2

idle-timeout-secs=60

ip-blacklist-file=/etc/spamdyke/blacklist_ip

ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords

ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords

ip-whitelist-file=/etc/spamdyke/whitelist_ip

local-domains-file=/var/qmail/control/rcpthosts

log-level=info

log-target=stderr

max-recipients=50

rdns-blacklist-file=/etc/spamdyke/blacklist_rdns

rdns-blacklist-dir=/etc/spamdyke/blacklist_rdns.d

rdns-whitelist-file=/etc/spamdyke/whitelist_rdns

recipient-blacklist-file=/etc/spamdyke/blacklist_recipients

recipient-whitelist-file=/etc/spamdyke/whitelist_recipients

reject-empty-rdns

reject-ip-in-cc-rdns

reject-unresolvable-rdns

reject-missing-sender-mx

sender-blacklist-file=/etc/spamdyke/blacklist_senders

sender-whitelist-file=/etc/spamdyke/whitelist_senders

tls-certificate-file=/var/qmail/control/servercert.pem

config-dir=/etc/spamdyke/spamdyke.d

 

my qmailtoaster error with this config.



RE: [qmailtoaster] spamdyke configuration

2011-02-16 Thread Hajid.R
After I check it error with keyword dns, unknown configuration option in
file /etc/spamdyke.conf

 

rdns-blacklist-file=/etc/spamdyke/blacklist_rdns

rdns-blacklist-dir=/etc/spamdyke/blacklist_rdns.d

rdns-whitelist-file=/etc/spamdyke/whitelist_rdns

rdns-blacklist-file=/etc/spamdyke/blacklist_rdns

rdns-blacklist-dir=/etc/spamdyke/blacklist_rdns.d

rdns-whitelist-file=/etc/spamdyke/whitelist_rdns

reject-empty-rdns

reject-ip-in-cc-rdns

reject-unresolvable-rdns

 

any body can help me.

 

 

 

From: Hajid.R [mailto:ha...@masolusi.com] 
Sent: Wednesday, February 16, 2011 3:07 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] spamdyke configuration

 

Any body can share with me how to config spamdyke at opensuse 11.3

 

#!/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

SMTPD=/var/qmail/bin/qmail-smtpd

TCP_CDB=/etc/tcprules.d/tcp.smtp.cdb

HOSTNAME=`hostname`

VCHKPW=/home/vpopmail/bin/vchkpw

 

REQUIRE_AUTH=0

 

exec /usr/bin/softlimit -m 2000 \

/usr/bin/tcpserver -v -R -H -l $HOSTNAME -x $TCP_CDB -c $MAXSMTPD \

-u $QMAILDUID -g $NOFILESGID 0 smtp \

$SPAMDYKE  $SMTPD $VCHKPW /bin/true 21

 

 

Spamdyke.conf

 

dns-blacklist-entry=zen.spamhaus.org

dns-blacklist-entry=bl.spamcop.net

graylist-dir=/var/spamdyke/graylist

graylist-level=always

graylist-max-secs=2678400

graylist-min-secs=180

greeting-delay-secs=2

idle-timeout-secs=60

ip-blacklist-file=/etc/spamdyke/blacklist_ip

ip-in-rdns-keyword-blacklist-file=/etc/spamdyke/blacklist_keywords

ip-in-rdns-keyword-whitelist-file=/etc/spamdyke/whitelist_keywords

ip-whitelist-file=/etc/spamdyke/whitelist_ip

local-domains-file=/var/qmail/control/rcpthosts

log-level=info

log-target=stderr

max-recipients=50

rdns-blacklist-file=/etc/spamdyke/blacklist_rdns

rdns-blacklist-dir=/etc/spamdyke/blacklist_rdns.d

rdns-whitelist-file=/etc/spamdyke/whitelist_rdns

recipient-blacklist-file=/etc/spamdyke/blacklist_recipients

recipient-whitelist-file=/etc/spamdyke/whitelist_recipients

reject-empty-rdns

reject-ip-in-cc-rdns

reject-unresolvable-rdns

reject-missing-sender-mx

sender-blacklist-file=/etc/spamdyke/blacklist_senders

sender-whitelist-file=/etc/spamdyke/whitelist_senders

tls-certificate-file=/var/qmail/control/servercert.pem

config-dir=/etc/spamdyke/spamdyke.d

 

my qmailtoaster error with this config.



Re: [qmailtoaster] spamdyke configuration

2011-02-16 Thread P.V.Anthony

On 2/16/2011 5:17 PM, Hajid.R wrote:

After I check it error with keyword dns, unknown configuration option in
file /etc/spamdyke.conf


Try changing the log level to something more verbose.

log-level=debug

That might give more clues on which config line is the problem.

P.V.Anthony

-
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] Re: spamdyke configuration

2011-02-16 Thread Eric Shubert

On 02/16/2011 02:30 AM, P.V.Anthony wrote:

On 2/16/2011 5:17 PM, Hajid.R wrote:

After I check it error with keyword dns, unknown configuration option in
file /etc/spamdyke.conf


Try changing the log level to something more verbose.

log-level=debug

That might give more clues on which config line is the problem.

P.V.Anthony

-



Or, run spamdyke with the test-config option.

I wonder if perhaps you have cr characters in there from editing it on 
windoze? Running dos2unix on the config file will clean that up.


--
-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] Praise: excellent upgrade tools

2011-02-16 Thread Brent Gardner
I just finished upgrading 3 toasters.  I have QmailToaster-Plus installed. 

I hadn't updated these boxes for about 2 years.  I was running an older 
version of ClamAV (0.95.2) which choked on a recent definitions update 
resulting in several hours of no incoming mail.  I decided it was time 
to bite the bullet and get ClamAV updated.


I was a bit apprehensive because I've never updated via the qtp scripts 
before, but it really was as easy as:


yum update qmailtoaster-plus
qtp-newmodel
(reboot)
qtp-install-spamdyke


Now I'm up and running with the latest version of all packages including 
spamdyke, and I didn't have to tweak anything after the update.  To all 
involved with QmailToaster and QmailToaster-Plus- Bravo.  Really great job.


The reboot was to clear up the locks on some ClamAv db files.  Otherwise 
FreshClam wouldn't run.



Brent Gardner



-
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] Praise: excellent upgrade tools

2011-02-16 Thread Helmut Fritz
I agree.  The toaster is a life saver.

Remember to restart qmail processes after installing spamdyke.

I think now that you have seen the tools, you should not be wary of updating
more often.  You can build a new toaster in the sandbox, and when it is
ready it literally takes less than 5 minutes on my system to upgrade it,
from shutting down (install script does that for you) to restart (install
script does that too).  My users have never noticed any downtimes.

-Original Message-
From: Brent Gardner [mailto:brent.gard...@gmail.com] 
Sent: Wednesday, February 16, 2011 9:27 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: [qmailtoaster] Praise: excellent upgrade tools

I just finished upgrading 3 toasters.  I have QmailToaster-Plus installed. 

I hadn't updated these boxes for about 2 years.  I was running an older
version of ClamAV (0.95.2) which choked on a recent definitions update
resulting in several hours of no incoming mail.  I decided it was time to
bite the bullet and get ClamAV updated.

I was a bit apprehensive because I've never updated via the qtp scripts
before, but it really was as easy as:

yum update qmailtoaster-plus
qtp-newmodel
(reboot)
qtp-install-spamdyke


Now I'm up and running with the latest version of all packages including
spamdyke, and I didn't have to tweak anything after the update.  To all
involved with QmailToaster and QmailToaster-Plus- Bravo.  Really great job.

The reboot was to clear up the locks on some ClamAv db files.  Otherwise
FreshClam wouldn't run.


Brent Gardner




-
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] Replicated Server Issue

2011-02-16 Thread Scott Hughes


-Original Message-
From: Jake Vickers [mailto:j...@qmailtoaster.com] 
Sent: Tuesday, January 25, 2011 9:00 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] Replicated Server Issue

On 01/24/2011 05:52 PM, Scott Hughes wrote:
 I honestly have no idea how to check that, Jake... or for that matter how
to fix it if that is the issue.

 Scott


When you created the new database, did you run anything like:
echo GRANT ALL PRIVILEGES ON vpopmail.* TO vpopmail@localhost 
IDENTIFIED BY 'SsEeCcRrEeTt' | mysql -u root -p


Jake,

I tried the above solution to no avail.  I then blew the new server away and
loaded a new server (VM), then went through the exact same steps again, only
this time I did not DROP / CREATE the new database (since my new one was
empty).  Still not seeing any domains or users in QControl.  Any other
ideas?

Thanks,
Scott



-
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] smtp access closed

2011-02-16 Thread Eric Broch



Hello List,

I have user on a client's Qmailtoaster (32bit CentOS, all packages current) for
whom I've disable SMTP access using qcontrol.

I issued the following command to yield user info (select output
included):

#./vuserinfo -a...@domain.com

.
.
.
smtp access closed
.
.
.


Yet, there are recipients that have received legitimate mail from this
disabled account and it shows in my SMTP log.

SMTP log is as follows:

.
.
.
... spamdyke[28140]: ALLOWED from:x...@domain.com  to: ...
.
.
.

Does anyone know how this could be happening with smtp access closed for user 
x...@domain.com?

Eric


-
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] smtp access closed

2011-02-16 Thread Maxwell Smart

 Eric,

I don't know if it's required, but did you restart your toaster?

On 02/16/2011 09:04 PM, Eric Broch wrote:



Hello List,

I have user on a client's Qmailtoaster (32bit CentOS, all packages 
current) for

whom I've disable SMTP access using qcontrol.

I issued the following command to yield user info (select output
included):

#./vuserinfo -a...@domain.com

.
.
.
smtp access closed
.
.
.


Yet, there are recipients that have received legitimate mail from this
disabled account and it shows in my SMTP log.

SMTP log is as follows:

.
.
.
... spamdyke[28140]: ALLOWED from:x...@domain.com  to: ...
.
.
.

Does anyone know how this could be happening with smtp access closed 
for user x...@domain.com?


Eric


- 

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





--
Cecil Yother, Jr. cj
cj's
2318 Clement Ave
Alameda, CA  94501

tel 510.865.2787
http://yother.com
Check out the new Volvo classified resource http://www.volvoclassified.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] smtp access closed

2011-02-16 Thread Eric Broch

 CJ,

Yes, several times.


On 2/16/2011 10:17 PM, Maxwell Smart wrote:

 Eric,

I don't know if it's required, but did you restart your toaster?

On 02/16/2011 09:04 PM, Eric Broch wrote:



Hello List,

I have user on a client's Qmailtoaster (32bit CentOS, all packages 
current) for

whom I've disable SMTP access using qcontrol.

I issued the following command to yield user info (select output
included):

#./vuserinfo -a...@domain.com

.
.
.
smtp access closed
.
.
.


Yet, there are recipients that have received legitimate mail from this
disabled account and it shows in my SMTP log.

SMTP log is as follows:

.
.
.
... spamdyke[28140]: ALLOWED from:x...@domain.com  to: ...
.
.
.

Does anyone know how this could be happening with smtp access closed 
for user x...@domain.com?


Eric


- 

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] Valid characters in email addresses

2011-02-16 Thread Tony White

Hi folks,
  I have client that is trying to receive emails from
someone with an email like Michael.O'gr...@example.com.
  From what I have read so far the ' is not in the RFC. I am able
to disable chkuser from verifying the format of the senders email
address. The questions are...

1. Is the ' a valid character and I cannot find the changes!

2. Is it a good idea to disable chkuser in this fashion?

  Thanks in advance as this client may require me to lift the ban
regardless unless I have my facts straight. Interestingly hotmail
seems to accept it without issue!

--
best wishes
  Tony White



-
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