LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-30-2011, 09:27 AM   #1
threezerous
Member
 
Registered: Jul 2009
Posts: 79

Rep: Reputation: 15
Getting a "Deferred: 451 4.3.5 Server configuration error" while running mailx


Hello All,

I am trying to test mailx command on one of our RHEL 5.4 servers. Based on some guidelines given by our systems guys....I did the following step 1-6

1. Log in to the Linux host as root where you want to configure mail relay
2. Edit the /etc/mail/submit.cf and search for the word "DS".
3. Append the Mail Relay server name after the word DS. # "Smart" relay host (may be null)
DS<mail server name> I added this correctly
4. Stop the sendmail.
/etc/init.d/sendmail stop
5.Stop the sendmail from starting when the host boots next time.
chkconfig sendmail off
chkconfig --list sendmail
6.Test email.
mailx -s "test at `date`" -v "my e-mail id" < /dev/null

I was able to configure this correctly on one of the RHEL server, but on a second RHEL server, when I try the mailx command, I get the following output.

Null message body; hope that's ok
a@b.com... Connecting to a.portal.b.c. via relay...
220 a.portal.b.c ESMTP
>>> EHLO server.host.name
250-a.portal.b.c
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
>>> STARTTLS
220 2.0.0 Ready to start TLS
>>> EHLO server.host.name
250-a.portal.b.c
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
>>> MAIL From:<root@server.host.name> SIZE=69
250 2.1.0 Ok
>>> RCPT To:<a@b.com>
>>> DATA
451 4.3.5 Server configuration error
a@b.com... Deferred: 451 4.3.5 Server configuration error
554 5.5.1 Error: no valid recipients
>>> RSET
250 2.0.0 Ok
Closing connection to a.portal.b.c.
>>> QUIT
221 2.0.0 Bye
[root@server.host.name ~]# ping a.portal.b.c
PING a.portal.b.c (xx.xx.xx.xx) 56(84) bytes of data.
64 bytes from yy.yy.yy.yy: icmp_seq=1 ttl=63 time=0.296 ms
64 bytes from yy.yy.yy.yy: icmp_seq=2 ttl=63 time=0.303 ms
64 bytes from yy.yy.yy.yy: icmp_seq=3 ttl=63 time=0.322 ms
64 bytes from yy.yy.yy.yy: icmp_seq=4 ttl=63 time=0.389 ms

--- a.portal.b.c ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3000ms
rtt min/avg/max/mdev = 0.296/0.327/0.389/0.040 ms

I am sure I enetred the right recipient address and tried it 2-3 times with other e-mail recipients too. Also, the same e-mail recipient and mailx command works from another RHEL host.

Any guidance/pointers is truly appreciated.
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ERROR: Kernel configuration is invalad..... Running "genkernel all" does not help rrrssssss Gentoo 9 01-10-2010 05:54 AM
CFLAGS vs EXTRA_CFLAGS, Ubuntu server 9.04 error while running "make install" Invisible-Man Linux - General 21 07-14-2009 06:31 AM
Sendmail: "451 Temporary local problem - please try later" error figaro666 Linux - Server 1 07-30-2008 06:01 PM
free radius server interaction with mysql server ""configuration in code" yawar Linux - Newbie 2 07-23-2008 02:06 PM
Error launching gnome apps as root: " Failed to contact configuration server" Kropotkin Fedora 1 12-16-2005 11:11 AM


All times are GMT -5. The time now is 06:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration