[Pkg-exim4-users] Getting 550 relay not permitted, I tried all sorts of things still getting error

Marc Haber mh+pkg-exim4-users at zugschlus.de
Tue Apr 2 19:07:09 UTC 2013


On Tue, Apr 02, 2013 at 12:59:43PM +1030, Peter Gossner wrote:
> On Mon, 1 Apr 2013 16:38:33 +0200
> Marc Haber scribed:
> > On Sat, Mar 30, 2013 at 07:49:47AM +1030, Peter Gossner wrote:
> > > So we need to tell hyperion that it can relay for the IP address 
> > > 64.251.17.25/32 
> > 
> > Why?
> 
> Hmm maybe I had that backward. ?
> 
> I think the real confusion lay with the docs implying that setting a
> netspace make the host a smarthost, and the google reject error..

I neither understand where the IP address comes from nor why the
address was added there.

An IP address range for dc_relay_nets makes the host a smarthost for
this IP address range. That is, it will relay _any_ message coming in
from this IP address range.

A correctly configured host will accept incoming mail for its local
domains from any IP address. This is the intended behavior for an MX
server. A message coming in from a lesser priority MX will be
accepted. It is just a normal incoming message.

A host configured to be secondary MX (this is not the case for the
OP's machine) needs to have the domains it should MX for in
dc_relay_domains, causing it to accept mail for these domains from
arbitrary IP addresses and to continue to relay the message according
to the MX records from public DNS.

> Quite right I should have asked for log info.
> The given solution worked though.

I suspect that the change from "not working" to "working" is unrelated
to your suggested change.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062



More information about the Pkg-exim4-users mailing list