Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Wierd Mail problem #369853
    Diederik
    Participant

    Hi,

    Today I experienced a simular problem, strange thing is that suddenly this problem appeared on a running server.

    Initial configuration of the server had lines added to use xbl.spamhaus.org to check incoming SMTP-connections, this was done using the Server Admin. The configuration was tested at that time and worked like a charm.

    Today suddenly the server started prompting the same error in the mail log you got starting this problem. Cause the logs stated spamhaus.org in I disabled the use of blacklist-servers in Server Admin, the error did not go away after the next test and spamhaus.org was still prompted in the log.

    My solution: after searching through the /etc/postfix/main.cf for spamhaus.org entries I found that xbl.spamhaus.org was stated at the “smtpd_client_restrictions”-option. The first thing that I noticed is that the value “permit_mynetworks” and the xbl.spamhaus.org entry weren’t seperated by a comma, I think they should. I placed the comma between them like for example “smtpd_client_restrictions = permit_mynetworks, xbl.spamhaus.org” and the problem dissapeared! -> the server configuration error vanished (makes sense now) and postfix worked like a charm again. Only thing though, I got no clue on the situation why this comma been missing in the first place and why the entry didn’t change once I diabled the use of the server in the Server Admin application….

    Anyway, the “smtpd_client_restriction” option tells the server who to accept connections from, so if you leave the value open like you did the new problem in your situation appears. To correct this make the line look like this:

    smtpd_client_restrictions = permit_mynetworks

    That should solve your problem 🙂

Viewing 1 post (of 1 total)