Click to See Complete Forum and Search --> : postfix local_recipient_maps


vandensype
06-30-2004, 04:09 PM
Hello all,

I am setting up a postfix server to act as a relay MTA upstream from my Exchange server. I would like to use the local_recipient_maps directive to only allow emails for valid users that exist on my Exchange box.

Does anyone know what the format of this file should be and whether it needs to be "postmapped" or something? An example would be great as well. Also, is there a way to shortcut the "@domain" part of an email address in this file to avoid writing the same entry multiple times for the same user. For example,

if the domains I receive mail for are set in the mydestination directive like:
mydestination = domain1.dom, domain2.dom, domain3.dom

I would like to add the valid email address:
joeuser@domain1.dom
joeuser@domain2.dom
joeuser@domain3.dom

as something like:
joeuser@$mydestination

is this possible?

Also, if any of you Exchange admins know of an easy way to parse out all the valid SMTP addresses on my server I would be REALLY grateful.



Thanks in advance, and sorry for the length of this post.

Jack