[Prev][Next][Index][Thread]

Re: slowly moving to qmail from smail



On Mon, 2 Feb 1998, Paul Miller wrote:

> Date: Mon, 2 Feb 1998 03:19:55 -0500 (EST)
> From: Paul Miller <paul@xxxxxxxxxxxxxx>
> To: QMail <djb-qmail@xxxxxxxxxxxxxxxxxxxx>
> Subject: slowly moving to qmail from smail
> 
> 
> 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.

> 2) get rid of smail

I had sendmail before qmail, and I just hid it, as per the INSTALL* files.

> 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 &

*grin*

(Russ, I don't know who came up with this one, but this definately belongs
in the tips section on qmail.org)

> 4) make sure qmail and Debian's procmail are working + locks work..

? Nahh, bite the bullet and do it all at once.  Who cares if you have half
an hour downtime, when you will never have downtime again :-)

> 5) slowly create Maildirs in each user home directory

Get one of the convert-and-create scripts, and it will convert the entire
/var/spool/mail/* into Maildirs in the user's homedirs.

> 6) apply pine/qmail patches 

Yep, works like a charm, and will still read mbox etc. (it will
automaticly determine, based on what format the mailbox that $MAIL points
to)

> 7) reconfigure cfingure for Maildir support (how ???)

cfingure?  Do you mean a fingerd, or is this something else?

> 8) reconfigure login for Maildir support (how ??? -- it won't me login
> when QMAIL_DIR is defined)

It should, but I already have Maildirs, so it might not be too sensitive
if you don't.

> 9) stop pop3 daemon

Hmm... no do this before running the Maildir conversion.  Stop qmail-send
too. (qmail-smtpd can keep running)

> 10) convert all /var/spool/mail/* mailboxes to $HOME/Maildir's
> 11) add qmail-pop3 to inetd.conf.

For now, but I think ucspi-tcp will be better.  See
http://www.surfnetcity.com.au/~michael/qmail-antirelay.html, that covers
ucspi-tcp installation step-by-step (If it's missing any, please tell me)

> 12) send kill -HUP to inetd

I get more joy in convertion everything to tcpserver and killing -KILL
inetd, and you'll wanna do that too when you find out what a problem inetd
is :-)

> 13) lots of testing
> 
> How does that sound?  suggestions?
> 
> Also, can someone explain how the alias type works and the
> locals/rcpthosts, etc files?

See the URL above for rcpthosts.  The rest is simple, and if you can't
understand the man pages etc. feel free to contact me.

> 
> 
> Thanks
> Paul
> 
> 

Michael Samuel,

Surf-Net City - Internet Cafe and Internet Service Providers
Phone: +61 3 9593-9977
E-Mail: <michael@xxxxxxxxxxxxxxxxxx>
WWW: http://www.surfnetcity.com.au/~michael/


Follow-Ups: References: