Hi,
I've set up a linux box to use at work, and Im having a little problem with sending mail. I have a standard FC3 install and am currently using DHCP to obtain an IP address. If I try to send an outgoing mail (e.g, echo "test" | mail irvingd@xxxxxxxx) , it seems to be accepted, but is never delivered. Here's the corresponding entries from my maillog:
Apr 19 09:48:37 nebular sendmail[4678]: j3J8mWUd004678: from=irvingd, size=44, class=0, nrcpts=1, msgid=<200504190848.j3J8mWUd004678@xxxxxxxxxxxxxxxxxxxxx>, relay=irvingd@localhost Apr 19 09:48:37 nebular sendmail[4679]: j3J8mbQj004679: from=<irvingd@xxxxxxxxxxxxxxxxxxxxx>, size=355, class=0, nrcpts=1, msgid=<200504190848.j3J8mWUd004678@xxxxxxxxxxxxxxxxxxxxx>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] Apr 19 09:48:37 nebular sendmail[4678]: j3J8mWUd004678: to=irvingd@xxxxxxxx, ctladdr=irvingd (500/500), delay=00:00:05, xdelay=00:00:00, mailer=relay, pri=30044, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j3J8mbQj004679 Message accepted for delivery) Apr 19 09:48:37 nebular sendmail[4681]: j3J8mbQj004679: to=<irvingd@xxxxxxxx>, ctladdr=<irvingd@xxxxxxxxxxxxxxxxxxxxx> (500/500), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=120355, relay=mail36.messagelabs.com. [193.109.254.211], dsn=2.0.0, stat=Sent (ok 1113900730 qp 20015 server-13.tower-36.messagelabs.com!1113900729!16302711!1)
I suppose the odd thing here is the "irvingd@xxxxxxxxxxxxxxxxxxxxx". I can send successfully from another linux box, the logs are pretty much identical (and the message is delivered). The only difference is that the from address has the full box address (from=<irvingd@xxxxxxxxxxxxx>).
Could this be the reason why mail isn't going through?
Yes. There have been a few threads on this exact issue this week. Most mail servers will not accept mail from unresolvable domains like localhost.localdomain.
Can anyone help me with any config changes I need to change to get outgoing mail working?
Make sure you have the sendmail-cf package installed and then look up "masquerading" in /usr/share/sendmail-cf/README
Paul.