The attached patch adds a trust_from_address option, which is basically the
opposite of fix_from_address. If set, then each user's configurable From
address is used as the SMTP envelope sender (if possible), and the user's
authenticated username is placed in an X-header. It builds on
usernames_with_at.patch.
(Also, as a bugfix for usernames_with_at.patch, if the authenticated username
contains '@', return_domain is no longer appended.)
This is analogous to Exim's untrusted_set_sender option, and Postfix's
default behaviour.
Regards,
Simon
With a patch attached this time... (The patch is in the right format to add to debian/patches directly.)
tags 521372 - patch thanks Even if we can trust the users not to use forged sender addresses, I think we still need to sanitize the input before passing it to the shell.
Dear submitter, as the package prayer has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/1063872 The version of this package that was in Debian prior to this removal can still be found using https://snapshot.debian.org/. Please note that the changes have been done on the master archive and will not propagate to any mirrors until the next dinstall run at the earliest. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org. Debian distribution maintenance software pp. Thorsten Alteholz (the ftpmaster behind the curtain)