I have installed mail server (Sendmail - Cyrus-IMAP - Squirrelmail) on my Fedora system. Everything works fine, I can send and receive mails, IMAP connection works great, so does webmail interface and even SSL, but there is one little but quite annoying problem - I guess with Sendmail configuration.
My mailserver is running on myserver.com domain and whenever someone sends me mail from firstname.lastname@example.org
I always see the sender's address ending with my domain - email@example.com
. Looks like domain name of sender of incoming mail is overwritten with my mail server domain.
This is really bothering because you don't know who sent you a mail and you are unable to reply to it.
I have solved all problems reading manual pages and forums so far, but now I was not able to find solution for this. I suppose this is caused by some kind of masquerading, but I can't find out, which parameter in which configuration file to edit - maybe sendmail.mc...?
Thanks for any kind of suggestions