5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Re: Maildrop using vp...
FromSent OnAttachments
Sam VarshavchikDec 22, 2001 10:26 am 
Hilary LukDec 25, 2001 8:45 pm 
Sam VarshavchikDec 25, 2001 8:56 pm 
Hilary LukDec 25, 2001 9:12 pm 
Sam VarshavchikDec 25, 2001 9:48 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:Re: [maildropl] Re: Maildrop using vpopmail & mysqlActions...
From:Hilary Luk (kfl@euro-tech.com)
Date:Dec 25, 2001 8:45:40 pm
List:net.sourceforge.lists.courier-maildrop

Hello,

The following shown on maillog after change maildirfilterconfig to the follow:

[root@mail01]# cat .qmail-hello |/usr/local/bin/maildrop /home/vpopmail/domains/euro-tech.com/hello/Maildir

[root@mail01]# cat hello/.mailfilter #MFMAILDROP=2 # # DO NOT EDIT THIS FILE. This is an automatically generated filter.

FROM='hel@euro-tech.com'

##Op:startswith ##Header: ##Value:test ##Folder:.test ##From: ##PlainString ##Body ##Name:test

if ((/^test/:b)) { to "./Maildir /.test/." }

== maillog quote == Dec 26 12:33:39 mail01 qmail: 1009341219.347506 status: local 0/10 remote 0/20 Dec 26 12:33:39 mail01 qmail: 1009341219.347525 end msg 605647 Dec 26 12:37:51 mail01 qmail: 1009341471.346083 starting delivery 259: msg 60564 4 to local euro@euro-tech.com Dec 26 12:37:51 mail01 qmail: 1009341471.346200 status: local 1/10 remote 0/20 Dec 26 12:37:51 mail01 maildrop[3261]: Cannot have world/group permissions on th e filter file - for your own good. Dec 26 12:37:51 mail01 qmail: 1009341471.358582 delivery 259: deferral: /usr/loc al/bin/maildrop:_Cannot_have_world/group_permissions_on_the_filter_file_-_for_yo

ur_own_good./ Dec 26 12:37:51 mail01 qmail: 1009341471.358656 status: local 0/10 remote 0/20 ==

Mail still not deliver .... very strange. Any ideas ? Thank you for your help.

Regards, Hilary

Sam Varshavchik wrote:

kfluk writes:

Hello.

I implemented QMail + Vpopmail + mysql + sqwebmail as mail system. I just added Maildrop for Mail Filtering. But it seems not work well.

I added the following to maildirfilterconfig # cat /usr/local/share/sqwebmail/maildirfilterconfig MAILDIRFILTER=../.mailfilter MAILDIR=./Maildir

And change .qmail-default to the following. | /usr/local/bin/maildrop -v5

But it seems not deliver the email to client.

maildrop does not have direct support for vpopmail.

You can get this to work by using absolute pathnames for all the relevant files, and by installing a custom maildirfilterconfig in each mail account. See the maildrop man page for information on ways to run maildrop. See sqwebmail's INSTALL file for description of the parameters in maildirfilterconfig.