Hi everyone. I've been a silent reader of this list some months from now, and a regular vpopmail user almost 2 years from now.
So far I haven't had a single problem with my setups, which are composed by qmail+vpopmail+sqwebmail. Now, I'm building a system which, appart from every feature the old one had, would give also the ability to create filters via WWW (sqwebmail). The short story: qmail-1.03 vpopmail-4.9.10 sqwebmail (support for vpopmail auth) maildrop-1.3.4 To give my users the ability to filter their own email, I created the following structure: (in this case, this user's "virtual" home is in ...domain.com/0/user, but to some of them their home is ...domain.com/user). ~vpopmail/domains/test.com/0/user/.qmail contains: | maildrop /svcs/vpopmail/domains/test.com/0/test/Maildir/.maildirfilter And /svcs/vpopmail/domains/test.com/0/test/Maildir/maildirfilterconfig contains: MAILDIRFILTER=/svcs/vpopmail/domains/test.com/0/test/Maildir/.maildirfilter MAILDIR=/svcs/vpopmail/domains/test.com/0/test/Maildir As per sqwebmail's instructions, I login via sqwebmail and click on the "Save Rules" option, which creates a file named .maildirfilter in /svcs/vpopmail/domains/test.com/0/test/Maildir/ . Its content is as follows: #MFMAILDROP=2 # # DO NOT EDIT THIS FILE. This is an automatically generated filter. FROM='' to "/svcs/vpopmail/domains/test.com/0/test/Maildir/." This is what the logs show after sending a message to [EMAIL PROTECTED]: Oct 6 18:29:10 zbr qmail: 1002389350.013670 new msg 1102032 Oct 6 18:29:10 zbr qmail: 1002389350.013774 info msg 1102032: bytes 3150 from <[EMAIL PROTECTED]> qp 5949 uid 513 Oct 6 18:29:10 zbr qmail: 1002389350.088228 starting delivery 706: msg 1102032 to local [EMAIL PROTECTED] Oct 6 18:29:10 zbr qmail: 1002389350.088326 status: local 2/10 remote 0/20 Oct 6 18:29:10 zbr qmail: 1002389350.088355 delivery 705: success: did_0+0+1/ Oct 6 18:29:10 zbr qmail: 1002389350.088384 status: local 1/10 remote 0/20 Oct 6 18:29:10 zbr qmail: 1002389350.088410 end msg 1102031 Oct 6 18:29:10 zbr qmail: 1002389350.198989 new msg 1102031 Oct 6 18:29:10 zbr qmail: 1002389350.199090 info msg 1102031: bytes 3248 from <[EMAIL PROTECTED]> qp 5955 uid 513 Oct 6 18:29:10 zbr qmail: 1002389350.267236 starting delivery 707: msg 1102031 to local [EMAIL PROTECTED] Oct 6 18:29:10 zbr qmail: 1002389350.267334 status: local 2/10 remote 0/20 Oct 6 18:29:10 zbr qmail: 1002389350.267364 delivery 706: success: did_0+0+1/ Oct 6 18:29:10 zbr qmail: 1002389350.267392 status: local 1/10 remote 0/20 This goes on and on, forming a loop. Just after I delete the corresponding .qmail file (the one in ..../user/), the message gets delivered. In the message headers, I see a LONG list of: Return-Path: <[EMAIL PROTECTED]> Delivered-To: [EMAIL PROTECTED] Received: (qmail 9369 invoked by uid 513); 6 Oct 2001 23:10:28 -0000 Delivered-To: [EMAIL PROTECTED] Received: (qmail 9362 invoked by uid 513); 6 Oct 2001 23:10:28 -0000 Delivered-To: [EMAIL PROTECTED] Received: (qmail 9354 invoked by uid 513); 6 Oct 2001 23:10:27 -0000 Delivered-To: [EMAIL PROTECTED] Note that this isn't really a filter, although it is one by definition - it just tries to deliver the email to this user's Maildir. One other piece of information: I am NOT running maildrop as the default MDA - I'm just running it in every user's .qmail file (YES, it's a pain but this way I control whose users are able to filter email). Any help is greatly appreciated. ---- Ricardo Manuel Oliveira
