Hello,

I wonder if it is possible to specify the informative text for bounce
messages, depending on the exit code from pipe(8).

Something like having this in master.cf:

mycmd    unix   -   n   n   -   10   pipe
 bounce_message_map=/path/to/pipemap flags=... user=... argv=/path/to/script

And then, the 'pipemap' file:

======= pipemap =======
67   addressee unknown
69   service unavailable
75   temporary failure
98   foo
99   bar
===== end of pipemap ======

Any way of doing this? (apart from sending the bounce message directly
from the piped command)

Carlos

Reply via email to