Re: How to check sendmail ?

From: Marek Grinberg (marek.grinberg@tele2.se)
Date: Wed May 10 2006 - 06:08:46 EDT


Hello again,

/var/log/syslog revealed that /etc/hosts was incomplete, so I changed it
to contain:
a.b.c.d neat-test loghost mailhost neat-test.x.com

# mailq -v
Mail queue is empty

Mail to root works OK now, but when I send to an external user it fails:
# mail -t marek.grinberg@tele2.se
aaa
.
# mail
 From MAILER-DAEMON Wed May 10 11:56:11 2006
Date: Wed, 10 May 2006 11:56:11 +0200 (MET DST)
From: Mail Delivery Subsystem <MAILER-DAEMON>
Message-Id: <200605100956.LAA00379@neat-test.x.com>
To: postmaster
To: neat
Subject: Returned mail: Local configuration error
Content-Length: 1329

This is a MIME-encapsulated message

--LAA00379.1147254971/neat-test.x.com

The original message was received at Wed, 10 May 2006 11:56:11 +0200
(MET DST)
from root@localhost

  ----- The following addresses had permanent fatal errors -----
marek.grinberg@tele2.se

  ----- Transcript of session follows -----
553 mailhost.han.x.com config error: mail loops back to me (MX problem?)
554 marek.grinberg@tele2.se... Local configuration error

--LAA00379.1147254971/neat-test.x.com
Content-Type: message/delivery-status

Reporting-MTA: dns; neat-test.x.com
Arrival-Date: Wed, 10 May 2006 11:56:11 +0200 (MET DST)

Final-Recipient: RFC822; marek.grinberg@tele2.se
Action: failed
Status: 5.5.0
Remote-MTA: DNS; mailhost.han.x.com
Last-Attempt-Date: Wed, 10 May 2006 11:56:11 +0200 (MET DST)

--LAA00379.1147254971/neat-test.han.x.com
Content-Type: message/rfc822

Return-Path: <neat>
Received: (from root@localhost)
       by neat-test.han.x.com (8.8.8p2+Sun/8.8.8) id LAA00377
       for marek.grinberg@tele2.se; Wed, 10 May 2006 11:56:11 +0200 (MET
DST)
Date: Wed, 10 May 2006 11:56:11 +0200 (MET DST)
From: neat
Message-Id: <200605100956.LAA00377@neat-test.han.x.com>
To: marek.grinberg@tele2.se
Content-Type: text

aaa

--LAA00379.1147254971/neat-test.han.x.com--

?

Apparently the sendmail configuration file does not include a SMTP
entry. How do I set it up ?

Marek

Xavier Mertens skrev:
> Is sendmail running?
> # ps -ef|grep sendmail
>
> Does sendmail listen on SMTP port?
> # telnet localhost 25
>
> To check how sendmail routes mail (depending on sendmail.cf):
> # sendmail -bt
>
> Xavier
> --
> / is the root of all UNIX.
>
> On Wed, 10 May 2006, Marek Grinberg wrote:
>
>
>> Hello,
>>
>> In a Sun E250 running Solaris 5.6 I would like to check whether sendmail
>> is running OK.
>> Pardon my ignorance but how do I do it ?
>>
>> Marek
>> _______________________________________________
>> sunmanagers mailing list
>> sunmanagers@sunmanagers.org
>> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
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:39:50 EDT