[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vps-mail] Convert qmail messages to sendmail format
- Subject: Re: [vps-mail] Convert qmail messages to sendmail format
- From: Scott Wiersdorf <scott@xxxxxxxxxxxx>
- Date: Wed, 26 Jul 2006 12:52:33 -0600
On Wed, Jul 26, 2006 at 08:36:27PM +0200, Godwin Stewart wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, 26 Jul 2006 11:06:57 -0700 (MST), robyn@xxxxxxxxxxxxxxxxx wrote:
>
> > Does anyone know of a way to convert messages currently in a qmail
> > format over to a VPS v2, using sendmail? I have found a few tools to
> > convert from sendmail to qmail - but not qmail to sendmail.
>
> Not sure what you mean here. sendmail at least is a mail relay and
> doesn't store messages at all, and therefore doesn't have a "format" as
> such.
Robyn probably means converting from maildir to mbox format. A little
googling found this script:
#!/bin/sh
#
# LEG06012001
# Convert Mails in Maildir format in ~/Maildir/ to mbox format in ~/Mail/inbox
# as required by Kmail.
MAILDIR=~/Maildir/
MAILTMP=tmpdir
MAIL=/var/mail/$USER
export MAILDIR MAILTMP MAIL
/var/qmail/bin/maildir2mbox
You'll *definitely* want to check the path to maildir2mbox (if such a
thing really exists) on, say, a Signature account where qmail is
used. I don't find maildir2mbox on my VPS by default, but it appears
to be part of the default qmail installation.
Scott
--
Scott Wiersdorf
<scott@xxxxxxxxxxxx>
========================================================================
This is <vps-mail@xxxxxxxxxxxxx> <http://groupmail.org/lists/vps-mail/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index