Dear List,
Here is my testing enviorment .
Maildrop-2.0.4
Courier-imap 4.1.3
postfix-2.2.10-1.1.el4 " run as virtual domain style & i had been
create a user / group name as vmail "
openldap-2.2.13-7.4E
I complie maildrop like this.
======================================
tar jxfv maildrop-2.0.4.tar.bz2
cd maildrop-2.0.4
/configure --prefix=/usr/local/maildrop
--enable-sendmail=/usr/sbin/sendmail
--enable-trusted-users=root,vmail,postfix,daemond --enable-syslog=1
--enable-maildirquota --enable-maildrop-uid=502 --enable-maildrop-gid=502
--with-dirsync --enable-maildirquota ; make ; make install
cp /usr/local/maildrop/bin/maildrop /usr/bin/
cp /usr/local/maildrop/bin/maildirmake /usr/bin/
chown root:vmail /usr/bin/maildrop
chmod u+s /usr/bin/maildrop
vi /usr/local/maildrop/etc/maildropldap.cf
vi /home/vmail/domains/.mailfilter
chown vmail:vmail /home/vmail/domains/.mailfilter
chmod 600 /home/vmail/domains/.mailfilter
vi /etc/postfix/master.cf
" insert this "
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop /home/vmail/domains/.mailfilter
-w 80 -d ${recipient}
ll /usr/bin/maildrop
-rwsr-xr-x 1 root vmail 842586 Aug 2 16:09 /usr/bin/maildrop
ll /usr/bin/maildirmake
-rwxr-xr-x 1 root root 81395 Aug 2 16:10 /usr/bin/maildirmake
======================================
Here is my problems :
Then I try to send e-mail by using telnet localhost SMTP.
And i found that maildrop didn't read .mailfilter rules set. " Since I
didn't found my own mailbox didn't have any IMAP subfolder appear. At the
same time there didn't get any log appear in /home/vmail/ ( my mailfilter
had been specifiec a maildir.log in /home/vmail )
IF I running like this :
cat /etc/redhat-release | sudo -u vmail maildrop -V -d da...@test.com
It's work and it shows that it could run /home/vmail/.mailfilter
Is there any anyone know what's the problems is it ?
Anyway I could debug where i get the problems ?
Hope somebody else could help .
Thanks .
_________________________________________________________________
Learn English via Shopping Game, FREE!
http://www.linguaphonenet.com/BannerTrack.asp?EMSCode=MSN06-03ETFJ-0211E