Maarten Vanraes:
> hi,
>
> I'm using pipe for some delivery transport. the logs tell me something like:
>
> status=sent (delivered by <transportname>)
>
> now my transport stores some parts in a database and possibly sends it back
> into postfix... so for audit purposes, it would be nice if the pipe transport
> would get the first output line and put it in the logging:
>
> status=sent (delivered by <transportname> (stored as 235264) )
>
> or
>
> status=sent (delivered by <transportname> (250 2.0.0 queued as F3A365EA) )
>
> or whatever message is there (which is usable to identify correctly the next
> chain in the link...
>
> possibly a pipe flag could be set for this, i don't mind either way.
The pipe daemon expects a specific reponse format, and that
format does not include SMTP reply codes. See pipe(8) manpage.
I can see benefit in logging downstream status information, but it
will necessarily have to be limited.
Wietse