Re: [exim-dev] [PATCH] Implement redirect

Top Page
Delete this message
Reply to this message
Author: Jakob Hirsch
Date:  
To: Robert Millan
CC: exim-dev
Subject: Re: [exim-dev] [PATCH] Implement redirect
Robert Millan wrote:

> I looked at that first. However, since (AFAICT) the ACL system works in a
> accept/reject/defer logic, my understanding was that a fourth command would had
> to be added to the underlying code specificaly for this feature. Is this
> appreciation correct?


This could be done by extending the control modifier, e.g.

deny
message = User not local; please try <foo@???>
control = redirect

but then you could also do it more generaly, e.g. "reject control =
code=551"


The (IMHO) better way would be to extend the redirect router, i.e.
instead of ":fail: user moved away" there would be ":redirect: try
user@???". Is the forward file used during recipient verify?
This would be necessary, but I'm not sure about that right now.

Another question: Which MTAs handle 551 and send to the new address?