Ricardo wrote:

Hi all!

We have been running Postfix and Amavisd-new for quite some time,
without any problem... until we upgraded our FreeBSD from 4.11 to
5.4-RELEASE.

We are currently running:

  FreeBSD: 5.4-RELEASE
  Postfix: 2.3-20060207
  Amavisd: amavisd-new-20030616-p5 (ancient, I know...)

Since the upgrade, at peak times, the messages take a lot of time to be
sent. They usually took 2s to 3s at most, now they always take 10s+
(sometimes more than 2min or 3min!).

From the amavis.log, it seems that the problem is in the SMTP-* and
fwd-* sections. Always.

Here are the logs of a typical message with this probleam (edited for
clarity sake):

---| amavis.log |----------------------------------------------------------

Feb 13 18:22:34 xxx amavisd[2242]: (02242-03-11) LMTP::10024
 /var/amavis/amavis-20060213T180832-02242: <*from*> ->
 <*to*> Received: SIZE=2943 from xxx ([127.0.0.1])
 by localhost (xxx [127.0.0.1]) (amavisd-new, port 10024) with LMTP id
 02242-03-11 for <*to*>; Mon, 13 Feb 2006 18:22:34 -0200 (BRDT)

Feb 13 18:22:35 xxx amavisd[2242]: (02242-03-11) Checking: <*from*> -> <*to*>

Feb 13 18:22:35 xxx amavisd[2242]: (02242-03-11) spam_scan: hits=4.11
 tests=...

Feb 13 18:22:35 xxx amavisd[2242]: (02242-03-11) SPAM-TAG, <*from*> -> <*to*>,
 No, hits=4.1 tagged_above=4.0 required=8.0 tests=...

Feb 13 18:22:35 xxx amavisd[2242]: (02242-03-11) FWD via SMTP:
 [127.0.0.1:10025] <*from*> -> <*to*>

Feb 13 18:22:50 xxx amavisd[2242]: (02242-03-11) Passed, <*from*> -> <*to*>,
 Message-ID: <[EMAIL PROTECTED]>, Hits: 4.11

Feb 13 18:22:50 xxx amavisd[2242]: (02242-03-11) TIMING [total 15845 ms] -
 SMTP pre-DATA-flush:   30 ( 0%)
 SMTP DATA..........:  810 ( 5%)
 body hash..........:    0 ( 0%)
 lookup_sql.........:   18 ( 0%)
 mime_decode........:   17 ( 0%)
 AV-scan-1..........:    7 ( 0%)
 SA msg read........:    1 ( 0%)
 SA parse...........:    1 ( 0%)
 SA check...........:  454 ( 3%)
 fwd-connect........: 7811 (49%)
 fwd-mail-from......:  344 ( 2%)
 fwd-rcpt-to........:  445 ( 3%)
 write-header.......:  311 ( 2%)
 fwd-data...........:    0 ( 0%)
 fwd-data-end.......: 5178 (33%)
 fwd-rundown........:  411 ( 3%)
 unlink-1-files.....:    4 ( 0%)
 rundown............:    1 ( 0%)

-

From the fwd-connect I'd think about a reverse DNS lookup timeout...?
Do you have rDNS activated and if yes, is the host able to resolve 127.0.0.1 or the local IP...?

Matt


-------------------------------------------------------
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://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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