LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   postfix mapping issues (https://www.linuxquestions.org/questions/linux-newbie-8/postfix-mapping-issues-418106/)

ryedunn 02-21-2006 03:21 PM

postfix mapping issues
 
Im trying to map my email address to avoid people trying to log into my server with the same email prefix. For example, my username is JoeSmith but I would like my email address to be jsmith@domain.com. Easy enough, but it only works on inbound email.... so jsmith@domain.com gets mapped correctly to the joesmith account, but when joe smith sends out an email address, it appears like joesmith@domain.com which completly defeats the purpose.

My setup is:
Postfix-Procmail-Fetchmail-SpamAssassin-squirrelmail-Courier IMAP

Any suggestions would be greatly appreciated
Thank you,
The GNUbie

markus1982 02-21-2006 03:35 PM

What you want to do is to make use of address rewriting. You should read http://www.postfix.org/rewrite.html

ryedunn 02-21-2006 03:52 PM

I think thats more for domains and not so much for outbound usernames

markus1982 02-21-2006 04:03 PM

You can rewrite user@domain.com to otheruser@domain.com.
Isn't that what you are looking for ?

gugabaga 03-06-2006 07:02 PM

Hi,

Can you describe your postfix setup a bit. Like how are you changing your address in the first place. Are you using canonical_maps. If so... try reversing the process by using virtual_alias_maps.

Hope this helps

Regards


All times are GMT -5. The time now is 01:46 PM.