babysnake
asked on
sendmail newbie - utterly lost !! -
hi
i'm seriously struggling with setting up a network at home - so much for ambition !!
i have a fedora core 5 box acting as a PDC with a RAID 1 array and am using mdadm to monitor the array
i need to send mdadm alerts via email but can't get it to work ............ here's the setup
PDC
static IP: 192.168.0.80
hostname: boomslang
i have a Smoothwall box (internal IP 192.168.0.1) which does DHCP for the rest of the network
to test the sendmail (which mdadm uses for the alerts) i use
echo "testing neill mail" | mail -s "testing" neill
(neill is a user on the PDC)
in /etc/aliases i have the entry
neill: sysadmin@myISP.com
sysadmin is set up as a mailbox at my ISP and i can send and receive fine from that mailbox (using t'bird from an XP machine)
when i run the sendmail test as root ithe PDC i get a 550 error as below: (email addresses edited)
************************** ********** ********** ********** *******
The original message was received at Tue, 16 May 2006 23:35:20 +0100
from localhost.localdomain [127.0.0.1]
----- The following addresses had permanent fatal errors -----
sysadmin@myISP.com
(reason: 550-Verification failed for <root@localhost.localdomai n>)
(expanded from: <neill@localhost.localdoma in>)
----- Transcript of session follows -----
... while talking to mx.core.plus.net.:
>>>>>> DATA
<<< 550-Verification failed for <root@localhost.localdomai n>
<<< 550-REJECTED: Cannot route message
<<< 550 Sender verify failed
550 5.1.1 sysadmin@myISP.com... User unknown
<<< 503 valid RCPT command must precede DATA
Reporting-MTA: dns; localhost.localdomain
Received-From-MTA: DNS; localhost.localdomain
Arrival-Date: Tue, 16 May 2006 23:35:20 +0100
Final-Recipient: RFC822; neill@localhost.localdomai n
X-Actual-Recipient: RFC822; sysadmin@myISP.com
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mx.core.plus.net
Diagnostic-Code: SMTP; 550-Verification failed for <root@localhost.localdomai n>
Last-Attempt-Date: Tue, 16 May 2006 23:35:20 +0100
Subject:
testing
From:
root <root@localhost.localdomai n>
Date:
Tue, 16 May 2006 23:35:20 +0100
To:
neill@localhost.localdomai n
testing neill mail
************************** ********** ********** ********** ********** **********
i get a similar error if i run the mdadm test command
mdadm --follow --scan --daemonise --delay=10 --test
this means zip to me !! ;(
i'm clearly missing something obvious but i've read some sendmail FAQs, docs and the like and am now simply more confused than ever
anyone able to help me out please ?
neill
i'm seriously struggling with setting up a network at home - so much for ambition !!
i have a fedora core 5 box acting as a PDC with a RAID 1 array and am using mdadm to monitor the array
i need to send mdadm alerts via email but can't get it to work ............ here's the setup
PDC
static IP: 192.168.0.80
hostname: boomslang
i have a Smoothwall box (internal IP 192.168.0.1) which does DHCP for the rest of the network
to test the sendmail (which mdadm uses for the alerts) i use
echo "testing neill mail" | mail -s "testing" neill
(neill is a user on the PDC)
in /etc/aliases i have the entry
neill: sysadmin@myISP.com
sysadmin is set up as a mailbox at my ISP and i can send and receive fine from that mailbox (using t'bird from an XP machine)
when i run the sendmail test as root ithe PDC i get a 550 error as below: (email addresses edited)
**************************
The original message was received at Tue, 16 May 2006 23:35:20 +0100
from localhost.localdomain [127.0.0.1]
----- The following addresses had permanent fatal errors -----
sysadmin@myISP.com
(reason: 550-Verification failed for <root@localhost.localdomai
(expanded from: <neill@localhost.localdoma
----- Transcript of session follows -----
... while talking to mx.core.plus.net.:
>>>>>> DATA
<<< 550-Verification failed for <root@localhost.localdomai
<<< 550-REJECTED: Cannot route message
<<< 550 Sender verify failed
550 5.1.1 sysadmin@myISP.com... User unknown
<<< 503 valid RCPT command must precede DATA
Reporting-MTA: dns; localhost.localdomain
Received-From-MTA: DNS; localhost.localdomain
Arrival-Date: Tue, 16 May 2006 23:35:20 +0100
Final-Recipient: RFC822; neill@localhost.localdomai
X-Actual-Recipient: RFC822; sysadmin@myISP.com
Action: failed
Status: 5.1.1
Remote-MTA: DNS; mx.core.plus.net
Diagnostic-Code: SMTP; 550-Verification failed for <root@localhost.localdomai
Last-Attempt-Date: Tue, 16 May 2006 23:35:20 +0100
Subject:
testing
From:
root <root@localhost.localdomai
Date:
Tue, 16 May 2006 23:35:20 +0100
To:
neill@localhost.localdomai
testing neill mail
**************************
i get a similar error if i run the mdadm test command
mdadm --follow --scan --daemonise --delay=10 --test
this means zip to me !! ;(
i'm clearly missing something obvious but i've read some sendmail FAQs, docs and the like and am now simply more confused than ever
anyone able to help me out please ?
neill
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks anfi
i'll try that
i'll try that
ASKER
a long noght reading through the forums gives me this ....
my ISP cannot resolve root@localhost.localdomain
so it rejects the mail as 'unrouteable'
how do i get round this ?
(i accept i get the message, insofar as i get an error with the message attached, but aesthetics and education demand i fix this - or is it unfixable in this environment ?)