Thanks for the help Wietse, however don't seem to be able to produce what you are saying.

Quoting "Wietse Venema" <wie...@porcupine.org>:

To fix, you need to update the local_header_rewrite_clients in your
main.cf file and specify network/mask information that includes
all the networks whose headers you want to rewrite. It could be as
simple as the whole class B network (157.193.0.0/16).

I assumed, after reading the docs, that permit_mynetworks inforces that behaviour! It doesn't seem to.

However:

local_header_rewrite_clients = static:all

rewrites envelop but not the header, reading the docs I would assume it should rewrite the From header:


The Postfix < 2.2 backwards compatible setting: always rewrite message headers, and always append my own domain to incomplete header addresses.

           local_header_rewrite_clients = static:all

I tested and it doesn't.

I don't see how check_address_map type:table can help as the docs states it doesn't do a subnet lookup. So I would need to list all my ips in a file?

The strange thing for me is that in each test my envelop sender is getting rewritten but my From header not.

Sorry if am missing some obvious here!!

Thanks in advance,

Rudy



--
 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 Rudy Gevaert                             e-mail: rudy.geva...@ugent.be
 Directie ICT, Afdeling Infrastructuur
 Groep Systemen                                      tel: +32 9 264 4750
 Universiteit Gent                                   fax: +32 9 264 4994
 Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to