This is a discussion on usr Unix @ no recognized within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hy, i ve a probleme with a usr Unix : his login his : totounixusr@toto.com and postfix not recognize it ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hy,
i ve a probleme with a usr Unix : his login his : totounixusr@toto.com and postfix not recognize it with email toto@toto.com target on. Postfix search a entry in the virtual domain table... how do that, i require that postfix use my unix usr totounixusr@toto.com and not search in /etc/postfix/domaines my domaines file : toto.com My virtual domain toto@toto.com totounixusr@toto.com but its recursif ! postfix search a left entry for totounixusr@toto.com but not usr my unix user totounixusr@toto.com account. thx manu |
|
|||
|
Manu wrote:
> Hy, > i ve a probleme with a usr Unix : his login his : totounixusr@toto.com and > postfix not recognize it with email toto@toto.com target on. > Postfix search a entry in the virtual domain table... > how do that, i require that postfix use my unix usr totounixusr@toto.com and > not search in /etc/postfix/domaines > > my domaines file : > toto.com My virtual domain > toto@toto.com totounixusr@toto.com > > but its recursif ! postfix search a left entry for totounixusr@toto.com but > not usr my unix user totounixusr@toto.com account. When I didn't get you wrong, you want to forward a mail that has been recieved by user toto@toto.com for totounixusr [your local unix-uxer]. So you have to fix your virtual-tables this way: virtual-domain: (for example virtual_domain) toto.com virtual_users: toto@toto.com totounixuser (for example virtual_user) Then add the following parameter to main.cf virtual_maps = hash:/etc/postfix/virtual_domain, hash:/etc/postfix/virtual_user Don't forget to run "postmap virtual_domain" and "postmap virtual_user" to build the hashed databases (.db). After reloading the config it should work. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|