Hi Happy New Year to all,
My query is as follows:
In my server, where postfix is running, I have a shell account as
sagar, I actually wanted to be seen by the world when they get
mail as "premsaagar@MyOriginatingDomainName.com".
So, I used the canonical_maps in /etc/postfix/main.cf as follows:
Code:
canonical_maps=hash:/etc/postfix/canonical
Then, in /etc/postfix/canonical :
then, from command line:
Code:
postmap /etc/postfix/canonical
/etc/init.d/postfix reload
When my friends receive my mail, it appears to them as:
Code:
from: sagar premsaagar@OriginatingDomainName.com
to: Receiver'sName@gmail.com
date: Sat, Jan 31, 2011 at 8:33 AM
It is working fine as far as
username@domain.com, but I dont want the name "sagar" there ( that is my shell account name) How can I masquerade in such a way that it appears as premsaagar and not sagar?
Please help