It all started in my Debian box when MON was trying to send an alert via email. I set up sendmail for the express purpose of allowing MON to send email. I didn't get an emailed alert, but I found the message in /var/mail/root. the message included the following error:
*** START ERROR ***
The original message was received at Mon, 2 Aug 2004 17:01:52 -0700
from root@localhost
----- The following addresses had permanent fatal errors -----
me@domain.com
(reason: 553 5.1.8 <root@dns1>... Domain of sender address root@dns1 does no
t exist)
(expanded from:
me@domain.com)
----- Transcript of session follows -----
... while talking to [127.0.0.1]:
>>> MAIL From:<root@dns1> SIZE=700
<<< 553 5.1.8 <root@dns1>... Domain of sender address root@dns1 does not exist
501 5.6.0 Data format error
*** END ERROR ***
I looked in the mail.alert file and saw that the perl script was calling sendmail, so I tried to execute the command directly from the command line and got:
*** START ERROR ***
dns1:~# sendmail -v
me@domain.com
testing
.
WARNING: local host name (dns1) is not qualified; fix $j in config file
me@domain.com... Connecting to [127.0.0.1] port 587 via relay...
me@domain.com... Deferred: Connection refused by [127.0.0.1]
*** END ERROR ***
Is it telling me that I must have a domain name resolving to my server? I know my server can resolve domain names, I can ping yahoo. I've been working for 2 days now on this and I'm not getting anywhere. Sorry if it's something stupid. Any help would be appreciated.