Sandy Drobic wrote:
NOTE: Postfix versions 2.2 and later rewrite message headers from remote SMTP clients only if the client matches the local_header_rewrite_clients parameter, or if the remote_header_rewrite_domain configuration parameter speci- fies a non-empty value. To get the behavior before Postfix 2.2, specify "local_header_rewrite_clients = static:all".
It might be worth to investigate this. Could you check your configuration in for these settings with output of postconf:
- "postconf local_header_rewrite_clients"
local_header_rewrite_clients = permit_inet_interfaces
- "postconf remote_header_rewrite_domain" remote_header_rewrite_domain =
- "postconf canonical_classes"
canonical_classes = envelope_sender, envelope_recipient, header_sender, header_recipient I just checked a 10.1 and a 9.3, and those were the same exactly. I don't understand it. It appears sender_canonical does some but not enough rewriting the address, but generic worked immediately. and the man page said this: DESCRIPTION The optional generic(5) table specifies an address mapping that applies when mail is delivered. This is the opposite of canonical(5) mapping, which applies when mail is received. Typically, one would use the generic(5) table on a system that does not have a valid Internet domain name and that uses something like localdo‐ main.local instead. The generic(5) table is then used by the smtp(8) client to transform local mail addresses into valid Internet mail addresses when mail has to be sent across the Internet. See the EXAM‐ PLE section at the end of this document. The generic(5) mapping affects both message header addresses (i.e. addresses that appear inside messages) and message envelope addresses (for example, the addresses that are used in SMTP protocol commands). Which seems exactly what I needed, and indeed did work (but in the process confused me how it ever worked before). Is the above saying (as it seems to me) that canonical mapping are only for incoming mail, while generic is for outgoing mail? Is sender_canonical changing the sender of incoming mail? That is how it appears, but made me doubt how it seemed to work before. Thanks again for your help in my trying to get an understanding of postfix. -- Joe Morris Registered Linux user 231871 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org