LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-18-2009, 05:44 AM   #1
varun2109
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Rep: Reputation: 15
Remote Protocol Error : Sendmail


Hi there everyone,
i am facing a problem with my mail server,
i get an error when sending mail to a specific domain group;

Aug 18 06:41:02 mycompany2 sendmail[16745]: n7I1Ab9m016743: mail.xyz.in.: SMTP DATA-2 protocol error: 571 Delivery not authorized, message refused

Aug 18 06:41:02 mycompany2 sendmail[16745]: n7I1Ab9m016743: to=<feedback@xyz.in>, delay=00:00:25, xdelay=00:00:24, mailer=esmtp, pri=166397, relay=mail.xyz.in. [xxx.xxx.xxx.xxx], dsn=5.5.0, stat=Remote protocol error


please help on the same asap..
thanks in advance.
 
Old 08-18-2009, 05:48 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hi,

As the message states: protocol error: 571 Delivery not authorized, message refused. You are not authorized to send mail using that server. If you administer the destination server you'll have to add your server/ip to the allowed ones or provide correct authentication. If you don't administer the destination server, you'll have to take it up with the admin that does.

And please don't use words like asap. What's urgent to you is not to us, we're all volunteers.

Kind regards,

Eric
 
Old 08-18-2009, 06:00 AM   #3
varun2109
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Thank You ERIC for your kind & quick reply.
but is it sure the problem is not from my side...??
Thanks anyways!
 
Old 08-18-2009, 06:04 AM   #4
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Since you have to authenticate then the problem is either on your side if you're not providing the correct credentials or on the other side if the other server doesn't accept your connection. Both ways can cause the error. If you have to authenticate providing a user name you could try the connection with a telnet session. If you don't have to provide credentials are you allowed to relay to that host?

Kind regards,

Eric
 
Old 08-18-2009, 06:22 AM   #5
varun2109
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 15
no..i am sure i am providing the correct credentials,
any other way to check the problem from my side??
i got this problem from the last 2 weeks,
previously the mail was delivered correctly..
 
Old 08-18-2009, 06:31 AM   #6
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Are you by any chance connecting to Hotmail, Gmail or something like that? And if so are you using a dynamic WAN IP?

Also, try
Code:
telnet IP_of_your_smtp_host 25
and see if you can access the server with your credentials.

Kind regards,

Eric
 
Old 08-18-2009, 06:35 AM   #7
varun2109
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 15
no i am not connecting to gmail/hotmail,etc;
yes i can telnet to my smtp_host with my credentials,
...???

Last edited by varun2109; 08-18-2009 at 06:36 AM. Reason: typographical error
 
Old 08-18-2009, 06:45 AM   #8
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Are you behind a static WAN IP or a dynamic one? Is the destination server using RBL lists?

Kind regards,

Eric
 
Old 08-18-2009, 06:49 AM   #9
varun2109
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Yes i am on a static WAN IP...
i was once listed in URIBL,but was delisted too,again today i was listed on the same.
m not sure that RBL is causing a problem as previously when i was listed for 2-3 days the mails were delivered.
 
Old 08-18-2009, 07:04 AM   #10
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Strange, I don't know much more to try. If you can access the server using telnet and send a mail from the console in that same telnet session, then you can exclude the credentials.

OK, you'll have to go through your smtp logs to find out what commands you're sending and what responses you're receiving and debug from there on to find the error.

You also might want to set your loglevel a bit higher in order to get more info. Once you set your loglevel, restart your sendmail, try sending a mail from a telnet session (all the steps) and after that the normal way you do. Then check your logfile for errors/communication.

Kind regards,

Eric
 
Old 08-18-2009, 07:07 AM   #11
varun2109
LQ Newbie
 
Registered: Apr 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Thank You for all your help...
but is there anyway that the mails are not getting delivered because of my domain being listed in URIBL.

Thanks & Regards,
Varun.
 
Old 08-18-2009, 07:09 AM   #12
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 18 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
If your domain is blacklisted then that is the most likely option. Get 'deblacklisted' and try again (I believe it might take up to 48 hours to propagate).

Kind regards,

Eric
 
  


Reply

Tags
error, maillog, protocol, remote, sendmail, smtp


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
LXer: Tutorial: Border Gateway Protocol, The Routing Protocol of the Internet LXer Syndicated Linux News 0 11-13-2008 05:11 AM
Stereo Linux; remote protocol Steake Linux - Server 5 10-01-2008 06:24 PM
GnuPG Decryption Protocol Error! Marcidius Programming 2 05-30-2008 04:43 AM
error setting IPV6_V6ONLY: Protocol not available sinister1 Linux - Software 2 10-02-2007 06:10 AM
what is the best remote access protocol? marcbachman Linux - Networking 3 11-17-2006 11:06 AM


All times are GMT -5. The time now is 09:48 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