Dne 18.12.2009 v 10:46 Wietse Venema napsal(a):

> > As there is no exit code to tell postfix that delivery failed due to
> > quota issues, is there any other way to insert a hook which checks and
> > rejects on a per-user basis after we know the size of the message, and
> > can tell postfix to return a 5.2.2 DSN?
> 
> With the pipe-to-command/exit-status protocol, the only way to 
> flag an hard error is by exiting with a status that reports a
> hard error, or by sending something to stdout that begins with
> a 5.2.2 status code.

I think, if command from 'pipe' exit with error, then a mail remains in 
mail queue on local MTA. So there is no chance send 4xx or 5xx SMTP-code 
to sender MTA, because SMTP-communication with him is closed already.

-- 
Michal Kurka - Mysak
sluzby spojene s operacnim systemem Linux

Reply via email to