Re: [qmailtoaster] Re: X-SPAM Headers missing from emails
I followed the spamdyke installation here: http://wiki.qmailtoaster.com/index.php/Spamdyke http://wiki.qmailtoaster.com/index.php/SpamdykeEverything seemed to be working fine, except, unfortunately it broke TLS on SMTP so I had to disable it. with spamdyke: Starting TLS... STARTTLS [220] 'Proceed.' Using cipher: AES256-SHA Then the email would get delivered without TLS in the header. When I disabled spamdyke again: Starting TLS... STARTTLS [220] 'ready for tls' Using cipher: DHE-RSA-AES256-SHA The email headers confirmed it successfully encrypted during smtp session. Right now I have it off... any idea why this might have happened? Thanks On Mon, Mar 29, 2010 at 3:02 PM, Eric Shubert e...@shubes.net wrote: Also check your /var/qmail/control/simcontrol file. Should be set to scan by default though. Does smtp or spamd log show any result of scanning? BTW, I highly recommend using spamdyke. That will reject 80+% of spam without even receiving it, so spamassassin and clamav have a lot less work to do. Your server will breath easier. -- -Eric 'shubes' Postmaster wrote: Have you tried spamassassin -D --lint Also see if you have all necessary plugins uncommented/perl dependencies. Regards Alex On 29/03/2010 19:16, George Alexander wrote: I recently moved my mailserver from an old qmailtoaster install to the newest (as of right now). The only things that stayed from the old server were the contents of /home/vpopmail/domains/mydomain.tld The server is setup on CentOS 5.4 64bit from scratch following the guide on the wiki. We're still getting email, and everything is working fine on the new server, except some spam keeps coming in. Normally I would now go adjust scores in 50_scores.cf http://50_scores.cf to ensure it doesn't come in anymore, but there are no spam headers on the email for me to look at the tests that the spam passed. What do I need to do to make sure they're there? Here's my /etc/tcprules.d/tcp.smtp 127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,RBLSMTPD=,NOP0FCHECK=1 :allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/control/domainkeys/%/private,NOP0FCHECK=1 Here's my /etc/mail/spamassassin/local.cf http://local.cf ok_locales all skip_rbl_checks 1 required_score 5 report_safe 0 rewrite_header Subject ***SPAM*** use_pyzor 1 use_auto_whitelist 1 use_bayes 1 use_bayes_rules 1 bayes_auto_learn 1 Anybody else have any ideas? thanks - 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: X-SPAM Headers missing from emails
Spamdyke doesn't log or alter headers when it does TLS. It's not broken, it just doesn't show you what's going on like qmail-smtp does with TLS. Since spamdyke is doing TLS with the sender, it does not subsequently do TLS with qmail-smtpd, which is what puts the TLS messages in the header. See http://spamdyke.org/documentation/README.html#TLS for details. George Alexander wrote: I followed the spamdyke installation here: http://wiki.qmailtoaster.com/index.php/Spamdyke http://wiki.qmailtoaster.com/index.php/SpamdykeEverything seemed to be working fine, except, unfortunately it broke TLS on SMTP so I had to disable it. with spamdyke: Starting TLS... STARTTLS [220] 'Proceed.' Using cipher: AES256-SHA Then the email would get delivered without TLS in the header. When I disabled spamdyke again: Starting TLS... STARTTLS [220] 'ready for tls' Using cipher: DHE-RSA-AES256-SHA The email headers confirmed it successfully encrypted during smtp session. Right now I have it off... any idea why this might have happened? Thanks On Mon, Mar 29, 2010 at 3:02 PM, Eric Shubert e...@shubes.net mailto:e...@shubes.net wrote: Also check your /var/qmail/control/simcontrol file. Should be set to scan by default though. Does smtp or spamd log show any result of scanning? BTW, I highly recommend using spamdyke. That will reject 80+% of spam without even receiving it, so spamassassin and clamav have a lot less work to do. Your server will breath easier. -- -Eric 'shubes' Postmaster wrote: Have you tried spamassassin -D --lint Also see if you have all necessary plugins uncommented/perl dependencies. Regards Alex On 29/03/2010 19:16, George Alexander wrote: I recently moved my mailserver from an old qmailtoaster install to the newest (as of right now). The only things that stayed from the old server were the contents of /home/vpopmail/domains/mydomain.tld The server is setup on CentOS 5.4 64bit from scratch following the guide on the wiki. We're still getting email, and everything is working fine on the new server, except some spam keeps coming in. Normally I would now go adjust scores in 50_scores.cf http://50_scores.cf http://50_scores.cf to ensure it doesn't come in anymore, but there are no spam headers on the email for me to look at the tests that the spam passed. What do I need to do to make sure they're there? Here's my /etc/tcprules.d/tcp.smtp 127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,RBLSMTPD=,NOP0FCHECK=1 :allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/control/domainkeys/%/private,NOP0FCHECK=1 Here's my /etc/mail/spamassassin/local.cf http://local.cf http://local.cf ok_locales all skip_rbl_checks 1 required_score 5 report_safe 0 rewrite_header Subject ***SPAM*** use_pyzor 1 use_auto_whitelist 1 use_bayes 1 use_bayes_rules 1 bayes_auto_learn 1 Anybody else have any ideas? thanks - Qmailtoaster is sponsored by Vickers Consulting Group (www.vickersconsulting.com http://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 http://qmailtoaster.com for the latest news, updates, and packages. To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com mailto:qmailtoaster-list-h...@qmailtoaster.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] Re: X-SPAM Headers missing from emails
Also check your /var/qmail/control/simcontrol file. Should be set to scan by default though. Does smtp or spamd log show any result of scanning? BTW, I highly recommend using spamdyke. That will reject 80+% of spam without even receiving it, so spamassassin and clamav have a lot less work to do. Your server will breath easier. -- -Eric 'shubes' Postmaster wrote: Have you tried spamassassin -D --lint Also see if you have all necessary plugins uncommented/perl dependencies. Regards Alex On 29/03/2010 19:16, George Alexander wrote: I recently moved my mailserver from an old qmailtoaster install to the newest (as of right now). The only things that stayed from the old server were the contents of /home/vpopmail/domains/mydomain.tld The server is setup on CentOS 5.4 64bit from scratch following the guide on the wiki. We're still getting email, and everything is working fine on the new server, except some spam keeps coming in. Normally I would now go adjust scores in 50_scores.cf http://50_scores.cf to ensure it doesn't come in anymore, but there are no spam headers on the email for me to look at the tests that the spam passed. What do I need to do to make sure they're there? Here's my /etc/tcprules.d/tcp.smtp 127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,RBLSMTPD=,NOP0FCHECK=1 :allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/control/domainkeys/%/private,NOP0FCHECK=1 Here's my /etc/mail/spamassassin/local.cf http://local.cf ok_locales all skip_rbl_checks 1 required_score 5 report_safe 0 rewrite_header Subject ***SPAM*** use_pyzor 1 use_auto_whitelist 1 use_bayes 1 use_bayes_rules 1 bayes_auto_learn 1 Anybody else have any ideas? thanks - 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: X-SPAM Headers missing from emails
FWIW, you really should run spamassassin as user vpopmail in order to reference the same bayes database that's used by QMT: # sudo -u vpopmail -H spamassassin -D --lint George Alexander wrote: Thanks! I read that somewhere already but I was looking at it all wrong. This time I noticed the lines that said: module not installed Thanks! On Mon, Mar 29, 2010 at 1:22 PM, Postmaster postmas...@seawise-chartering.co.uk mailto:postmas...@seawise-chartering.co.uk wrote: Have you tried spamassassin -D --lint Also see if you have all necessary plugins uncommented/perl dependencies. Regards Alex On 29/03/2010 19:16, George Alexander wrote: I recently moved my mailserver from an old qmailtoaster install to the newest (as of right now). The only things that stayed from the old server were the contents of /home/vpopmail/domains/mydomain.tld The server is setup on CentOS 5.4 64bit from scratch following the guide on the wiki. We're still getting email, and everything is working fine on the new server, except some spam keeps coming in. Normally I would now go adjust scores in 50_scores.cf http://50_scores.cf to ensure it doesn't come in anymore, but there are no spam headers on the email for me to look at the tests that the spam passed. What do I need to do to make sure they're there? Here's my /etc/tcprules.d/tcp.smtp 127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private,RBLSMTPD=,NOP0FCHECK=1 :allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10,QMAILQUEUE=/var/qmail/bin/simscan,DKSIGN=/var/qmail/control/domainkeys/%/private,NOP0FCHECK=1 Here's my /etc/mail/spamassassin/local.cf http://local.cf ok_locales all skip_rbl_checks 1 required_score 5 report_safe 0 rewrite_header Subject ***SPAM*** use_pyzor 1 use_auto_whitelist 1 use_bayes 1 use_bayes_rules 1 bayes_auto_learn 1 Anybody else have any ideas? 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