matrix wrote:

> Matthias Keller schrieb:

>> [EMAIL PROTECTED] wrote:
>>
>>> ######################################################################
>>> Hi, i have trouble with my amavis, it block every message that comes
>>> from postfix.
>>>
>>> first with:
>>> @bypass_spam_checks_maps  = (1);  # uncomment to DISABLE anti-spam code
>>>
>>> kempf-server postmaster # telnet localhost 10024
>>> Trying 127.0.0.1...
>>> Connected to localhost.
>>> Escape character is '^]'.
>>> 220 [127.0.0.1] ESMTP amavisd-new service ready
>>> helo mail.kempf-server.com
>>> 250 [127.0.0.1]
>>> mail from: <[EMAIL PROTECTED]>
>>> 250 2.1.0 Sender [EMAIL PROTECTED] OK
>>> rcpt to: <[EMAIL PROTECTED]>
>>> 250 2.1.5 Recipient [EMAIL PROTECTED] OK
>>> data
>>> 354 End data with <CR><LF>.<CR><LF>
>>> Subject: Hello
>>>
>>> Hello
>>> .
>>> 250 2.6.0 Ok, id=09101-04, from MTA([127.0.0.1]:10025): \
>>>     250 Ok: queued as 10F1A3F802C
>>>
>>> now the error if with:
>>> # @bypass_spam_checks_maps  = (1);  # uncomment to DISABLE anti-spam 
>>> code
>>>
>>> kempf-server postmaster # telnet localhost 10024
>>> Trying 127.0.0.1...
>>> Connected to localhost.
>>> Escape character is '^]'.
>>> 220 [127.0.0.1] ESMTP amavisd-new service ready
>>> helo mail.kempf-server.com
>>> 250 [127.0.0.1]
>>> mail from: <[EMAIL PROTECTED]>
>>> 250 2.1.0 Sender [EMAIL PROTECTED] OK
>>> rcpt to: <[EMAIL PROTECTED]>
>>> 250 2.1.5 Recipient [EMAIL PROTECTED] OK
>>> data
>>> 354 End data with <CR><LF>.<CR><LF>
>>> Subject: Hello
>>>
>>> Hello
>>> .
>>> Connection closed by foreign host.
>>>
>>> All mails that coming from postfix stay still in the queue and
>>> are not going to delivered.
>>>
>>> kempf-server postmaster # postqueue -p
>>> -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
>>> E48893F802A     1521 Mon Dec 26 20:41:27  [EMAIL PROTECTED]
>>>                         (connect to 127.0.0.1[127.0.0.1]: Connection
>>> refused)
>>>                                         [EMAIL PROTECTED]
>>>
>>> -- 1 Kbytes in 1 Request.
>>>
>>>
>>> I hope Somebody can help me.
>>>  
>>>
>> A look in your amavisd.log would probably be _very_ helpful...
>>
>> Matt
>>

> This is the amavis log file. I don't find the problem.

> https://mail.lug-wt.de/amavis.log

> Greets Michael

This log only shows where you started up amavisd-new. The only thing
I see is that ClamAV is not set up correctly (maybe clamd is not
installed or running). Temporarily increase the $log_level to
5 in amavisd.conf and try to connect again. Then look for
interesting stuff in /var/log/maillog or whatever your mail
log is called. I suggest setting $DO_SYSLOG = 1; so you can see the
log entries mixed in with the Postfix entries.

For the ClamAV problem, this may help:
http://www200.pair.com/mecham/spam/clamav-amavisd-new.html

You might also see if spamassassin works by itself, something like:
su vscan -c 'spamassassin --lint -D'
(depending on the name of your amavisd-new user)

Gary V



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to