How can I control the address to which bounced emails will be sent? Why do messages sent with an envelope sender have an X-Warning header?
To control the address to which a bounced emails will be sent, you need to set the envelope sender address. Enable the “allow_envelope_sender” option in the [email] section of the configuration file; when this option is enabled, a “Bounce Address” field appears on Page 2 of the Journal Setup. Note that this option may require changes to the server’s mail server configuration so that the user the web server runs as (e.g. “www-data”) is trusted by the sendmail program, or an “X-Warning” header will be added to outgoing messages. Consult your mail server’s documentation if outgoing mails include such a header. For example, Sendmail keeps a list of trusted users in the file “/etc/mail/trusted-users”; other mail systems use similar files. The command-line option used to set the envelope sender is “-f”.
Related Questions
- Netscape on Unix is sending messages containing an unqualified user name in the Sender: header line, which Exim is rejecting because I have set verify = header_syntax. How can I fix this?
- How can I control the address to which bounced emails will be sent? Why do messages sent with an envelope sender have an X-Warning header?
- How can I change the sender/reply address for the messages that Cruise Control sends?