Re: [exim] unrouteable address from alias on internal host

Top Page
Delete this message
Reply to this message
Author: Peter Bowyer
Date:  
To: exim-users
Subject: Re: [exim] unrouteable address from alias on internal host
Rob <rob@???> wrote:
> Peter Bowyer wrote:
>> Rob <rob@???> wrote:
>>
>>> We have two Exim4 boxes, one external that does virus and spam
>>> scanning, it runs the config from
>>> http://www.jcdigita.com/eximconfig. This machine handles routing
>>> mail to our internal server, and acts as a smarthost for the
>>> internal server. The internal server deals with all the virtual
>>> user accounts (courier imap).
>>>
>>> We have a few users with blackberrys that need to have mail
>>> forwarded to their blackberry account and left in their box.
>>>
>>> I have the blackberry users in the /etc/aliases file as follows:
>>>
>>> user1: user1,userA@???
>>> user2: user2,userB@???
>>>
>>> Everything works fine from inside. Mail from normal users to the
>>> blackberry users gets delivered properly to both places. The
>>> problem is external mail gets delivered on the internal host, then
>>> when it is fowarded back out to the blackberry account it gets
>>> stopped as on the smarthost, "unrouteable address" and bounces.
>>
>>
>> One of your ACLs is presumably upset with the forwarded message. Try
>> some tests with 'exim -bh <internal server ip>' to find out why.
>>
>> Peter
>>
>>
> It is not mail originating from inside that is a problem. It is mail
> from outside that passes through and then gets forwarded back out from
> aliases that is becoming unrouteable.


Unless I've understood you wrongly, the forwarding happens on the internal
host and is being rejected on the smarthost? If so, please see my advice
above - you want to see why the smarthost is rejecting a mail from the
internal host.

Peter