Home › Forums › OS X Server and Client Discussion › Mail › Server Rejects all incoming mail
- This topic has 3 replies, 2 voices, and was last updated 19 years, 4 months ago by
xdavid.
-
AuthorPosts
-
June 30, 2007 at 9:44 am #369401
trampoline
ParticipantThe 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 July 1, 2007 at 9:41 am #369402xdavid
ParticipantIs 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
July 1, 2007 at 9:43 am #369403trampoline
Participantyes that was it but…I put that in the main settings for the server is this a bug ?
July 1, 2007 at 10:11 am #369405xdavid
ParticipantNo, 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
-
AuthorPosts
- You must be logged in to reply to this topic.