I use syscp now for nearly a year and im really happy with it....but now I also want to use the the Mailfunktion on my Rootserver, and i install postfix with the syscp howto - and everything works fine.
Now I use everyday the Mailfunktion in Postfix and i have a Problem with SPAM - so i had install ClamAV and Spamassassin with the Modules for SysCP. I use this Howto http://www.syscp.de/wiki/config/Installation/de/extensionmaildrop and also this One http://www.volkerjanzen.net/syscp/spamfilter
BUT when i logon my Emailaccount with Squirellmail - there is my Inbox full of SPAM - and the rewirte Rule with the Subject doesnt work.
And i have no Idea where i have to look, to solve the Problem - can you help, what i should check - with Log-Files i have to look??
The postfix daemon works fine, but only the SPAM-Filter doesnt work
mail.warn LOG
Code: Select all
Dec 12 02:32:24 localhost postfix/smtpd[29498]: warning: smtpd_peer_init: 200.121.20.232: hostname client-200.121.20.232.speedy.net.pe verification failed: Name or service not known
Dec 12 08:37:45 localhost postfix/smtpd[14736]: warning: smtpd_peer_init: 84.238.3.12: hostname ip-nat-84-238-3-12.bnaa.dk verification failed: Name or service not known
Dec 12 10:11:14 localhost postfix/smtpd[19384]: warning: smtpd_peer_init: 129.41.78.71: hostname mail2197.email.frontlineshop.com verification failed: Name or service not known
Dec 12 13:53:07 localhost postfix/smtpd[30101]: warning: smtpd_peer_init: 85.99.160.210: hostname dsl.dynamic8599160210.ttnet.net.tr verification failed: Name or service not known
Dec 12 14:35:46 localhost postfix/smtpd[32272]: warning: smtpd_peer_init: 200.96.220.75: hostname 200-96-220-75.pvoce700-nrp4.dsl.brasiltelecom.net.br verification failed: Name or service not known
Code: Select all
Dec 12 16:10:10 localhost postfix/pipe[4494]: 6611F7340A1: to=<matthek@vorturner.de>, relay=maildrop, delay=0, status=sent (vorturner.de)
Dec 12 16:10:10 localhost postfix/smtpd[4487]: disconnect from i214144.upc-i.chello.nl[62.195.214.144]
Dec 12 16:10:11 localhost postfix/smtp[4495]: 6611F7340A1: to=<mkreissler@kth-online.de>, orig_to=<matthek@vorturner.de>, relay=mailin.rzone.de[81.169.145.100], delay=1, status=bounced (host mailin.rzone.de[81.169.145.100] said: 550 5.0.0 your mail contains a virus (in reply to end of DATA command))
Dec 12 16:10:11 localhost postfix/cleanup[4492]: 8678E7340A7: message-id=<20061212151011.8678E7340A7@static.88-198-1-50>
Dec 12 16:10:11 localhost postfix/qmgr[3202]: 8678E7340A7: from=<>, size=11769, nrcpt=1 (queue active)
Dec 12 16:10:11 localhost postfix/qmgr[3202]: 6611F7340A1: removed
Dec 12 16:10:11 localhost postfix/smtp[4495]: 8678E7340A7: to=<ulpsxkqwzj@chello.nl>, relay=smtp.chello.nl[213.46.243.2], delay=0, status=bounced (host smtp.chello.nl[213.46.243.2] said: 550 Invalid recipient: <ulpsxkqwzj@chello.nl> (in reply to RCPT TO command))
Dec 12 16:10:11 localhost postfix/qmgr[3202]: 8678E7340A7: removed
t-eddie
Edit:
my /etc/spamassassin/local.cf
Code: Select all
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
# rewrite_header Subject *****SPAM*****
# report_safe 1
# trusted_networks 212.17.35.
# lock_method flock
user_scores_dsn DBI:mysql:syscp:localhost
user_scores_sql_username syscp
user_scores_sql_password <password>
user_scores_sql_custom_query SELECT preference, value FROM modules_sasettings_sa WHERE
username = _USERNAME_ OR username = '$GLOBAL' OR username = CONCAT('%',_DOMAIN_)
ORDER BY username ASC
t-eddie