[Dovecot] Dovecot Sendmail Maildir
Hi all,
I'm using Debian (testing) for my office mail. I'm using sendmail
and Dovecot to deliver email to clients over IMAP using mbox format.
I want to move over and start using Maildir. I know that I can use
different MTA's to do the job, but I really like sendmail, and I run
additional sendmail servers across the my internal and external
networks. I'm probably being anal, but I want to keep my MTA the
same across the board. Does anyone here use sendmail + dovecot +
maildir? if so what's the best way of going about this?
Gabe
Hi Gabe,
I don't use this combo, but I know people that do, and most use procmail to do the delivery's in Maildir format. There are howtos, etc... on the web telling you how to do this. They may even tell you an easier way. Good Luck!
Regards Andrew
On Wed, 2005-05-11 at 13:06 +0100, Gabriel Granger wrote:
Hi all,
I'm using Debian (testing) for my office mail. I'm using sendmail
and Dovecot to deliver email to clients over IMAP using mbox format.
I want to move over and start using Maildir. I know that I can use
different MTA's to do the job, but I really like sendmail, and I run
additional sendmail servers across the my internal and external
networks. I'm probably being anal, but I want to keep my MTA the
same across the board. Does anyone here use sendmail + dovecot +
maildir? if so what's the best way of going about this?Gabe
-- Andrew Hutchings (A-Wing) Linux Guru - Netserve Consultants Ltd. - www.domaincity.co.uk Admin - North Wales Linux User Group - www.nwlug.org.uk BOFH excuse 28: CPU radiator broken
Gabriel Granger wrote:
Hi all,
I'm using Debian (testing) for my office mail. I'm using sendmail and Dovecot to deliver email to clients over IMAP using mbox format. I want to move over and start using Maildir. I know that I can use
different MTA's to do the job, but I really like sendmail, and I run
additional sendmail servers across the my internal and external
networks. I'm probably being anal, but I want to keep my MTA the same across the board. Does anyone here use sendmail + dovecot + maildir? if so what's the best way of going about this?Gabe
Gabe,
basically, the local delivery agent (LDA) is responsible for which format the mail is delivered in.
a typical Sendmail LDA is procmail and with newer versions of procmail you can deliver in Maildir format by putting a / at the end of the delivery directory.
check the man pages for procmail for more details.
HTH
alan
Hi Alan,
Cheers for that, I managed to get it working looking at differnet
documents via our good friend google. Now I need to work out how to
migrate all my users from mbox to maildir. I believe there are
scripts / apps for doing this, I will consult google again. Thanks
for the pointers
Gabe
On 11 May 2005, at 14:53, alan premselaar wrote:
Gabriel Granger wrote:
Hi all, I'm using Debian (testing) for my office mail. I'm using
sendmail and Dovecot to deliver email to clients over IMAP using
mbox format. I want to move over and start using Maildir. I
know that I can use different MTA's to do the job, but I really
like sendmail, and I run additional sendmail servers across the
my internal and external networks. I'm probably being anal, but
I want to keep my MTA the same across the board. Does anyone
here use sendmail + dovecot + maildir? if so what's the best way
of going about this? GabeGabe,
basically, the local delivery agent (LDA) is responsible for which
format the mail is delivered in.a typical Sendmail LDA is procmail and with newer versions of
procmail you can deliver in Maildir format by putting a / at the
end of the delivery directory.check the man pages for procmail for more details.
HTH
alan
same across the board. Does anyone here use sendmail + dovecot + maildir? if so what's the best way of going about this?
We're using Procmail as LDA. Emails are delivered in a 'hashed-mailspool' fashion (e.g. /var/mail/r/remy/).
This is the build information of the procmail package:
PROCMAIL 3.22
In order to addept Procmail to the hashed mailspool used in the FALW email subsystem, some files have to be changed:
Makefile:
---------
Set 'BASENAME' to: /opt/procmail
config.h:
---------
Set 'ETCRC' to: /etc/opt/procmail/procmailrc
Set 'ETCRCS' to: /etc/opt/procmail/procmailrcs/
Set 'DEFlockext' to: /procmail.lock
Now issue an 'make'. Procmail will be build. After the build, a file named 'autoconf.h' is created. This file must be altered:
autoconf.h:
-----------
Change 'MAILSPOOLDIR' to: /var/mailstore/
Add these lines: #define MAILSPOOLSUFFIX "/"
#define MAILSPOOLHASH 1
Do another 'make'. Procmail will now be build the way we want to. All files needed are in the 'new' subdirectory.
We build Procmail on Solaris 9 with gcc. Although the source code says some things could be altered in source, this doesn't work for us. The method above works.
-Remy
participants (4)
-
alan premselaar
-
Andrew Hucthings
-
Gabriel Granger
-
Remy Zandwijk