Re: migrate from group alias to mailing list

"Charles Cazabon" <[email protected]> 18 Jun 2009 12:46:29 -0600
Newsgroups gmane.mail.ezmlm,gmane.mail.qmail.general
Message-ID <[email protected]>
Asif Iqbal <[email protected]> wrote:
> 
> How do I pause all emails coming to [email protected] while doing
> this migration?

Easiest way is to stop qmail-smtmd (to prevent messages arriving) or stop
qmail-send (to prevent messages already in the queue from being delivered) or
both.  Then do your changeover and restart the service(s).

While you have qmail-smtpd down, you can put '|bouncesaying "Use
[email protected] mailing list instead"' in ~alias/.qmail-mygroup if you like.
If you don't want to stop services, you can create the mailing list then
simply replace this .qmail file atomically, which will accomplish the same
thing.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------