Re: [CentOS] Sendmail and headers

2008-09-22 Thread Chris Boyd
On Sep 22, 2008, at 5:58 AM, Bob Hoffman wrote: Received: from 45.45.01.01 (EHLO server.myserverhostname.com) (45.45.01.01) You should have a PTR record for your IP address that matches the name that the server has configured in the define(`confDOMAIN_NAME', `server.foo.com') line

Re: [CentOS] Sendmail and headers

2008-09-22 Thread John R Pierce
Bob Hoffman wrote: I don't know what you mean by "some domains". How are you implementing the domains? I have a server. It has centos. I run apache. I have domains on there, websites.. Each is listed in the dns and some are ip based and some name based. a mail server needs REVE

RE: [CentOS] Sendmail and headers

2008-09-22 Thread Bob Hoffman
> I don't know what you mean by "some domains". How are you > implementing the domains? I have a server. It has centos. I run apache. I have domains on there, websites.. Each is listed in the dns and some are ip based and some name based. ___ CentO

Re: [CentOS] Sendmail and headers

2008-09-22 Thread Stephen Harris
On Mon, Sep 22, 2008 at 09:55:47AM -0400, Bob Hoffman wrote: > Nope, just one server with some domains. One server with the dns, sendmail > and domains all bundled up in a nice pile. I don't know what you mean by "some domains". How are you implementing the domains? -- rgds Stephen ___

RE: [CentOS] Sendmail and headers

2008-09-22 Thread Bob Hoffman
> > If these are virtual machines (uml, xen, vmware, whatever) > then the host could do IP NAT so that traffic _looks_ like > it's coming from the host (or another of the virtual > machines). If they're physically seperate boxes then you > need to arrange for a smart-host type setup and ha

Re: [CentOS] Sendmail and headers

2008-09-22 Thread Stephen Harris
> > The IP address reported is the _actual_ IP address of the > > machine connecting, not the IP address of the "ehlo" > > response. You can't masquerade that in sendmail at all. > I am thinking there is no way then, to use virtual domains and have the mail > server show up as mail.mydomain.com

Re: [CentOS] Sendmail and headers

2008-09-22 Thread Stephen Harris
On Mon, Sep 22, 2008 at 08:56:18AM -0400, Bob Hoffman wrote: > At last a lifeline. > That would be the canonical hostname right, the $j? > > So would you use masquerade or some kind of local_domain setting to make the > receiving client see the proper information in ehlo relating to the domain > t

RE: [CentOS] Sendmail and headers

2008-09-22 Thread Bob Hoffman
> > The IP address reported is the _actual_ IP address of the > machine connecting, not the IP address of the "ehlo" > response. You can't masquerade that in sendmail at all. > > If you set the canonical name (Dj, confDOMAIN_NAME) then your > machine will pretend to be that name for > sen

RE: [CentOS] Sendmail and headers

2008-09-22 Thread Josh Donovan
Bob Hoffman wrote: > At last a lifeline. Wow fantastic stuff. You would be a star if you followed some of the tips at http://lists.centos.org/pipermail/centos/2008-September/064533.html particularly bottom posting. Thanks, Josh. ___ CentOS mailing

RE: [CentOS] Sendmail and headers

2008-09-22 Thread Bob Hoffman
> To: CentOS mailing list > Subject: Re: [CentOS] Sendmail and headers > > > Received: from 45.45.01.01 (EHLO server.myserverhostname.com) > > (45.45.01.01) > > > > Where it should have the ip address of the website and the website > > mail.website.com... >

Re: [CentOS] Sendmail and headers

2008-09-22 Thread Stephen Harris
> Received: from 45.45.01.01 (EHLO server.myserverhostname.com) (45.45.01.01) > > Where it should have the ip address of the website and the website > mail.website.com... This line is added by the RECEIVING machine. The IP address is that which connected to the receiving machine. The "ehlo" va