apache is a bad mail sender
am 21.01.2008 13:57:06 von Harri Lumme
Hi all,
A couple of months ago I posted a message about the problem of rejected
intranet address. With the only piece of advice I received, I set up a
reverse DNS entry for our public IP address, but with no success for
solving the problem.
Assuming that the error message:
(Deferred: 450 4.1.8 : Sender address
rejected: Domain not found)
is accurate, the problem would be in the localdomain being in the
sender field (?).
I have set up MASQUERADE_AS to point at our official domain name, but
it does not seem to work in this case. Could the apache with the
localdomain be masqueraded already in Apache configuration file? What
could I do to get the domain name acceptable??
Thanks for help, Harri
Re: apache is a bad mail sender
am 21.01.2008 16:35:40 von gtaylor
On 01/21/08 06:57, Harri Lumme wrote:
> I have set up MASQUERADE_AS to point at our official domain name, but it
> does not seem to work in this case. Could the apache with the
> localdomain be masqueraded already in Apache configuration file? What
> could I do to get the domain name acceptable??
I'm not certain, but I believe this to be an Apache mis-configuration?
Grant. . . .
Re: apache is a bad mail sender
am 21.01.2008 21:40:25 von Andrzej Filip
Harri Lumme writes:
> A couple of months ago I posted a message about the problem of
> rejected intranet address. With the only piece of advice I received, I
> set up a reverse DNS entry for our public IP address, but with no
> success for solving the problem.
>
> Assuming that the error message:
> (Deferred: 450 4.1.8 : Sender address
> rejected: Domain not found)
> is accurate, the problem would be in the localdomain being in the
> sender field (?).
>
> I have set up MASQUERADE_AS to point at our official domain name, but
> it does not seem to work in this case. Could the apache with the
> localdomain be masqueraded already in Apache configuration file? What
> could I do to get the domain name acceptable??
>
> Thanks for help, Harri
Most likely:
1) Your apache left setting envelope sender address to sendmail
(submit.cf).
2) Sendmail (submit.cf) appended "this host email name"
(localhost.localdomain) to user name (apache).
3) submit.cf tried to send the message to sendmail daemon listening
on 127.0.0.1:25 sendmail.cf
4) sendmail daemon listening on 127.0.0.1:25 (sendmail.cf) refused to
accept message due to bad envelope domain
Read the link below but remember that in your case the domain is
appended by submit.cf (not sendmail.cf):
http://www.sendmail.org/m4/whoami.html
--
[pl>en: Andrew] Andrzej Adam Filip : anfi@priv.onet.pl : anfi@xl.wp.pl
Open-Sendmail: http://open-sendmail.sourceforge.net/
> I'm an idiot.. At least this [bug] took about 5 minutes to find..
Disquieting ...
-- Gonzalo Tornaria in response to Linus Torvalds's
----
http://groups.google.com/groups?selm=87r6ga3oau@john.fsf.hob by-site.com