On 2011-10-10 17:30, postfix wrote:
How about defining your scan-transport in a transport table? did you forget that?
He did not forget it; he thought using relay_transport would work for smtpd submission.
A transport map is based on the recipient address; how would you determine which mail should go to the script ?
Noel's solution is a lot easier, especially since you don't care about what happens to the message afterwards.
-- J.