richardwalton
asked on
Sending mail from Redhat 9
I'm using a web based helpdesk system (modelled on the IRM from www.Altrustrialie.org) which has always been associated with a domain name.
This is on a redhat 9 box with lamp.
We have just installed a number of public IP addresses on the LAN and want to use one for our helpdesk system.
The problem is when i try to change adddress from the dns (wtl.2y.net) url to the IP address (81.188.8.80), email ceases to function.
In the mail log i see the following:
Final-Recipient: RFC822; support@wtl.be
Action: failed
Status: 5.1.1
Remote-MTA: DNS; smtp.easynet.be
Diagnostic-Code: SMTP; 550-Verification failed for <apache@linux2.localdomain >
Broadcast message from root (Wed Sep 22 14:28:59 2004):
Under the network settings i have mapped linux2 to the public IP of 81.188.8.80 but this has not helped much. Can anyone suggest some ideas?
Twisted up.
rIcHyRich.
This is on a redhat 9 box with lamp.
We have just installed a number of public IP addresses on the LAN and want to use one for our helpdesk system.
The problem is when i try to change adddress from the dns (wtl.2y.net) url to the IP address (81.188.8.80), email ceases to function.
In the mail log i see the following:
Final-Recipient: RFC822; support@wtl.be
Action: failed
Status: 5.1.1
Remote-MTA: DNS; smtp.easynet.be
Diagnostic-Code: SMTP; 550-Verification failed for <apache@linux2.localdomain
Broadcast message from root (Wed Sep 22 14:28:59 2004):
Under the network settings i have mapped linux2 to the public IP of 81.188.8.80 but this has not helped much. Can anyone suggest some ideas?
Twisted up.
rIcHyRich.
ASKER
OK i've reconfigured the system back the way it was, using the domain name wtl.2y.net which maps to our external router(81.188.8.66) which takes it through to the NAT table and into 192.168.0.227 on port 28000
In my fwd looking DNS server I have a pointer that states: linux2 = 192.168.0.227
on the reverse i have :
linux2.wtl.be = 192.168.0.227
In my mail log from the linux box it tells me that previously the host name had been root@wtl.2y.net. e.g.
Sep 19 08:41:02 linux2 sendmail[25245]: i8J6f1dZ025243: to=<root@wtl.2y.net>, delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30478, relay=smtp.easynet.be. [212.100.160.77], dsn=2.0.0, stat=Sent (OK id=1C8vO5-0002iw-D8)
but now I see the following in my log instead and i dont receive the email:
Sep 22 17:56:22 linux2 sendmail[4644]: i8MFuMQX004644: from=apache, size=2536, class=0, nrcpts=2, msgid=<200409221556.i8MFuM QX004644@l inux2.wtl. be>, relay=apache@localhost
Sep 22 17:56:22 linux2 sendmail[4646]: i8MFuMPr004646: from=<apache@linux2.wtl.be >, size=2758, class=0, nrcpts=2, msgid=<200409221556.i8MFuM QX004644@l inux2.wtl. be>, proto=ESMTP, daemon=MTA, relay=localhost.localdomai n [127.0.0.1]
Sep 22 17:56:22 linux2 sendmail[4644]: i8MFuMQX004644: to=support@wtl.be,richard. walton@wtl .be, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60155, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (i8MFuMPr004646 Message accepted for delivery)
Sep 22 17:56:22 linux2 sendmail[4648]: i8MFuMPr004646: to=<richard.walton@wtl.be> , ctladdr=<apache@linux2.wtl .be> (48/48), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=60377, relay=smtp.easynet.be. [212.100.160.77], dsn=5.1.1, stat=User unknown
Sep 22 17:56:23 linux2 sendmail[4648]: i8MFuMPr004646: to=<support@wtl.be>, ctladdr=<apache@linux2.wtl .be> (48/48), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=60377, relay=smtp.easynet.be. [212.100.160.77], dsn=2.0.0, stat=Sent (OK id=1CA9UZ-0002RW-Pe)
Sep 22 17:56:23 linux2 sendmail[4648]: i8MFuMPr004646: i8MFuNPr004648: DSN: User unknown
Sep 22 17:56:23 linux2 sendmail[4648]: i8MFuNPr004648: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=33782, dsn=2.0.0, stat=Sent
Any Ideas?
In my fwd looking DNS server I have a pointer that states: linux2 = 192.168.0.227
on the reverse i have :
linux2.wtl.be = 192.168.0.227
In my mail log from the linux box it tells me that previously the host name had been root@wtl.2y.net. e.g.
Sep 19 08:41:02 linux2 sendmail[25245]: i8J6f1dZ025243: to=<root@wtl.2y.net>, delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30478, relay=smtp.easynet.be. [212.100.160.77], dsn=2.0.0, stat=Sent (OK id=1C8vO5-0002iw-D8)
but now I see the following in my log instead and i dont receive the email:
Sep 22 17:56:22 linux2 sendmail[4644]: i8MFuMQX004644: from=apache, size=2536, class=0, nrcpts=2, msgid=<200409221556.i8MFuM
Sep 22 17:56:22 linux2 sendmail[4646]: i8MFuMPr004646: from=<apache@linux2.wtl.be
Sep 22 17:56:22 linux2 sendmail[4644]: i8MFuMQX004644: to=support@wtl.be,richard.
Sep 22 17:56:22 linux2 sendmail[4648]: i8MFuMPr004646: to=<richard.walton@wtl.be>
Sep 22 17:56:23 linux2 sendmail[4648]: i8MFuMPr004646: to=<support@wtl.be>, ctladdr=<apache@linux2.wtl
Sep 22 17:56:23 linux2 sendmail[4648]: i8MFuMPr004646: i8MFuNPr004648: DSN: User unknown
Sep 22 17:56:23 linux2 sendmail[4648]: i8MFuNPr004648: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=33782, dsn=2.0.0, stat=Sent
Any Ideas?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
:)) well what a supprise. Its been about 6 hours since i've been unable to send email and you hit the nail on the head:))
Under the network settings I had:
192.168.0.229 = linux2.wtl.be
AND!!
81.188.8.66 = wtl.2y.net
a mistake that has caused me pain. Never to be made again.
THANKYOU for your coments and support, i wouldnt have done it without you:))
BiGUP Yaself!!
rIcHyRich:)
Under the network settings I had:
192.168.0.229 = linux2.wtl.be
AND!!
81.188.8.66 = wtl.2y.net
a mistake that has caused me pain. Never to be made again.
THANKYOU for your coments and support, i wouldnt have done it without you:))
BiGUP Yaself!!
rIcHyRich:)
The fix should be simply a matter of ensuring that the IP of the machine is associated with an A & PTR record in the DNS and setting the hostname in /etc/sysconfig/network to be that same hostname.