PDA

View Full Version : Postfix relaying problem


MaticKrajnc
17th October 2007, 23:40
Hi!

I have a problem when sending a mail to something@siol.net (siol.net is my ISP) and others as yahoo (but gmail works fine)
I have followed instructions in this howto:
http://workaround.org/articles/ispmail-etch/

My /var/log/mail.log file with error of this:

Oct 17 20:08:47 streznik postfix/smtpd[11046]: connect from localhost.localdomain[127.0.0.1]
Oct 17 20:08:48 streznik postfix/smtpd[11046]: 1E2301F337A: client=localhost.localdomain[127.0.0.1]
Oct 17 20:08:48 streznik postfix/cleanup[11049]: 1E2301F337A: message-id=<64277.195.210.202.46.1192644528.squirrel@lokalni.n et>
Oct 17 20:08:48 streznik postfix/smtpd[11046]: disconnect from localhost.localdomain[127.0.0.1]
Oct 17 20:08:48 streznik postfix/qmgr[3328]: 1E2301F337A: from=<rakar@fitness-slovenia.info>, size=746, nrcpt=1 (queue active)
Oct 17 20:08:48 streznik postfix/smtp[11051]: 1E2301F337A: host mailhub.siol.net[193.189.160.212] refused to talk to me: 421 Service not available
Oct 17 20:08:48 streznik postfix/smtp[11051]: 1E2301F337A: host mailhub.siol.net[193.189.160.25] refused to talk to me: 421 Service not available
Oct 17 20:08:48 streznik postfix/smtp[11051]: 1E2301F337A: to=<pierce@siol.com>, relay=mailhub.siol.net[193.189.160.211]:25, delay=0.72, delays=0.42/0.03/0.28/0, dsn=4.0.0, status=deferred (host mailhub.siol.net[193.189.160.211] refused to talk to me: 421 Service not available)


I send a mail to my ISP asking what could be wrong, because my ip resolves to my domain name and vice versa. And I got a reply explaining me that this error is shown because I send mail throu their server mailhub.siol.net and that if I have my own server I should send mesages throu it. Or else this relaying thing has to be configured.

I read something about this on postfix sites but I kinda don't understand. Could someone explain in some simple way what this means, and give me a hint in which direction I have to search to repair this error?

Thank you,
Matic

giganet
18th October 2007, 00:15
Most likely your ISP does not allow relaying through their servers from any email account not originating within that server(s).

MaticKrajnc
18th October 2007, 15:59
I would like to send email from my server, not relay throu some other servers.
Any ideas?

falko
18th October 2007, 17:48
Please checkif your server got blacklisted: http://www.mxtoolbox.com/blacklists.aspx

MaticKrajnc
18th October 2007, 17:56
Yes, shit, I am blacklisted. I need to set some security settings. Hmm .. Tnx falko. If I set these settings right, so I don't get blacklisted, then my server should work ok?

falko
19th October 2007, 13:44
If I set these settings right, so I don't get blacklisted, then my server should work ok?
Yes. But if your server is running on a dynamic IP address, it will always be blacklisted because most dynamic IP addresses are automatically blacklisted.

If you have a static IP address and have fixed your server, you must contact the blacklist maintainers and ask them to remove your server from their blacklists.