Postfix relaying problem

Discussion in 'Server Operation' started by MaticKrajnc, Oct 17, 2007.

  1. MaticKrajnc

    MaticKrajnc New Member

    Hi!

    I have a problem when sending a mail to [email protected] (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:
    Code:
    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=<[email protected]>
    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=<[email protected]>, 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=<[email protected]>, 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
     
  2. giganet

    giganet New Member

    Most likely your ISP does not allow relaying through their servers from any email account not originating within that server(s).
     
  3. MaticKrajnc

    MaticKrajnc New Member

    I would like to send email from my server, not relay throu some other servers.
    Any ideas?
     
  4. falko

    falko Super Moderator Howtoforge Staff

  5. MaticKrajnc

    MaticKrajnc New Member

    Yes, mess, 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?
     
  6. falko

    falko Super Moderator Howtoforge Staff

    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.
     

Share This Page