[rt-users] $RT::MailCommmand = smtp

Steve Poirier steve at Inet-technologies.com
Wed Aug 8 12:25:46 EDT 2001


Ok i understand what you're talking about:

220 max.inet-interactif.com ESMTP Sendmail 8.9.3/8.9.3; Wed, 8 Aug 2001
12:29:16 -0400
helo steve
250 max.inet-interactif.com Hello root at ns2.inet-interactif.com
[216.218.2.249], pleased to meet you
mail from: nobody at jfdkjfkdjf.bog
501 nobody at jfdkjfkdjf.bog... Sender domain must exist
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

And your prob is:

> > > rejects such messages since myhost.mydomain.com does not resolve on
> > > the DNS (myhost is into the company network, and not on the DMZ
> > > neither the internet).

There is no way you can make the host to be resolved?? I don;t really
understand what you mean about your host is on the company network..) do you
have control of DNS records for this domain?

__
Steve Poirier
Inet Technologies Inc.
http://www.inet-technologies.com


----- Original Message -----
From: "Rafael Corvalan" <Rafael.Corvalan at linkvest.com>
To: "Steve Poirier" <steve at inet-technologies.com>
Cc: <rt-users at lists.fsck.com>
Sent: August 8, 2001 11:22
Subject: RE: [rt-users] $RT::MailCommmand = smtp


> Hi Steve,
> The real problem is not about "nobody", it's really on the domain name.
> Try sending an e-mail with the "MAIL FROM:" set to
> <steve at dummy.inet-technologies.com> to anything at ubp.ch (a private
> bank....).
> Your mail will be rejected because "dummy.inet-technologies.com" is not
> known to the DNS...
> And if your sendmail is configured to set "localhost", it's even worst I
> think ;-)))
>
> It's just that some mail servers, to avoid spamming, check that the
> "MAIL FROM:" adress has a domain name known on DNS.
>
> Cheers
> Rafael
>
> -----Original Message-----
> From: Steve Poirier [mailto:steve at Inet-technologies.com]
> Sent: mercredi, 8. août 2001 17:07
> To: Rafael Corvalan
> Cc: rt-users at lists.fsck.com
> Subject: Re: [rt-users] $RT::MailCommmand = smtp
>
>
> Hi Rafael,
> Well i don't really think it's a problem. A lot of our mailing scripts
> use sendmail and yes its true, in the header it's always
> 'apache-user'@localhost for example, but we don't use nobody for RT.  To
> not use nobody, what we do is we run another apache configured on
> another port with user rt. RT process are big, and it give us the
> opportunity to run a standard apache server 80 on this machine that
> don;t ned to handle RT for each external requests not related to RT. (I
> know its bad to not use nobody but the machine is very
> secure)
> __
> Steve Poirier
> Inet Technologies Inc.
> http://www.inet-technologies.com
>
>
> ----- Original Message -----
> From: "Rafael Corvalan" <Rafael.Corvalan at linkvest.com>
> To: "Steve Poirier" <steve at inet-technologies.com>
> Cc: <rt-users at lists.fsck.com>
> Sent: August 8, 2001 03:27
> Subject: RE: [rt-users] $RT::MailCommmand = smtp
>
>
> > Hello Steve,
> > "mydomain" was just an example to avoid putting my real domain name.
> > In my case you cas replace it with "linkvest.com".
> >
> > My config.pm is correctly setup, all the e-mail sent go with the
> > "From:" field set to "rtXXX at linkvest.com". The problem is not the
> > "From:" field that is correctly set by RT, but the "MAIL FROM: <...>"
> > in the SMTP connection. sendmail sets the "MAIL FROM:" to the
> > username at myhost.mydomain (in my case (nobody at rt.linkvest.com), since
> > RT apache runs as "nobody" and the host where it runs is
> > "rt.linkvest.com"). There is no way to change this unless sendmail is
> > used with the -f parameter. Iy you are root, no problem. But if you
> > aren't, some sendmail version correctly sets the "MAIL FROM:" in the
> > SMTP connection, but adds a header X-Authentication-Warning to tell
> > "hey man, maybe youe are not who you tell you are".
> >
> > Let's take a simple example:
> >
> > I am the user "rco" loged on "lynx.mydomain.com":
> >
> > [lynx | rco] ~ > /usr/sbin/sendmail test at sun.com
> > From: <dummy at mydomain.com>
> > Hello !
> > <CTRL-D>
> >
> >
> > The mail is sent to test at sun.com ant it IS from "dummy at mydomain.com".
> > But if you sniff the connection, you will see:
> >
> >
> > MAIL FROM: <rco at lynx.mydomain.com>
> > <... cutted ...>
> > From: <dummy at mydomain.com>
> > <... cutted ...>
> >
> >
> >
> > That's all....
> >
> > Cheers
> > Rafael







More information about the rt-users mailing list