2 messages in net.sourceforge.lists.courier-maildrop[maildropl] Configuring postfix / mai...
FromSent OnAttachments
ruslanMay 1, 2002 9:32 am 
Richard JohnsonMay 3, 2002 8:04 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Configuring postfix / maildrop / userdb / courier-imapActions...
From:ruslan (rus@btinternet.com)
Date:May 1, 2002 9:32:40 am
List:net.sourceforge.lists.courier-maildrop

........................................ on Mandrake 8.2 I got postfix configure like this;

-main.cf :- fallback_transport = maildrop

-master.cf:- maildrop unix - n n - - pipe flags=R user=vmail argv=/usr/local/bin/maildrop -d ${recipient}

vmail is a system user that is member of groups 'mail' and 'vmail' It's home=/home/vmail ; uid=500 and gid=500

I configure maildrop like this;

./configure \ --enable-userdb \ --enable-maildirquota --with-devel \ --enable-syslog=1 \ --disable-tempdir \ --enable-trusted-users='vmail postfix' \ --enable-trusted-groups='mail postfix'

thi command '# maildrop -v' shows:- GDBM extensions enabled Maildir quota enabled Virtual user database enabled

Building userdb;

# su vmail $ cd $HOME $ mkdir -p domains/domain1.com $ maildirmake domains/domain1.com/user1 $ exit # cp dev/null /etc/userdb # chmod 700 /etc/userdb

'domain1.com and user1 are sample, please replaced for you virtual host and
user.

I renamed 'null' to 'Default'

pw2userdb shows me that vmail is;

vmail uid=500|gid=500|home=/home/vmail|systempw=!! 500= vmail

'the actual values may vary

then I enter the user1 in database

# userdb "domain1.com/use@domain1.com" set home=/home/vmail \ mail=/home/vmail/domains/domain1.com/user1 \ uid=500 gid=500

note that values for uid and gid are those of vmail.

then I set pop3 password

# userdbpw | userdb "domain1.com/use@domain1.com" set pop3pw

finally

# makeuserdb

this is now ready...

install courier-imap like this:-

# su user $ ./configure --without-authvchkpw $ make $ make check $ exit # make install

after successful instalation run this commando as root..

/usr/lib/courier-imap/libexec/pop3d.rc start

and

/usr/lib/courier-imap/libexec/imapd.rc start

this is all ready.

any problems.. let me know.