Thomas Landauer via Postfix-users: > Hi, > > when handing over incoming messages to an external command (i.e. a > `pipe` delivery in `master.cf`), is it possible to keep the sender "on > hold" in the SMTP session and then answer with 500 right away (if the > external command returns 1), instead of answering with `250 2.0.0 Ok: > queued as...` and sending a bounce?
No. Receiving is decoupled from delivering. The only available feedback from a Postfix delivery agent to a Postfix SMTP server is through sender or recipient address verification. This does not use any message content from the remote SMTP client. Instead, it generates a new test message, sends the test message envelope content, and discards the test message content. Wietse > As I understand it, every mail is handed over to Postfix'es `qmgr`, > which works asynchronously/independently of the SMTP session - but maybe > there's a way around this? > > Thanks!! > > -- > Cheers, > Thomas > _______________________________________________ > Postfix-users mailing list -- postfix-users@postfix.org > To unsubscribe send an email to postfix-users-le...@postfix.org > _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org