homepage Welcome to WebmasterWorld Guest from 54.211.230.186
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
sendmail issues
darkage

5+ Year Member



 
Msg#: 3916494 posted 2:53 pm on May 19, 2009 (gmt 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 [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<helocheck@cbl.abuseat.org>
(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 [127.0.0.1])
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.

 

darkage

5+ Year Member



 
Msg#: 3916494 posted 5:39 pm on May 20, 2009 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved