Darren Pilgrim wrote:
> 
> Frank Millman wrote:
> > Assume our domain name is example.com, and our email addresses are 
> > f...@example.com, b...@example.com, etc.
> > 
> > In main.cf, I had the following -
> > 
> > myhostname = fcserver.example.com
> > mydomain = example.com
> > myorigin = $mydomain
> > 
> > I have now changed it to -
> > 
> > myhostname = example.com
> > mydomain = com
> > myorigin = $mydomain
> > 
> > It now works, but I don't know why. I thought my domain name was 
> > example.com, and each machine on the network should have a 
> host name 
> > of {host}.example.com.
> > 
> > Please can someone explain where I went wrong.
> 
> Please post the output of postconf -n of the working config 
> and non-working config.  The above really isn't enough to 
> figure out what your problem is/was.

Before (not working)
--------------------
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = example.com
myhostname = fcserver.example.com
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.5.5/README_FILES
relayhost = smtp.tiscali.co.za
sample_directory = /usr/share/doc/postfix-2.5.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550

After (working)
---------------
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, localhost
mydomain = com
myhostname = example.com
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.5.5/README_FILES
relayhost = smtp.tiscali.co.za
sample_directory = /usr/share/doc/postfix-2.5.5/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550

Thanks

Frank

Reply via email to