amavisd / clamav, spamassassin problem
I have setup a mail filter for my postfix mail server according to:
http://www.howtoforge.com/virtual_us...debian_etch_p4 And everything is ok except that ALL of my messages get deleted because filtered Some info I get: Undelivered mail report: Code:
The message WAS NOT relayed to: It says that it is CLEAN and through it removes it. Some extract of my /var/log/mail/mail.log Code:
Jul 16 18:44:02 websrv02 postfix/smtpd[26706]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled Can u please help me? Thanx in advance. PS. Is it possible for the mail filter to not delete the messages but place them in IMAP Junk folder for example? Thanx. |
Quote:
Mails identified as junks by amavisd are usually sent in /var/virusmails and are not deleted and would just stay there until the admin wipe them all. ----------- |
Further it goes as follows:
Code:
Jul 16 16:44:04 websrv02 postfix/smtpd[26719]: disconnect from unknown[127.0.0.1] |
I followed through your logs and it looks, as the amavisd DSN report also showed, that the message that was sent from gmail that were intended for tomas@*******.com did not reach the user's inbox or it might have bounced as the continuation of your logs has shown as well.
This looks like a bounce-back notification sent by your MTA that I'm sure the gmail sender has received. Code:
Jul 16 18:44:04 websrv02 postfix/smtp[26721]: 1D66321C054: to=<tomas.****@gmail.com>, relay=gmail-smtp-in.l.google.com[209.85.129.27]:25, delay=0.46, delays=0.02/0.06/0.06/0.32, dsn=2.0.0, status=sent (250 2.0.0 OK 1184604238 31si10793761fkt) Quote:
Here is to show you a normal incoming mail transaction that I hope you can follow: Code:
Jul 18 05:45:05 webmaster postfix/smtpd[3046]: connect from sql2.linuxquestions.org[64.179.4.149] -------------- |
Instead of Passed CLEAN i get Blocked OTHER.
I ran amavisd debug according to what I googled about it... Here are the suspicious lines of the output (the whole couldnt fit into LQ's post, note: it is another mail message because the previous wasnt debugged) Code:
... Code:
#cat mail.txt | spamassassin Please help me. |
Quote:
But it looks that amavis is suspicious about this. For the purpose of isolation, deactivate first amavis in your main.cf by commenting out this line: content_filter = smtp-amavis:[127.0.0.1]:10024 and reload postfix. Or use another Subject line like "TEST" and a message content of "TEST" also. If you would download the amavisd-new source tar ball, unpack in your homedir and cd to it and "less README_FILES/README.postfix", you would find instructions on configuring amavis and testing it. Or maybe this same readme is as well available (that I haven't check yet) as HTML in amavisd-new website. Please also check amavis quarantine for quarantined messages that from a standard installation, it is supposed to be in /var/virusmails. ---------- |
All times are GMT -5. The time now is 01:49 AM. |