Home Forums OS X Server and Client Discussion Mail Server Rejects all incoming mail

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #369401
    trampoline
    Participant

    The server is rejecting all incoming mail….
    OS X Server SMTP Log states…

    NOQUEUE: reject: RCPT from 88-XX-XXX-XXX.dsl.zen.co.uk[88.XX-XXX-XXX]: 554 : Relay access denied; from= to= proto=ESMTP helo=

    tom has an account on OS X server 10.4.9
    Chris is sending from another server….

    Chris from outside mail server gets this response when sending to tom on the the OS X server…

    Received: 554 : Relay access denied

    #369402
    xdavid
    Participant

    Is the receiving domain listed in Advanced-> Hosting-> local Host Aliases ?

    If not, add it. If already listed, post output from Terminal command “postconf -n”

    -david

    #369403
    trampoline
    Participant

    yes that was it but…I put that in the main settings for the server is this a bug ?

    #369405
    xdavid
    Participant

    No, not a bug. Depends on what you put in “main settings” – presumably you put the domain in ‘domain name’ field and something like “mail.domain.name” in ‘hostname’ field? This would be correct but will still need the domain in the Local Host Aliases pane. Anything in here will be treated as a local domain, otherwise server thinks you want to ‘relay out’ to an external domain.

    I think your problem just got confused by the addition of the RBL problem.

    Have a look at the output from “postconf -n”. This just prints out non-standard settings from the main.cf file. The part you want to look at is the ‘mydestination’ clause. This defines what your server will accept for local delivery. If you do not put anything in the Local Host Aliases pane then this will produce the following…

    mydestination = $myhostname,localhost.$mydomain

    $myhostname & $mydomain are taken from the settings of the same names (these will also show up in postconf -n). So, as you can see, it will by default accept mail for “mail.domain.name” and “localhost.domain.name” but not the one you actually want – “domain.name”.

    Some people get around it by making ‘Hostname’ field equal to same as ‘Domain’ field but this is not right as the ‘Hostname’ should be the same as your external MX record uses (so connecting servers get the same HELO name from your server as they are expecting from the MX record)

    -david

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Comments are closed