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

Nate Homier exim at universal-mechanism.org
Fri Mar 29 22:29:51 UTC 2013

On 03/29/2013 03:19 PM, Peter Gossner wrote:
> On Fri, 29 Mar 2013 13:29:22 -0600
> Nate Homier scribed:
>> On 03/28/2013 11:10 PM, Nate Homier wrote:
>>> My problem: Delivery to the following recipient failed permanently:
>>>      public at universal-mechanism.org
>>> Technical details of permanent failure:
>>> Google tried to deliver your message, but it was rejected by the
>>> server for the recipient domain universal-mechanism.org by
>>> homier.dyndns.org. [].
>>> The error that the other server returned was:
>>> 550 relay not permitted
>>> All email is rejected.
> So if I have this right ...
> homier.dyndns.org is refusing to relay.
> (well good in itself)
>>> 2 mx records.  mxin.mxes.net which receives and sends, it's my
>>> smarthost.  And homier.dyndns.org which has EXIM4 running and where
>>> the problems are.  Check my DNS record below.
> OK 
>>> I have my domain universal-mechanism.org and I use Tuffmail as my
>>> smarthost, meaning Tuffmail receives and sends mail on behalf of my
>>> domain via an mx record.  Recently I decided to setup EXIM4 with
>>> Internet site selected in exim4-config.
>>> Exact settings are:
>>> internet site; mail is sent and received directly using SMTP
>>> Mail name: universal-mechanism.org
> OK and this is also set in /etc/mailname ?
> (not that it really matters yet)
>>> Listens on all interfaces
>>> Other destinations for which mail is accepted:
>>> saturn.hyperion.local; homier.dyndns.org; universal-mechanism.org
> OK So we allow the destination
> .
>>> Domains to relay mail for:
>>> universal-mechanism.org; homier.dyndns.org
> This will need a look up but OK.
>>> Machines to relay mail for: blank
>> But I don't want to act as a smarthost.  I just want to act as a
>> backup MX server.  Do I really have to make myself an open relay or
>> do I not understand the FAQ.  I only want to accept mail for
>> universal-mechanism.org and no one else.
> So we need to tell hyperion that it can relay for the IP address 
> dc_relay_nets=';;;
> '
> (one line)

Mr. Peter Gossner, your suggestion about the dc_relay_nets was right on.
 I can now receive email for my user account with a caveat, that is
email addresses other than that single user account are treated as 550
Unrouteable address.  However I have one email account that is
user at universal-mechanism.org and mail addressed to that account works
just fine.  But I have many other addresses (alias) in the form of
user0@, user1@, user2@ etc and they should all go to the same mailbox
I.E. user at domain. 1 mailbox or user account if you will and many aliases
that need to go to that single user account.  Should I create a catchall
address and rely on filtering or is there some way to put the aliases in
a file somewhere and have EXIM read it.  What's your suggestion.

More information about the Pkg-exim4-users mailing list