Re: [exim] temporarily suspend mail delivery to an account

Pàgina inicial
Delete this message
Reply to this message
Autor: David Woodhouse
Data:  
A: Jason Keltz
CC: exim-users
Assumpte: Re: [exim] temporarily suspend mail delivery to an account
On Fri, 2008-10-10 at 08:24 -0400, Jason Keltz wrote:
> I wonder if it's possible to add to my Exim configuration file, a
> section that would temporarily suspend mail delivery to certain user
> accounts that are specified in a file. Once the account was removed
> from the file, not only would delivery resume, but queued messages would
> flow through as well. The sender would have no idea that the message
> was not immediately delivered to the user in question. Any ideas? (This
> would be used to do maintenance on a particular account -- moving it's
> location on disk, etc. while ensuring no failures in the meantime.)


Put in a router which routes all matching users to :defer: ?
Something like...

defer_users:
driver = redirect
domains = +local_domains
local_parts = lsearch;/where/your/list/is
data = :defer:Down for maintenance
no_verify

Don't leave a user in there for long enough that it starts sending
warnings or bounces, of course.

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse@???                              Intel Corporation