Joe Morris (NTM) wrote:
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

Did you send the mail directly from the pc where Postfix is running or was it sent from a pc within your network?

What does "postconf inet_interfaces" say?

- "postconf remote_header_rewrite_domain"
remote_header_rewrite_domain =

- "postconf canonical_classes"

canonical_classes = envelope_sender, envelope_recipient, header_sender,
header_recipient

Those settings should work.


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:

I know that Suse 9.2 used Postfix 2.1.5 where generic wasn't implemented yet, unfortunately I don't have a Suse 9.3 available, and on my 10.0 systems I already installed a recent version of Postfix.

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

Postfix isn't built with a single I-do-everything binary, instead it uses several programs to handle specific tasks. Generic is applied by the smtp client program, so it can only be used for mails which are handed to the smtp client, and the job of the smtp client is usually to send a mail out.

canonical on the other hand is used by the cleanup daemon which checks a mail prior to queueing it to make sure that all required headers are present and if necessary insert it. Cleanup is also the daemon that applies header/body checks, by the way.

So these checks and rewriting take place for incoming mails, before they are queued. Some headers may not be present at the time cleanup is checking the mail, while generic will see all headers since it sees the mails at the time it leaves the system.

seemed to work before.  Thanks again for your help in my trying to get
an understanding of postfix.

Once you start to understand Postfix it is a lot of fun. (^-°)


Sandy
--
List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to