Home Forums OS X Server and Client Discussion Mail Wierd Mail problem

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #369378
    trampoline
    Participant

    WE set up the mail server aparently OK,
    However what ever we put in the domainmakes no difference all sent e.amils are sent from the original domain we put in the server domain & host windows.
    Secondly, the sserver is not recieving mail from anyone…
    Error in the smtp logs states….

    Jun 27 16:49:04 FunServer postfix/smtpd[544]: warning: unknown smtpd restriction: “sbl-xbl.spamhaus.org”
    Jun 27 16:49:04 FunServer postfix/smtpd[544]: NOQUEUE: reject: RCPT from xxx-97-xxx-xxx.dsl.xxx.co.xxx[xxx.97.xxx.xxx]: 451 Server configuration error; from= to= proto=ESMTP helo=

    I have blanked out the e.mail address’ etc but the error is plain…
    Neither server is blacklisted… I have switched blacklisting (RBL) off and it make s no difference…. 😕

    #369382
    trampoline
    Participant

    actually the main warning seems to be

    postfix/smtpd[4534]: warning: unknown smtpd restriction: “sbl-xbl.spamhaus.org”

    The mail client says (OS X Mail)

    The server response was: Server configuration error

    very strange I do not even have sbl-xbl.spamhaus.org enabled in filters. 😕

    #369391
    trampoline
    Participant

    Hmm Ok it had this line in it….
    #smtpd_client_restrictions = permit_mynetworks sbl-xbl.spamhaus.org permit

    Once commented out all was OK, OS X mail now sends and recieves..but what was that doing in there ???

    #369392
    trampoline
    Participant

    I speak to soon, mail now sending OK from server but if you try to send mail to an account on the server you get this nasty reply….

    Sorry. Your message could not be delivered to:

    [email protected]
    RCPT TO:
    Received: 554 : Relay access denied

    more config stuff that may be relevent…

    enable_server_options = yes
    smtpd_sasl_auth_enable = yes
    smtpd_use_pw_server = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,permit

    I’m not trying to relay meerly send an email…. ???

    How come this does not “just Work”…. ?

    #369400
    trampoline
    Participant

    Server 10.4.9

    No mail is being delivered to the server all amil is returned to sender with

    “554 relay access denied”

    I am not trying to relay meerly send to a mail account on the server…. ??

    #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 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

Comments are closed