Sendmail problem: 554 5.3.5 Local configuration error

From: Ajay Gupta (ajay_blr1@yahoo.com)
Date: Fri May 25 2007 - 08:33:59 EDT


Dear Sun Admins,

I have sendmail problem in my system. The background
of the problem is given below:

I tried to configure one zone of my Solaris 10 x86
platform for sending mails to outside world (my yahoo
mail id). I took following steps to configure the
sendmail.

1.Edited /etc/hosts file for mailhost entry.
2.Edited hosts map on my NIS master server
3.Edited /etc/mail/local-host-names for the host entry
of the servername (host5.ajaydomain.com) in this case.
4.Enabled sendmail service on this zone.
5.Now tried to test mail to my id. But it is bouncing
back.
6. FYI, I am able to nslookup the yahoo, my host and
other websites from my zone/system.

==================================================
   ----- The following addresses had permanent fatal
errors -----
<some_mail_id@yahoo.com>
    (reason: 553 5.3.5 system config error)

   ----- Transcript of session follows -----
553 5.3.5 mailhost.ajaydomain.com config error: mail
loops back to me (MX problem?)
554 5.3.5 Local configuration error
==================================================

Could you please advice what is wrong I am doing? The
detailed output of other commands is given below.

Best regards,
Ajay

bash-3.00# mail
>From MAILER-DAEMON Fri May 25 07:06:07 2007
Date: Fri, 25 May 2007 07:06:07 -0400 (EDT)
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id:
<200705251106.l4PB67Yk005606@host5.ajaydomain.com>
To: postmaster
To: <root@host5.ajaydomain.com>
Subject: Returned mail: see transcript for details
Content-Length: 3955

This is a MIME-encapsulated message

--l4PB67Yk005606.1180091167/host5.ajaydomain.com

The original message was received at Fri, 25 May 2007
07:06:07 -0400 (EDT)
from localhost [127.0.0.1]

   ----- The following addresses had permanent fatal
errors -----
<some_mail_id@yahoo.com>
    (reason: 553 5.3.5 system config error)

   ----- Transcript of session follows -----
553 5.3.5 mailhost.ajaydomain.com config error: mail
loops back to me (MX problem?)
554 5.3.5 Local configuration error

--l4PB67Yk005606.1180091167/host5.ajaydomain.com
Content-Type: message/delivery-status

Reporting-MTA: dns; host5.ajaydomain.com
Received-From-MTA: DNS; localhost
Arrival-Date: Fri, 25 May 2007 07:06:07 -0400 (EDT)

Final-Recipient: RFC822; some_mail_id@yahoo.com
Action: failed
Status: 5.3.5
Diagnostic-Code: SMTP; 553 5.3.5 system config error
Last-Attempt-Date: Fri, 25 May 2007 07:06:07 -0400
(EDT)

--l4PB67Yk005606.1180091167/host5.ajaydomain.com
Content-Type: message/rfc822

Return-Path: <root@host5.ajaydomain.com>
Received: from host5.ajaydomain.com (localhost
[127.0.0.1])
        by host5.ajaydomain.com (8.13.7+Sun/8.13.7)
with ESMTP id l4PB67Yk005604
        for <some_mail_id@yahoo.com>; Fri, 25 May 2007
07:06:07 -0400 (EDT)
Received: (from root@localhost)
        by host5.ajaydomain.com
(8.13.7+Sun/8.13.7/Submit) id l4PB669J005603
        for some_mail_id@yahoo.com; Fri, 25 May 2007
07:06:06 -0400 (EDT)
Date: Fri, 25 May 2007 07:06:06 -0400 (EDT)
From: Super-User <root@host5.ajaydomain.com>
Message-Id:
<200705251106.l4PB669J005603@host5.ajaydomain.com>
To: some_mail_id@yahoo.com

total 86
drwxrwxr-x 8 root sys 512 May 25 03:10
adm
drwxr-xr-x 9 root bin 512 Feb 10 14:19
apache
drwxr-xr-x 9 root bin 512 Feb 10 14:24
apache2
drwxr-xr-x 2 root sys 512 Feb 10 13:53
audit
drwxr-xr-x 3 root bin 512 May 20 20:21
yp

--l4PB67Yk005606.1180091167/host5.ajaydomain.com--

?

bash-3.00# echo '$=w' | sendmail -bt -d0.4
Version 8.13.7+Sun
 Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8
                MIME8TO7 NAMED_BIND NDBM NETINET
NETINET6 NETUNIX NEWDB NIS
                NISPLUS PIPELINING SCANF STARTTLS
TCPWRAPPERS USERDB
                USE_LDAP_INIT XDEBUG
Canonical name: host5.ajaydomain.com
 UUCP nodename: host5
        a.k.a.: host5
        a.k.a.: mailhost
        a.k.a.: [192.168.15.115]
        a.k.a.: [127.0.0.1]
        a.k.a.: loghost

============ SYSTEM IDENTITY (after readcf)
============
      (short domain name) $w = host5
  (canonical domain name) $j = host5.ajaydomain.com
         (subdomain name) $m = ajaydomain.com
              (node name) $k = host5
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically
invoked)
Enter <ruleset> <address>
> loghost
[192.168.15.115]
[loghost]
localhost
host5.ajaydomain.com
host5
[127.0.0.1]
mailhost
> bash-3.00#

bash-3.00# nslookup www.yahoo.com
Server: 192.168.15.1
Address: 192.168.15.1#53

Non-authoritative answer:
www.yahoo.com canonical name =
www.yahoo-ht3.akadns.net.
Name: www.yahoo-ht3.akadns.net
Address: 69.147.114.210

bash-3.00#
bash-3.00# nslookup yahoo.com
Server: 192.168.15.1
Address: 192.168.15.1#53

Non-authoritative answer:
Name: yahoo.com
Address: 216.109.112.135

bash-3.00# nslookup host5
Server: 192.168.15.1
Address: 192.168.15.1#53

Non-authoritative answer:
Name: host5.ajaydomain.com
Address: 205.178.145.65

bash-3.00# nslookup host5.ajaydomain.com
Server: 192.168.15.1
Address: 192.168.15.1#53

Non-authoritative answer:
Name: host5.ajaydomain.com
Address: 205.178.145.65

bash-3.00# zonename
zone5
bash-3.00# hostname
host5
bash-3.00# svcs sendmail
STATE STIME FMRI
online 7:04:29 svc:/network/smtp:sendmail

bash-3.00# ypcat -k hosts | grep host5
host5.ajaydomain.com 192.168.15.115
host5.ajaydomain.com host5 mailhost
mailhost 192.168.15.115 host5.ajaydomain.com host5
mailhost
host5 192.168.15.115 host5.ajaydomain.com host5
mailhost

bash-3.00# domainname
ajaydomain.com

 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:41:59 EDT