Ionkin Michael wrote:
> Hello,
> 
> i've got some questions about what happens when amavisd suddenly crashes.
> 
> lets imagine postfix relays the mail to the internal port of amavis (10024), 
> afterward postfix isn't 
> responsible for the mail. 

postfix is still responsible. amavisd-new sends the final response to 
postfix after it has successfully passed the message to the next hop. 
This is why if you check postfix logs, you'll see them "backward".


### after filter smtpd log:
Oct  9 10:35:51 imlil postfix/qmgr[40898]: 6D8E9E54832: 
from=<[EMAIL PROTECTED]>, size=4537, nrcpt=1 
(queue active)

#### amavis log
Oct  9 10:35:51 imlil amavis[64261]: (64261-16) Passed CLEAN, 
[216.34.181.88] [91.103.240.1] 
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, ...

### before filter log:
Oct  9 10:35:51 imlil postfilter/smtp[64960]: 63B25E5482C: 
to=<[EMAIL PROTECTED]>, relay=127.0.0.1[127.0.0.1]:10024, delay=2.1, 
delays=0.22/0.01/0/1.8, dsn=2.0.0, status=sent (250 2.0.0 Ok, 
id=64261-16, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 
6D8E9E54832)


look also at the queueID's (including the "Ok: queued as ..." which 
correlates the before and after filter messages (the message-id too).

> At the same moment amavis gets this message and suddenly crashes. 
> What happens to the mail? Where and how long does amavis buffer that mail?
> 
> the second scenario is that amavis runs properly, but clamav suddenly shuts 
> down. what happens in this case? does the recipient get his mail unchecked?
> 

postfix will retry.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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