Operating System - Linux
1829759 Members
21891 Online
109992 Solutions
New Discussion

sendmail 8.9.3 - SMTP - mail issues

 
Vinod Subramanian
Occasional Contributor

sendmail 8.9.3 - SMTP - mail issues

I have checked my sendmail configuration (sendmail -v user@host.domain.com) and the sendmail.cf, aliases file and everything looks ok. I am getting notifications from this system through sendmail.

I am getting a mail message from mailer-daemon about a failed delivery repeatedly. I am not able to figure out what is causing this mail to be delivered repeatedly. Everything was working fine. I only change done was sendmail was restarted around 2 hrs prior to the getting the first mail from mailer-daemon.

I have alias set for mailer-daemon to Unix.Sysadmins@mydom.com

nslookup on test1.mydom.com returns the ip-address of the system. resolv.conf has the correct entry for the domain and ip address of nameservers. nsswitch.conf has dns entry followed by entry for files. I also tried putting files before dns with no change in result.

I have sent mail directly to both root@test1.mydom.com and Unix.Sysadmins@mydom.com and it gets delivered to the admin inbox. I also see the entries in /var/adm/syslog/mail.log when that happens, but for the mailed getting bounced I don't see any entries in the mail.log file.

Any help will be appreciated.


Error message in the mail from the mailer-daemon
----------------------------------



-----Original Message-----
From: Mail Delivery Subsystem [mailto:MAILER-DAEMON@test1.mydom.com]
Sent: Tuesday, July 29, 2003 1:16 AM
To: root@test1.mydom.com
Subject: Returned mail: Data format error


The original message was received at Tue, 29 Jul 2003 01:16:03 -0400 (EDT)
from root@localhost

----- The following addresses had permanent fatal errors -----
Unix.Sysadmins@mydom.com
(expanded from: root)

----- Transcript of session follows -----
>>> MAIL From: SIZE=382
<<< 553 5.1.8 ... Domain of sender address root@test1.mydom.com does not exist
501 Unix.Sysadmins@mydom.com... Data format error



2 REPLIES 2
Bobby Vocque_2
Advisor

Re: sendmail 8.9.3 - SMTP - mail issues

Vinod,

The following is an excerpt from RFC 2821 obtainable from ftp://ftp.rfc-editor.org/in-notes/rfc2821.txt and attached:

Despite the apparent
scope of this requirement, there are circumstances in which the
acceptability of the reverse-path may not be determined until one or
more forward-paths (in RCPT commands) can be examined. In those
cases, the server MAY reasonably accept the reverse-path (with a 250
reply) and then report problems after the forward-paths are received
and examined. Normally, failures produce 550 or 553 replies.

Historically, the can contain more than just a
mailbox, however, contemporary systems SHOULD NOT use source routing
(see appendix C).
Francisco J. Soler
Honored Contributor

Re: sendmail 8.9.3 - SMTP - mail issues

Hi Vinod,

If possible you should try with postsfix, is another mailer like sendmail, but is easier to configure.

Check it at: http://www.postfix.org

Is only a sugestion.

Frank.
Linux?. Yes, of course.