shams Posted January 11, 2007 Report Share Posted January 11, 2007 (edited) hi, i run mandriva 2007 with apche, postfix, dovecot and squirrelmail for my mail server, i change my hostname to example.com, but when send the mail from my local smtp server, postfix send as: user@localhost.example.com that sould be user@example.com, these are some of my configuration files: /etc/posfix/main.cf: # User configurable parameters mydomain = example.com myhostname = example.com inet_interfaces = all mynetworks_style = host #delay_warning_time = 4h /etc/postfix/main.cf.dist: myhostname = example.com mydomain = ecample.com myorigin = $mydomain inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain relay_domains = $mydestination /etc/httpd/conf/httpd.conf: ServerAdmin root@localhost ServerName example.com:80 /etc/hosts: 127.0.0.1 exmaple.com localhost 202.102.185.56 example.com example.com my serve is not always online so i need the first line in /etc/hosts to start the local web server offline. any one can help please? Edited January 12, 2007 by shams Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.