maildrop MDA upon vpopmail + imap

d /usr/src
wget http://heanet.dl.sourceforge.net/sourceforge/courier/maildrop-1.6.3.tar.bz2
tar jxpvf maildrop-1.6.3.tar.bz2
cd maildrop-1.6.3
./configure --prefix=/usr
make
make install-strip

now the tricky part:

go to the directory of delivery
(etc /var/vpopmail/domains/domain.com/user)
make a control file: '.qmail' containing:
 
 | /usr/bin/maildrop ./mailfilter

and a control file: 'mailfilter' containing:

 to /var/vpopmail/domains/domain.com/user/Maildir

remember:
 chown vpopmail.vchkpw .qmail mailfilter
 chmod 600 mailfilter

or maildrop WILL bork!!

add rules according to 'man maildropfilter' or http://www.flounder.net/%7Emrsam/maildrop/maildropfilter.html

for delivering to IMAP folders eg. INBOX.bugtraq use:

 to /var/vpopmail/domains/domain.com/user/Maildir/.bugtraq
Dette indlæg blev udgivet i Knowledge Base, Linux, Old Base. Bogmærk permalinket.

Skriv et svar