PDA

View Full Version : Sendmail problem after upgrade



GITK Services
07-15-2004, 09:46 AM
I upgraded FreeBSD to 4.10-RELEASE, and now all local mail scripts (e.g. website feedback forms etc) that point to a local mail account have a bounce error similar to the following going to the root user:


The original message was received at Thu, 15 Jul 2004 09:33:02 -0700 (PDT)
from localhost.hyperinfinity.net [127.0.0.1]

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

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



Reporting-MTA: dns; server1.hyperinfinity.com
Received-From-MTA: DNS; localhost.hyperinfinity.net
Arrival-Date: Thu, 15 Jul 2004 09:33:02 -0700 (PDT)

Final-Recipient: RFC822; tech@gitk.com
Action: failed
Status: 5.3.5
Diagnostic-Code: SMTP; 553 5.3.5 system config error
Last-Attempt-Date: Thu, 15 Jul 2004 09:33:02 -0700 (PDT)

Subject:
Test Subject
From:
testform@gitk.com
Date:
Thu, 15 Jul 2004 09:33:02 -0700 (PDT)
To:
tech@gitk.com

Automated web query

This is a test enquiry. Something's not quite right here.

I'm assuming it's something to do with the virtual host table or something being overwritten when the upgrade was performed, but can anyone advise how to rebuild / fix the issue? I do have a copy of the /etc files, pre-upgrade, as a backup.

Thanks in advance.
Richard.

DirectAdmin Support
07-15-2004, 12:24 PM
Hello,

Browse through this link and make sure everything is setup correctly.
http://help.directadmin.com/item.php?id=16

John

GITK Services
07-16-2004, 09:58 AM
Found the issue. After doing a pair of telnet's to the SMTP port, one externally and one internally, and looking at the banners, it showed running Sendmail locally, but Exim externally, so it was throwing a fit. I altered the mailer.conf file to point at exim and not sendmail, and did a killall sendmail. It's now talking locally to exim, without a problem. I'm not sure if it's going to try to restart sendmail on reboot, but I couldn't find any startup references, so it should be okay. Just for note to any other upgraders!

Rick.