On Thu, Mar 22, 2001 at 09:57:54PM -0000, James & Cybèle wrote:
I'm including the last part of a sendmail log in th hope that someone can help be iron out the "last" fault in an otherwose working system....Some of it refers , I'm sure to older faults I've now worked out.
SENDMAIL LOG...... Feb 27 13:58:24 linux popper[1070]: (v2.53) Unable to get canonical name of client, err = 0
Your POP daemon seems to be complaining that it can't do a CNAME lookup via DNS. You'd have to look at the docs for it to see how you can work around it but this doesn't have anything to do with receiving your email via SMTP from Demon.
Feb 27 13:58:24 linux popper[1070]: Stats: southlee 0 0 0 0 Feb 27 13:58:25 linux popper[1071]: (v2.53) Unable to get canonical name of client, err = 0 Feb 27 13:58:25 linux popper[1071]: Stats: southlee 0 0 0 0 Feb 27 13:58:25 linux popper[1072]: (v2.53) Unable to get canonical name of client, err = 0 Feb 27 13:58:25 linux popper[1072]: Stats: southlee 0 0 0 0 Feb 27 14:05:11 linux sendmail[1106]: OAA01106: from=<southlee>, size=1235, class=0, pri=31235, nrcpts=1, msgid=<000801c0a0c4$039b08a0$0b01a8c0@sl2>, proto=SMTP, relay=[192.168.1.11] Feb 27 14:05:11 linux sendmail[1106]: OAA01106: to=
, delay=00:00:00, mailer=local, stat=queued Feb 27 14:05:24 linux sendmail[1108]: OAA01106: to= , ctladdr=<southlee> (500/100), delay=00:00:13, xdelay=00:00:00, mailer=local, stat=Sent
This one got sent OK.
Feb 27 14:17:30 linux popper[1135]: (v2.53) Unable to get canonical name of client, err = 0 Feb 27 14:17:30 linux popper[1135]: Stats: southlee 0 0 0 0 Feb 27 14:17:37 linux popper[1136]: (v2.53) Unable to get canonical name of client, err = 0 Feb 27 14:17:37 linux popper[1136]: Stats: southlee 0 0 0 0 Feb 27 14:20:48 linux sendmail[1178]: OAA01178: from=
, size=324, class=0, pri=30324, nrcpts=1, msgid= , proto=ESMTP, relay=southlee@localhost Feb 27 14:20:48 linux sendmail[1178]: OAA01178: to= , delay=00:00:00, mailer=relay, stat=queued Feb 27 14:21:41 linux sendmail[1327]: OAA01327: from= , size=324, class=0, pri=30324, nrcpts=1, msgid= , proto=ESMTP, relay=feynman@localhost Feb 27 14:21:41 linux sendmail[1327]: OAA01327: to= , delay=00:00:00, mailer=relay, stat=queued Feb 27 14:39:30 linux sendmail[1349]: OAA01178: to= , delay=00:18:42, xdelay=00:00:10, mailer=relay, relay=smtp.demon.co.uk [194.217.242.55], stat=Sent (OK id=14XlDN-000LvV-0A) Feb 27 14:39:31 linux sendmail[1349]: OAA01327: to= , delay=00:17:50, xdelay=00:00:01, mailer=relay, relay=smtp.demon.co.uk [194.217.242.55], stat=Sent (OK id=14XlDO-000LvV-0A)
As did these 2, so your outgoing setup seems OK.
Mar 1 16:26:12 linux sendmail[848]: QAA00847: forward /home/southlee/.forward.linux+: World writable directory Mar 1 16:26:12 linux sendmail[848]: QAA00847: forward /home/southlee/.forward+: World writable directory Mar 1 16:26:12 linux sendmail[848]: QAA00847: forward /home/southlee/.forward.linux: World writable directory Mar 1 16:26:12 linux sendmail[848]: QAA00847: forward /home/southlee/.forward: World writable directory
These dot files you have to: [southlee]$ chmod 600 .forward etc.
Mar 20 18:19:04 linux sendmail[1357]: starting daemon (8.9.3): SMTP Mar 20 18:19:04 linux sendmail[1357]: NOQUEUE: SYSERR(root): opendaemonsocket: cannot bind: Address already in use
There's something already running on port 25, have a look at the output of: $ ps aux | less Try: $ telnet localhost 25 & see what gives. If you've got an smtp daemon running on it then you'll get something similar to this: [frank@peach frank]$ telnet peach 25 Trying 192.168.56.5... Connected to peach.veggie.com. Escape character is '^]'. 220 peach.veggie.com ESMTP This assumes that you're allowed to connect to it which is where tcpwrappers and hosts.allow comes into it. Tcpwrappers logs to syslog so any errors will be logged to /var/log/messages or /var/log/secure. Demon automatically tries to push mail on to you when your connection comes up and if it's not allowed to by your hosts allow/deny setup, then the error will be logged but not in your maillog, which is why there doesn't seem to be anything on that front in the log you posted. You can find out what's currently allowed to connect to which services by: # /usr/sbin/tcpdchk -v -i /etc/inetd.conf BTW, if you get sick of Sendmail (doesn't everybody?), I can tell you how to setup qmail. -- Frank *-------*-----*-----*-----*-----*-----*-----*-----*-----*-------* | Boroughbridge | Tel: 01423 323019 | PGP keyID: 0xC0B341A3 | *-------*-----*-----*-----*-----*-----*-----*-----*-----*-------* http://www.esperance-linux.co.uk/