Exim - local error messages
I want to configure exim to send error messages created when
unqualified local addresses are used back to the sender, but the
return messages always land up as frozen messages.
e.g. If I send mail to "fred" (and there is no such user on my system)
the exim debug trail reports:
Address testing: uid=0 gid=1000 euid=8 egid=8
> fred
Testing fred@localhost
address fred@localhost
local_part=fred domain=localhost
domain is local
>>>>>>>>>>>>>>>>>>>>>>>>
directing fred@localhost
real_local director skipped: prefix mismatch
calling system_aliases director
system_aliases director: lsearch key=fred
file="/etc/aliases"
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
type=lsearch key="fred"
file lookup required for fred
in /etc/aliases
lookup failed
system_aliases director failed for fred:
calling userforward director
userforward director failed for fred (not a user)
fred@localhost is undeliverable:
unknown local-part "fred" in domain "localhost"
>
And the frozen message's header looks like this:
-------------------
13eEPS-0000v7-00-H
mail 8 8
<>
970050354 0
-ident mail
-received_protocol local
-body_linecount 24
-frozen 970050354
-localerror
XX
1
jhspies@adept.co.za
119P Received: from mail by Johann with local (Exim 2.05 #1 (Debian))
id 13eEPS-0000v7-00; Wed, 27 Sep 2000 12:25:54 +0200
036 X-Failed-Recipients: fred@localhost
050* From: Mail Delivery System <Mailer-Daemon@Johann>
049F From: Mail Delivery System <jhspies@adept.co.za>
024T To: jhspies@adept.co.za
059 Subject: Mail delivery failed: returning message to sender
039I Message-Id: <E13eEPS-0000v7-00@Johann>
038 Date: Wed, 27 Sep 2000 12:25:54 +0200
--------------------
I have scanned /usr/doc/exim/spec.txt.gz but did not really find a
solution. I hope somebody can help me with this one.
Johann
--
J.H. Spies Tel/Faks +27-21-876-2337 Sel/Cell +27-82 898 1528
"My brethren, count it all joy when ye fall into
various trials, Knowing that the testing of your faith
produces endurance." James 1:2,3
Reply to: