Welcome to WebmasterWorld Guest from

Forum Moderators: bakedjake

Message Too Old, No Replies

sendmail issues

2:53 pm on May 19, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 18, 2006
posts: 115
votes: 0

I moved my website from one server to another and after this I have had some sendmail issues where some mail providers do not accept inbound mails send from me.

The error I get in my maillog is usually: 'Sender address rejected: Domain not found'

I suspect that the FQDN i use in my HELO is incorrect, however when I do a telnet localhost 25 and execute a HELO I get my FQDN, so it seems correct.

I have tried emailing helocheck@cbl.abuseat.org (see [cbl.abuseat.org...] and got the following response.

Notice that it is trying to verify my hostname which does not have a DNS record. Instead it should have verified my domainname.

However I don't understand how it got my hostname. The HELO uses my domainname (as far as I can tell).

I've got a PTR (Reverse DNS lookup) record which points to my domainname and 2 mx records.

From MAILER-DAEMON@mydomain.co.uk Tue May 19 11:29:21 2009
Date: Tue, 19 May 2009 11:29:20 +0100
From: Mail Delivery Subsystem <MAILER-DAEMON@mydomain.co.uk>
To: <apache@myhostname>
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="n4JATKcd007780.1242728960/ mydomain.co.uk"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--n4JATKcd007780.1242728960/ mydomain.co.uk

The original message was received at Tue, 19 May 2009 11:29:07 +0100
from localhost.localdomain []

----- The following addresses had permanent fatal errors -----
(reason: 550-Verification failed for <apache@myhostname>)

----- Transcript of session follows -----
... while talking to mail-in.cbl.abuseat.org.:
>>> DATA
<<< 550-Verification failed for <apache@myhostname>
<<< 550-Unrouteable address
<<< 550 Sender verify failed
550 5.1.1 <helocheck@cbl.abuseat.org>... User unknown
<<< 503-All RCPT commands were rejected with this error:
<<< 503-Sender verify failed
<<< 503 Valid RCPT command must precede DATA

--n4JATKcd007780.1242728960/ mydomain.co.uk
Content-Type: message/delivery-status

Reporting-MTA: dns; mydomain.co.uk
Received-From-MTA: DNS; localhost.localdomain
Arrival-Date: Tue, 19 May 2009 11:29:07 +0100

Final-Recipient: RFC822; helocheck@cbl.abuseat.org
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mail-in.cbl.abuseat.org
Diagnostic-Code: SMTP; 550-Verification failed for <apache@myhostname>
Last-Attempt-Date: Tue, 19 May 2009 11:29:20 +0100

--n4JATKcd007780.1242728960/ mydomain.co.uk
Content-Type: message/rfc822

Return-Path: <apache@myhostname>
Received: from myhostname (localhost.localdomain [])
by mydomain.co.uk (8.13.8/8.13.8) with ESMTP id n4JAT7cd007778
for <helocheck@cbl.abuseat.org>; Tue, 19 May 2009 11:29:07 +0100
Received: (from apache@localhost)
by myhostname (8.13.8/8.13.8/Submit) id n4JAT7Q1007776;
Tue, 19 May 2009 11:29:07 +0100
Date: Tue, 19 May 2009 11:29:07 +0100
Message-Id: <200905191029.n4JAT7Q1007776@myhostname>
To: helocheck@cbl.abuseat.org
Subject: Welcome to mydomain.co.uk
From: donotreply@mydomain.co.uk
Reply-To: donotreply@mydomain.co.uk
X-Mailer: PHP/5.1.6

the email content here

--n4JATKcd007780.1242728960/ mydomain.co.uk--

Any help is appreciated. Thank you in advance.

5:39 pm on May 20, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 18, 2006
votes: 0

thread may be closed. Newer sendmail versions use submit.cf instead of sendmail.cf as their configuration file. Modified the Dj value (in the right cf file) and viola problem fixed. Optionally use define(`confDOMAIN_NAME', `example.com')dnl in your mc file and build your cf file.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members