Discussion:
Patch implementing the `sendmail -R` option for controlling RFC3461's RET parameter for DSN
(too old to reply)
Jan Kundrát
2012-08-24 17:00:24 UTC
Permalink
Hi,
I've noticed that Postfix' /usr/bin/sendmail interface supports almost
full control of the DSNs, similar to what one gets when talking ESMTP.
The only missing point is control of RET=HDRS vs. RET=FULL.

All of the required pieces in the backend were already present because
the ESMTP service needs them, so the attached patch is rather trivial
and mostly touches just the sendmail.c. There's also a one-liner fixing
the comment in the header defining the REC_TYPE_DSN_ENVID.

Please feel free to adjust the coding style and documentation to better
fit the existing code (and I'm sorry for messing up the tabs), or modify
the patch in any way.

Can this possible become a part of a future Postfix release?

With kind regards,
Jan
--
Trojita, a fast e-mail client -- http://trojita.flaska.net/
Jan Kundrát
2012-08-24 18:00:40 UTC
Permalink
Attached is an updated version which follows the indentation of the
existing code better (and which doesn't have mangled whitespace all over
-- always calling `diff -Naurt` is an old habit). Sorry for noise.

With kind regards,
Jan
--
Trojita, a fast e-mail client -- http://trojita.flaska.net/
Wietse Venema
2012-08-24 19:22:03 UTC
Permalink
Post by Jan Kundrát
Attached is an updated version which follows the indentation of the
existing code better (and which doesn't have mangled whitespace all over
-- always calling `diff -Naurt` is an old habit). Sorry for noise.
The patch looks OK to me.

Wietse

Loading...