LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-27-2011, 04:11 PM   #1
yeayu
Member
 
Registered: Jun 2011
Posts: 32

Rep: Reputation: Disabled
Exclamation Remote SMTP Server Returned: 553 error


Hello everybody:

I have a centOS 5.6 server with plesk and qmail installed.
Currently it's working fine, but today an extern domain tried to send an email and it received a bounce mail:

Message could not be delivered to some recipients.
The following recipient(s) could not be reached:
Recipient: [SMTP:user@domain.net]
Reason: Remote SMTP Server Returned: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)


That user was waiting for an email from a booking site (hoteltravel.com)

I have been checking that the mail service is enabled and the domain name is listed in var/qmail/control/virtualdomains and var/qmail/control/rcpthosts files.

why did it happen? how could i fix it?

Thank you for helping me.

Last edited by yeayu; 09-27-2011 at 04:13 PM.
 
Old 09-28-2011, 11:46 AM   #2
ShanxT
Member
 
Registered: Apr 2007
Location: India
Distribution: Ubuntu 10.04, RHEL/Centos 5.x, Knoppix
Posts: 41

Rep: Reputation: 3
Is there a cdb file of control/rcpthosts present? If it is, confirm if the domain is present in that. You can use this command to confirm:
Code:
strings /var/qmail/control/rcpthosts.cdb | grep domain.net
If it is, send a test mail to the domain from your ID, and please post the logs (qmail-smtpd, qmail-send) for both, this email and the original email.
qmail logs are generally stored in /var/log/qmail, but it might be different in Plesk.
 
Old 09-29-2011, 02:04 AM   #3
yeayu
Member
 
Registered: Jun 2011
Posts: 32

Original Poster
Rep: Reputation: Disabled
There is not any .cdb file in that directory.
:s
 
Old 10-04-2011, 04:35 PM   #4
yeayu
Member
 
Registered: Jun 2011
Posts: 32

Original Poster
Rep: Reputation: Disabled
anything else?
 
Old 10-05-2011, 07:39 AM   #5
ShanxT
Member
 
Registered: Apr 2007
Location: India
Distribution: Ubuntu 10.04, RHEL/Centos 5.x, Knoppix
Posts: 41

Rep: Reputation: 3
Ok, it seems that relaying for that particular IP is not setup. I'm not sure how it is in Plesk but in qmail there's a file called 'tcp.smtp.cdb', where you can define the IPs to relay. The error you're getting could be due to that. Read about that here. (The second question.)

For Plesk, you could try what the second poster mentioned here.

I've seen that you've already tried the Plesk forums, with no help. Maybe if you ask something along the lines of "I've seen this error and I may have to setup relaying, as per DJB's site. Could someone tell me how?", you might get a response.
 
1 members found this post helpful.
  


Reply

Tags
plesk, smtp



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
relaying SMTP-server using authentication on a remote server using IMAP frater Programming 2 10-04-2010 01:55 AM
Mail Server error 553 pbaker Linux - Server 1 12-05-2009 05:57 AM
Email not getting through - 553 553 5.3.0 Error WorldBuilder Linux - Server 6 06-01-2008 12:13 AM
Root-NFS: Server returned error -13 while mounting Lindahl Linux - Software 1 06-21-2006 10:56 AM
using sendmail to forward to a remote smtp server selgip Linux - Software 1 03-21-2005 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration