Postfix & Hostname problems.

Erik Ellestad eje at cmpharm.ucsf.edu
Wed Jan 5 00:25:36 UTC 2005


Hi...

If your domain has an MX record pointing to your FC2's A record, you 
don't probably want to change the myhostname setting.  Really it is 
best to leave that alone.

Probably it would be better to change the "mydomain = 
mail.mydomain.com" and "myorigin = $mydomain" settings.

Erik

>Hi Everyone,
>
>Happy New Year!
>
>I am new to Postfix and I have read various documentation on 
>configuring it, but I am having a problem understanding/get to work 
>properly the $myhostname setting.
>
>Basically heres what I am trying to acheive...
>
>I have a domain name hosted with a company with an MX record 
>pointing to my dedicated FC2 Linux server, that is hosted with 
>another company (I do not want to change this). My dedicated server 
>already has a FQDN hostname that was assigned by the hosting 
>company. However, I want Postfix to use my domain name instead of 
>the system name. So, as far as I understood all I had to do to 
>overide this is edit main.cf and put in 
>myhostname=mail.mydomain.com. But this causes all sorts of problems; 
>for some reason Postfix still insists on using the system hostname. 
>If I run 'postconf -n' mydomain is listed, so why don't it work? am 
>I assuming it can be overridden when a FQDN hostname already exists, 
>but it cannot? Arrrggggggggghhhhhhhhhhhh! :)
>
>I've spent hours on this, but can't get no further. Please help.
>
>p.s. if I am being a bit vague or you want details of what goes 
>wrong, I will supply them; just didn't want to bore you all to death 
>:)
>
>--
>fedora-list mailing list
>fedora-list at redhat.com
>To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list


-- 

Erik Ellestad
UCSF, Genentech Hall
600 16th Street, N476D
San Francisco, CA 94143-2240
ph: 415-476-6987
fax: 415-476-6515




More information about the users mailing list