[Prev][Next][Index][Thread]
Re: slowly moving to qmail from smail
Michael Samuel writes:
> On Mon, 2 Feb 1998, Paul Miller wrote:
> > Alright, I installed qmail and compiled it.. everything works fine. I
> > also installed checkpassword with the pam patches, so I can run
> > qmail-pop3. I'm planning on using Maildir support. Anyhow, I want to
> > slowly convert to qmail from smail.
> >
> > Tell me if this is a good plan:
> >
> > 1) add .qmail files to all user home directories. the .qmail file
> > contains "| preline /usr/bin/procmail"
>
> Yeah... but "|preline /usr/bin/procmail" (including quotes!) to replace
> ./Mailbox would be easier, but as long as you don't have too many users,
> it's ok.
Michael means that you should use that as the first parameter to qmail-start.
> > 3) start qmail (Maildir support)
>
> Ok, so at this step, try this command line:
>
> qmail-start "|test -d ./Maildir || maildirmake ./Maildir || exit 111
> ./Maildir/" splogger qmail &
>
> (Russ, I don't know who came up with this one, but this definately belongs
> in the tips section on qmail.org)
Mailboxes get automagically created because some programs feel free to
delete them. Nobody deletes Maildirs, so it's much more reasonable to
include their creation in your new-user script.
> > 13) lots of testing
Much better, Paul, to have a flag day. I've tried making the type of
transition your propose, but keeping both systems running in parallel
means lots of careful changes and checking and extra work. Better to
set everything up, bring the system down, make the changes, and check
everything out once. After you bring it back up, WATCH THE LOG FILE
with a ``killall qmail-send'' pre-typed in another window. It's very
easy for a lot of mail to bounce in a short period of time on a busy
machine.
--
-russ <nelson@xxxxxxxxxx> http://web.crynwr.com/~nelson
Crynwr Software supports freed software | PGPok | Freedom is the primary
521 Pleasant Valley Rd. | +1 315 268 1925 voice | cause of Peace, Love,
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX | Truth and Justice.
References: