Postfix & Hostname problems.

Ow Mun Heng Ow.Mun.Heng at wdc.com
Wed Jan 5 04:33:10 UTC 2005


On Wed, 2005-01-05 at 08:25, Erik Ellestad wrote:
> 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.

Actually that would just work. I have a FC3 server which runs on postfix
and it's internal Hostname and its mail domain name (dyndns) is
different.

To accept mails for the dyndns domain, just use the mydestination
parameter.

Then again, I use virtual domains.

> 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

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 12:30:10 up 3:28, 6 users, 
load average: 0.54, 0.43, 0.38 




More information about the users mailing list