"Matthias Weigel" <[EMAIL PROTECTED]> schreef in bericht 
news:[EMAIL PROTECTED]
> Hello John,
>
> i compared your trace against my working system.
>
> At the end of your trace i see lines like
> select(0, NULL, NULL, NULL, {10, 0}) = 0 (Timeout)
> this is where amavisd waits for input on the configured tcp port
> ($inet_socket_port in amavisd.conf).
> There is no further output of "amavisd debug-sa" at that point, until a
> mail is received.
> What reaction do you get, if you feed amavisd a mail via SMTP at this 
> point?
>
> My working installation is from CPAN only, with the following versions
> (on Centos5-x86_64):
>
> Oct  4 20:24:52 gate amavis[2814]: starting.  /usr/sbin/amavisd at
> gate.maweos.de amavisd-new-2.5.2 (20070627), Unicode aware, LANG="C"
> Oct  4 20:24:52 gate amavis[2814]: Perl version               5.008008
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module Amavis::Conf        2.091
> Oct  4 20:24:53 gate amavis[2814]: Module Archive::Zip        1.18
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module BerkeleyDB          0.31
> Oct  4 20:24:53 gate amavis[2814]: Module Compress::Zlib      2.004
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module Convert::TNEF       0.17
> Oct  4 20:24:53 gate amavis[2814]: Module Convert::UUlib      1.08
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module DBD::mysql          4.004
> Oct  4 20:24:53 gate amavis[2814]: Module DBI                 1.56
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module DB_File             1.815
> Oct  4 20:24:53 gate amavis[2814]: Module Digest::MD5         2.36
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module Digest::SHA         5.44
> Oct  4 20:24:53 gate amavis[2814]: Module Digest::SHA1        2.11
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module MIME::Entity        5.420
> Oct  4 20:24:53 gate amavis[2814]: Module MIME::Parser        5.420
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module MIME::Tools         5.420
> Oct  4 20:24:53 gate amavis[2814]: Module Mail::DKIM          0.25
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module Mail::Header        1.77
> Oct  4 20:24:53 gate amavis[2814]: Module Mail::Internet      1.77
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module Mail::SPF           v2.004
> Oct  4 20:24:53 gate amavis[2814]: Module Mail::SPF::Query    1.999001
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module Mail::SpamAssassin  3.002000
> Oct  4 20:24:53 gate amavis[2814]: Module Net::DNS            0.59
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module Net::Server         0.96
> Oct  4 20:24:53 gate amavis[2814]: Module NetAddr::IP         4.004
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module Razor2::Client::Version 2.84
> Oct  4 20:24:53 gate amavis[2814]: Module Time::HiRes         1.9707
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Module URI                 1.35
> Oct  4 20:24:53 gate amavis[2814]: Module Unix::Syslog        0.99
>                                          Oct  4 20:24:53 gate
> amavis[2814]: Amavis::DB code      loaded
>
> Best Regards
>
> Matthias
>

Dear Matthias,
Sending a message through Amavisd worked and got after scanning nicely 
forwarded to our internal mailserver.
I start to get the idea that I misunderstood the amavisd debug-sa command. I 
expected an exit status, like spmassassin -D --lint does, or at least an 
confirmation the test process ended.

So  it looks like amavisd debug-sa starts amavisd with debugging on 
foreground, without an defined exit. On my old SuSEbox amavisd debug-sa ends 
with dbg: bayes: untie-ing db_seen,  which gave the impression that the 
process was finished and starts waiting for a new message to process, 
causing confusion by me.

27062] dbg: check: 
subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SANE_MSGID,__SARE_WHITELIST_FLAG,__TVD_BODY,__UNUSABLE_MSGID
[27062] dbg: bayes: untie-ing
[27062] dbg: bayes: untie-ing db_toks
[27062] dbg: bayes: untie-ing db_seen

So it looks solved and no problem at all. I would like to thank Matthias for 
time and effort to help me.

Regards,
John

>
> John schrieb:
>> "David Filion" <[EMAIL PROTECTED]> schreef in bericht
>> news:[EMAIL PROTECTED]
>>> John wrote:
>>>> "Matthias Weigel" <[EMAIL PROTECTED]> schreef in bericht
>>>> news:[EMAIL PROTECTED]
>>>>> Hello John,
>>>>>
>>>>> the interesting thing is normally at the end: where amavisd hangs. So
>>>>> just send the last 100 lines.
>>>>> Also have a look at the file. Maybe you see failing systemcalls or
>>>>> interesting error messages.
>>>>>
>>>>> Matthias
>>>> The strace.txt is posted, but showed on other place in this tread.
>>>> Some more things I tried without luck
>>>> Removed spamassassin-3.1.9.rf and installed the 3.1.9.EL5 instead.-> No
>>>> luck
>>>> Downgraded perl-BerkelyDB from 0.31 to 0.30, removed all db's in
>>>> /var/amavis
>>>> and tried again. -> No luck
>>>>
>>>> I also tried a second system (CentOS5 /X64), and that system suffers 
>>>> from
>>>> the same problem. So I can't imagine I'm the first one with this 
>>>> problem.
>>>> on
>>>> CentOS5.
>>>>
>>>> Does anyone has a clue?
>>>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> 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/
> 




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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