On 5/3/2010 8:22 AM, d h wrote:
>
> Hi ,
>
> I am having a very strange problem that I can’t figure out. The last couple 
> of weeks, several users are starting to complain that they are missing 
> e-mails. If I review one mail address, I can see that mail is being send from 
> the same sender(outside), to the same recipient(inside). But on e-mail one, 
> the mail arrives, e-mail two does not arrive and e-mail three arrives again.  
> If the mail does not arrive, several things are happening
>
> 1: Postfix sends the e-mail to Amavis
> 2: Amavis checks the message, but does not(!) give the mail a queue name.
> 3: Amavis sends it back to postfix, but postfix does not know what to do with 
> it. (it should relay it to Exchange)
>

Check your config.  Properly configured amavisd-new will not 
lose mail.

Postfix logs all deliveries.  Check your postfix logs to see 
where mail ends up.  Are you sure amavisd-new is really 
feeding back to postfix?

http://www.ijs.si/software/amavisd/README.postfix.html
http://www.ijs.si/software/amavisd/amavisd-new-docs.html
http://www.ijs.si/software/amavisd/#doc



> Here are some log files..
>
> May  3 11:30:13   postfix/qmgr[11636]: 4F2284AEBB: from=<  
> OutsideMailAddress>, size=3206634, nrcpt=1 (queue active)
>
> May  3 12:08:43   amavis[19799]: (19799-01-2) FWD via SMTP:<  
> OutsideMailAddress>  ->  <InsideEmailAddress>, 250 2.1.0 Ok, id=19799-01-2, 
> from MTA([127.0.0.1]:10025): 250 2.1.0 Ok

This doesn't look like a postfix response.  Where's the 
matching postfix entries?

>
> May  3 12:08:43   amavis[19799]: (19799-01-2) Passed CLEAN, INTERNET 
> [193.172.235.144] [193.172.235.144]<  OutsideMailAddress>  ->  
> <InsideEmailAddress>, 
> Message-ID:<6e052cce3fa0fe4bbba020ff0fbc26eb8eb...@black.ad.amstelveen.nl>, 
> mail_id: IOWpcYMDVYkt, Hits: -, size: 3206634, queued_as: 250 2.1.0 Ok, 
> 146190 ms
>
> May  3 12:08:43   amavis[19799]: (19799-01-2) TIMING [total 146200 ms] - SMTP 
> pre-DATA-flush: 4 (0%)0, SMTP DATA: 940 (1%)1, check_init: 1 (0%)1, 
> digest_hdr: 2 (0%)1, digest_body_dkim: 51 (0%)1, gen_mail_id: 5 (0%)1, 
> mime_decode: 294 (0%)1, get-file-type4: 49 (0%)1, decompose_part: 5 (0%)1, 
> parts_decode: 0 (0%)1, check_header: 4 (0%)1, AV-scan-1: 144786 (99%)100, 
> spam-wb-list: 6 (0%)100, update_cache: 6 (0%)100, decide_mail_destiny: 2 
> (0%)100, fwd-connect: 12 (0%)100, fwd-mail-from: 1 (0%)100, fwd-rcpt-to: 5 
> (0%)100, fwd-data-cmd: 6 (0%)100, fwd-end-chkpnt: 1 (0%)100, prepare-dsn: 1 
> (0%)100, main_log_entry: 11 (0%)100, update_snmp: 3 (0%)100, SMTP 
> pre-response: 2 (0%)100, SMTP response: 0 (0%)100, unlink-4-files: 1 (0%)100, 
> rundown: 3 (0%)100
>
> May  3 12:08:43   postfix/lmtp[17299]: 4F2284AEBB: to=<InsideEmailAddress>, 
> relay=127.0.0.1[127.0.0.1]:10024, conn_use=2, delay=2324, 
> delays=14/2164/0/146, dsn=2.1.0, status=sent (250 2.1.0 Ok, id=19799-01-2, 
> from MTA([127.0.0.1]:10025): 250 2.1.0 Ok)

Most folks use smtp rather than lmtp these days.  Although 
this shouldn't cause any problems, you might consider 
switching to smtp.

   -- Noel Jones


------------------------------------------------------------------------------
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
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