Sunday, January 23, 2011

Minimally Enlarged Liver

Redirecting mail in Postfix root

Today I had to install Postfix for a machine that mail must be handed root remotely. And it is a problem, but found the solution.

is to persuade Postfix to your main domain is a virtual domain playing / etc / postfix / main.cf :

 virtual_alias_domains = midominioprincipal.org 
virtual_alias_maps = hash: / etc / postfix / virtual

and then say that a particular user of that domain should see your mail redirected to an external address:

root
 usuario@receptor.org 

Then just

 postmap / etc / postfix / virtual & & postfix reload 

0 comments:

Post a Comment