View Full Version : [ubuntu] ubuntu server mail server

March 27th, 2012, 11:29 AM
Hi, new to ubuntu. I'm trying to set up a mail server following this how to:


I'm at the part that says MTA Postfix

I'm to edit this file: /etc/mailname

and put in smpt.domain.name

and in here: /etc/postfix/main.cf

I'm to put:
mail.example.com and

I'm not sure what to put in these values.

Any help greatly appreciated

March 28th, 2012, 07:41 PM
In the /etc/mailname put your server's FQDN. As for myorigin, depending on what function your server will be doiing i.e relaying email for or via someone else, etc. But to be safe put FQDN of the server as well. So basically all email comming from the server will be from someuser@myorigindomain.