PDA

View Full Version : Error 553 for Set Up Postfix For Relaying Emails Through Another Mailserver


ugach
25th January 2007, 22:29
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

falko
26th January 2007, 18:40
Have you tried sending emails to various email accounts? Do you get this error message:

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?

ugach
27th January 2007, 00:08
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.


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_CONFIGURATION_README.html#fantasy
I have the same user name on local machine as on godaddy account.

Again the same failure, hence the head banging :-(

falko
27th January 2007, 15:46
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.

ugach
29th January 2007, 07:48
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 (I am not getting registered with my auth) so it says 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. The support guy is going to check with somebody tomorrow 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 for this wonderful site. I am learning a lot here.

falko
30th January 2007, 12:14
It seems to be a problem with GoDaddy then...

ugach
23rd February 2007, 09:35
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

falko
24th February 2007, 15:25
Hm, I think that only GoDaddy can help you with this problem. :(

Zoner21
2nd February 2009, 19:28
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

falko
3rd February 2009, 20:59
You can try another relay server, for example some freemailers allow you to use their servers for relaying.

ugach
15th February 2009, 05:14
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

Post after two years! I guessed that the answer was obvious hence nobody except nice site admin responded. I felt stupid did not post my results. Sorry Falko, I should have posted my solution.

If you dig smtp.godaddy you will get a name of different server. It is starfield something. Use that server in your postfix sasl_password file and your problem will be solved.

Now anybody knows how to do fetchmail with yahoo/sbcglobal ssl port?

falko
15th February 2009, 17:57
Now anybody knows how to do fetchmail with yahoo/sbcglobal ssl port?
Do you get any errors when you try this? If so, what's in your fetchmailrc?