[Exim] What is quickest way to set up Exim so any message se…

Top Page
Delete this message
Reply to this message
Author: Gregoire Maux
Date:  
To: exim-users
CC: Frederic Jacquet
Subject: [Exim] What is quickest way to set up Exim so any message sent to a non-existing user would bounce back with a different message, based on the name of non-existing user?
Dear Experts,

- I have Exim 4.24, it works perfectly except that I am not able to set up
Exim so any message sent to a non-existing user would bounce back with a
different message, based on the name of non-existing user.
- I know that within Exim FAQ, there is exact answer to this question
(A0416:).

- But in my own case it does not work: the incoming emails did not match the
non_exist router??? (non_exist router skipped: verify 2 0 0)
- See below the end of the router section and the corresponding log obtained
in debug mod (for this test, tried to send an email from gmaux@??? to
dede@???):

End of Router section in configure file:
-----------------------------------------------------------------------
localuser:
driver = accept
check_local_user
transport = local_delivery

non_exist:
driver = accept
transport = non_exist_reply
no_verify


######################################################################
#                      TRANSPORTS CONFIGURATION                      #
######################################################################


log obtained in debug mod:
-----------------------------------------------------------------------
945 --------> localuser router <--------
945 local_part=dede domain=axalto.com
945 checking for local user
945 localuser router skipped: dede is not a local user
945 --------> non_exist router <--------
945 local_part=dede domain=axalto.com
945 non_exist router skipped: verify 2 0 0
945 no more routers
945 ----------- end verify ------------
945 accept: condition test failed
945 accept: endpass encountered - denying access
945 SMTP>> 550 Unrouteable address
945 LOG: MAIN REJECT
945 H=localhost (me) [127.0.0.1] F=<gmaux@???> rejected RCPT
dede@???: Unrouteable address
Many thanks in advance for your help.




Thanks & Regards

********************************************
Gregoire MAUX
Network & Security Consultant

Schlumberger Network Solutions
Mail:   gmaux@???
Phone:  + 33 (0)1 46 00 47 80
Fax:    + 33 (0)1 46 00 44 83
********************************************