7 messages in net.sourceforge.lists.courier-maildrop[maildropl] Maildrop & .mailfilter pr...
FromSent OnAttachments
Data LeungAug 2, 2007 1:29 am 
Sam VarshavchikAug 2, 2007 4:04 am 
Data LeungAug 2, 2007 5:04 am 
Data LeungAug 2, 2007 5:13 am 
Sam VarshavchikAug 2, 2007 3:19 pm 
Data LeungAug 3, 2007 8:50 am 
Sam VarshavchikAug 3, 2007 3:58 pm 
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] Maildrop & .mailfilter problems .Actions...
From:Data Leung (data@hotmail.com)
Date:Aug 2, 2007 1:29:25 am
List:net.sourceforge.lists.courier-maildrop

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