Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th January 2007, 21:29
ugach ugach is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error 553 for Set Up Postfix For Relaying Emails Through Another Mailserver

Falko,

I have been banging my head to do exactly this. My config is same as your instructions (except I have those lines in my main.cf).

relayhost = [smtpout.secureserver.net]:3535
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

I was told to also put following by somebody (not godaddy).

myhostname = mydomain.com
mydomain = mydomain.com

I tried that but it did not work so I am again back to mydomain=mhyhost.dyndns.org

I got the correct passwd in the sasl_passwd file and it has been processed.
I get following error.

status=bounced (host smtp.starfieldtech.com[64.202.165.58] said: 553 Sorry, that domain isn't in my list of allowed rcpthosts. (in reply to RCPT TO command))


Although account it mentions is indeed user@mydomain.com that I use to login on smtp server and it does not have any problem relaying for client on winblows from the same home network using same credentials.

Here is what I have

1. Account with godaddy for their secureserver.net smtp server to relay messages.

2. A Centos machine connected to HOME/NAT DSL connection. I have dyndns setup so there is a virtual domain pointing to my dynamic IP. I cannot have godaddy point my real domain to my dsl as godaddy is hosting webserver for the domain and also their servers would do a good job of holding the mail than my home box.

I want users on the CENTOS 4 machine to send out mail pretending to be coming out of this godaddy registered domain. (and may be to receive messages for this domain but this is optional if it is too much to ask) Each user does have an account on godaddy mail server.

I have used same physical setup with my ISP smtp server and that works fine but Not with godaddy. As I see they are using qmail. Would that make any difference? BTW their tech. support has been useless. First they gave wrong information, 2nd they stopped responding to email requests.

TIA
Reply With Quote
Sponsored Links
  #2  
Old 26th January 2007, 17:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,724 Times in 2,564 Posts
Default

Have you tried sending emails to various email accounts? Do you get this error message:

Code:
status=bounced (host smtp.starfieldtech.com[64.202.165.58] said: 553 Sorry, that domain isn't in my list of allowed rcpthosts. (in reply to RCPT TO command))
only for a special email address or for all mails you're sending?

Also, is port 3535 correct?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 26th January 2007, 23:08
ugach ugach is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Have you tried sending emails to various email accounts? Do you get this error message:....

or only for a special email address or for all mails you're sending?
I have set up two different accounts with godaddy that have the feature to use the relay. I have tried both accounts to send out e-mails to various e-mail addresses, namely @gmail.com, @sbcglobal.net (this is yahoo managed) and and netscape.net (aol). All show the same failure.

As a test I had setup mozilla thunderbird and outlook on Windows PC using same smtpout credentials using same recipient addresses and the mail goes out fine.

All e-mails sent out by postfix bounce back. None has reached the destination.

Quote:
Also, is port 3535 correct?
Yes, they only allow relay on port 80 and port 3535. I have tried both.

The exact same setup on same hardware has worked fine with my ISP Sbcglobal/yahoo smtp relay so I am confused. Godaddy does use qmail. Will that make any difference? Is this something to do with RCPT TO being not correct? Could it be pop before drop? But godaddy never mentions it anywhere.

I have also tried populating generic file with mapping as suggested by this site
http://www.postfix.org/STANDARD_CONF...E.html#fantasy
I have the same user name on local machine as on godaddy account.

Again the same failure, hence the head banging :-(
Reply With Quote
  #4  
Old 27th January 2007, 14:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,724 Times in 2,564 Posts
Default

Quote:
Originally Posted by ugach
The exact same setup on same hardware has worked fine with my ISP Sbcglobal/yahoo smtp relay so I am confused. Godaddy does use qmail. Will that make any difference?
No, that doesn't make a difference.
Have you tried sending from domains that GoDaddy doesn't know? Maybe they allow sending only from domains managed by them. Anyway, try to contact their support.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 29th January 2007, 06:48
ugach ugach is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default no resolution yet

Falko,

Called up godaddy support today. The guy was nice, he said I am doing everything correct and he does not know why error 553. My assumption of error 553 is that their smtp server does not know mydomaIn.com ([ am notgetting registeved withmy auth; so it Óays that I do not know mydomain.com. Is this correct? I tried sending e-mail to @godaddy.com while on the phone and even that bounced. fThe supqort guy:is goin^ to chebk with omebody©tomorro— and send reply back. I will update the forum once I get the closure on this issue do others with this issue can also benefit. Thanks fér this ˙onderfuM site.
am learning a čot here/
Reply With Quote
  #6  
Old 30th January 2007, 11:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,724 Times in 2,564 Posts
Default

It seems to be a problem with GoDaddy then...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 23rd February 2007, 08:35
ugach ugach is offline
Junior Member
 
Join Date: Jan 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default new information

Quote:
Originally Posted by falko
It seems to be a problem with GoDaddy then...
Falko, You may be correct that godaddy is giving out something wrong but here is what I did. I connected wireshark sniffer and examined the packets. godaddy correctly give give out auth login response to ehlo but my postfix instead of passing login just moves to sending the message. Is there a way to force postfix to use auth login using some parameter in main.cf?

Here is the pertinent packet capture.

Simple Mail Transfer Protocol
Response: 250-AUTH LOGIN PLAIN\r\n
Response code: 250
Response parameter: AUTH LOGIN PLAIN
Response: 250-8BITMIME\r\n
Response code: 250
Response parameter: 8BITMIME
Response: 250 PIPELINING\r\n
Response code: 250
Response parameter: PIPELINING

My postfix just proceeds to Command: Mail From without giving out credentials.

When I try to connect to yahoo the auth login handshake is done properly between my postfix and yahoo smtp relay server. Here is the response from yahoo.


Simple Mail Transfer Protocol
Response: 250-smtp105.sbc.mail.mud.yahoo.com\r\n
Response code: 250
Response parameter: smtp105.sbc.mail.mud.yahoo.com
Response: 250-AUTH LOGIN PLAIN XYMCOOKIE\r\n
Response code: 250
Response parameter: AUTH LOGIN PLAIN XYMCOOKIE
Response: 250-PIPELINING\r\n
Response code: 250
Response parameter: PIPELINING
Response: 250 8BITMIME\r\n
Response code: 250
Response parameter: 8BITMIME
Reply With Quote
  #8  
Old 24th February 2007, 14:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,724 Times in 2,564 Posts
Default

Hm, I think that only GoDaddy can help you with this problem.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 2nd February 2009, 18:28
Zoner21 Zoner21 is offline
Junior Member
 
Join Date: Feb 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default The same problem

I know that this thread is been unused for almost 2 years, but I'm having the same problem, cannot use godaddy's relay server and receiving the same 553 error.

Did any of you resolve this problem????

Thanks
Reply With Quote
  #10  
Old 3rd February 2009, 19:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,724 Times in 2,564 Posts
 
Default

You can try another relay server, for example some freemailers allow you to use their servers for relaying.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35
Postfix Error (Bouncing Emails with "in reply to end of DATA command") freetan HOWTO-Related Questions 5 29th November 2006 22:51
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Postfix and external Mailserver vpns2000 Installation/Configuration 2 7th April 2006 22:00


All times are GMT +2. The time now is 01:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.