On Wednesday 18 August 2010 03:01 AM, mouss wrote:
Le 17/08/2010 07:35, Alfred Tuinman a écrit :
Hi,
If we specify mydestination to be $mydomain all mail is considered
local. This is fine for most of us but there are a few roaming users.
Only for those users we would like all mail to be sent outside.
How do I handle this?
http://www.postfix.org/postconf.5.html#relay_domains
http://www.postfix.org/BASIC_CONFIGURATION_README.html
http://www.postfix.org/STANDARD_CONFIGURATION_README.html
for per recipient routing, read:
http://www.postfix.org/postconf.5.html#transport_maps
ok I have added the transport maps:
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
transport_maps = hash:/etc/postfix/transport
postmapped the corresponding transport file which contains:
my_em...@company.com smtp:[mail.company.com]
However, my mail remains local while I would like it to go to the remote
web server from where the local server fetches the mail with a keep option.
Am I overlooking something?
Regards, Alfred