Re: Server identifies itself using internal domain name

2009-07-02 Thread Postmaster
Jonathan Turkanis wrote: Brian Evans - Postfix List wrote: In the future, when I install postfix, will the correct symlinks be created for me, if sendmail is not present, or is this something I have to do manually? (I am using a an RPM from CentOS extras compiled with MySQL support). This is

Re: Server identifies itself using internal domain name

2009-07-01 Thread Jonathan Turkanis
Brian Evans - Postfix List wrote: In the future, when I install postfix, will the correct symlinks be created for me, if sendmail is not present, or is this something I have to do manually? (I am using a an RPM from CentOS extras compiled with MySQL support). This is a distribution question th

Re: Server identifies itself using internal domain name

2009-07-01 Thread Brian Evans - Postfix List
Jonathan Turkanis wrote: > You have identified the problem. Thanks! > > Brian Evans - Postfix List wrote: >> Where are your logs for such an event? > > Looking at the logs again I observed that some of the entries were in > fact from sendmail. > > I was puzzled at first, because the sendmail daemon

Re: Server identifies itself using internal domain name

2009-07-01 Thread Jonathan Turkanis
You have identified the problem. Thanks! Brian Evans - Postfix List wrote: I've tried setting the variables mydomain and myhostname to the correct public domain names in main.cf, but the server still identifies itself as ip-xx-xx-xx-xx.ec2.internal. Are you sure you do not have another MTA such

Re: Server identifies itself using internal domain name

2009-07-01 Thread Brian Evans - Postfix List
Jonathan Turkanis wrote: > I've tried setting the variables mydomain and myhostname to the > correct public domain names in main.cf, but the server still > identifies itself as ip-xx-xx-xx-xx.ec2.internal. > > Any help would be greatly appreciated. > Are you sure you do not have another MTA such a

Re: Server identifies itself using internal domain name

2009-07-01 Thread Jonathan Turkanis
R Johnson wrote: On Tue, 2009-06-30 at 23:58 -0600, Jonathan Turkanis wrote: my post, I have tried setting myhostname = mail.mydomain.com with no effect (server still identifies itself using the internal name). Try this in main.cf JT; # myhostname gives this externally myhostname = mai

Re: Server identifies itself using internal domain name

2009-06-30 Thread Jonathan Turkanis
Corey Chandler wrote: > Jonathan Turkanis wrote: >> >> I can fix the problem by running >> >> hostname mail.mydomain.com >> at boot time, but I would prefer a solution that just involves >> changing the postfix configuration. > That's kinda what my_hostname in main.cf is for. Thanks for the qu

Re: Server identifies itself using internal domain name

2009-06-30 Thread Corey Chandler
Jonathan Turkanis wrote: I can fix the problem by running hostname mail.mydomain.com at boot time, but I would prefer a solution that just involves changing the postfix configuration. That's kinda what my_hostname in main.cf is for. -- Corey Chandler / KB1JWQ Living Legend / Systems E

Server identifies itself using internal domain name

2009-06-30 Thread Jonathan Turkanis
Dear All, I am running postfix on a server in Amazon EC2. Some (but not all) email servers reject mail sent by postfix as spam, apparently because it is identifying itself using a domain name (ip-xx-xx-xx-xx.ec2.internal) that is valid only within the EC2 network. A sanitized except from a ma