[Exim] Mail Forwarding problem

Góra strony
Delete this message
Reply to this message
Autor: Russell Wilton
Data:  
Dla: exim-users
Temat: [Exim] Mail Forwarding problem
Hi:
I am running Exim 4.05 on RedHat Linux 7.2. I have a very simple mail
forwarding router as follows:

userforward:
driver = redirect
data = ${FORWARD {$value} fail}
check_ancestor

where the "FORWARD" macro just extracts a forwarding address from LDAP
data. If the user has not specified a forwarding address, it fails and
goes on to the next router.

The problem occurs when a local user, such as "test.user" in the
example below, has specified an invalid forwarding address, or one that
is not responding (like hotmail recently). The delivery fails and the
sender gets a misleading bounce message similar to the following:

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

test.user@???
SMTP error from remote mailer after RCPT TO:<test.user@???>:
host polaris.netsrv.uleth.ca [142.66.ccc.ddd]:
550 unknown user

The sender knows that "test.user@???" is a valid address and thinks
there must be something wrong with the mail system. Confusion ensues.

Is there some way to specify a custom error message for this
situation, indicating that the intended recipient has forwarded their
mail to an invalid address? I looked through the router options but
didn't find anything obviously applicable. Any help greatly appreciated.

Russ

--
Russell D. Wilton                     E Mail: WILTON@???
Network Services Manager              Voice:   (403) 329-2525
University of Lethbridge              FAX:     (403) 382-7108
4401 University Drive   Lethbridge, Alberta, CANADA   T1K 3M4