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
[EMAIL PROTECTED]                              Intel Corporation


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to