[plug] Problems with Sendmail

Mark O'Shea mark at musicalstoat.co.uk
Fri Jan 7 12:49:18 WST 2005


On Fri, 2005-01-07 at 12:35, J. Richard Mortimer wrote:
> Hi Mark,
> 
> I restarted sendmail by doing a "ps -ef|grep sendmail", then killing the
> sendmail process (ie kill xxxx); after this I issued a "sendmail -bd -q10m"
> command to start it up again.
> 
> The IP address is correct, webbot is the local name for the machine, and
> neophytte.mine.nu is the address given via dyndns.org to allow external
> people to connect.
> 
> Looking through previous logs (these ones are from October 6 2004) an
> example entry looks like:
> 
> Oct  6 15:03:55 webbot sendmail[13286]: i9673tIo013286:
> to=mortimer at localhost, ctladdr=apache (48/48), delay=00:0
> 0:00, xdelay=00:00:00, mailer=relay, pri=30109, relay=localhost.localdomain.
> [127.0.0.1], dsn=2.0.0, stat=Sent (i
> 9673thE013288 Message accepted for delivery)
> Oct  6 15:03:55 webbot sendmail[13289]: i9673thE013288:
> to=<mortimer at localhost.localdomain>, ctladdr=<apache at loca
> lhost.localdomain> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=local,
> pri=32270, dsn=2.0.0, stat=Sent
> 
> Thanks
> 
> Richard
> 

Okay, okay, I think I see the problem.  Your sendmail is accepting the
mail locally, then saying, wait a second, we don't accept that domain
here, we better forward it on to who does, so it does a lookup for the
ip address and try's to connect to that (blissfully unaware that it is
it's own ip address), then it finds that that one doesn't accept
connections (which should have been fixed before by what I said but
doen't seem to have been, but it shouldn't matter anyway).

So all you need to do is add in your domain with those that sendmail
accepts mail for, which is in file, er probably local-host-names with
all the other dbs, but it might be the old name.


-- 
Mark O'Shea 




More information about the plug mailing list