

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Maildrop filtering no...| From | Sent On | Attachments |
|---|---|---|
| Flora Dru | Feb 7, 2006 2:12 am | |
| Flora Dru | Feb 7, 2006 10:43 pm | |
| Devin Rubia | Feb 8, 2006 6:10 am | |
| Pollywog | Feb 8, 2006 12:55 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: [maildropl] Maildrop filtering not working | Actions... |
|---|---|---|
| From: | Flora Dru (dr...@dicts.mak.ac.ug) | |
| Date: | Feb 7, 2006 10:43:38 pm | |
| List: | net.sourceforge.lists.courier-maildrop | |
Hi,
If i put the rules in /etc/maildroprc, the filtering works fine. Looks like .mailfilter in the user's maildir is not being read. Please advise on what i could be leaving out.
Thanks Florence
Flora Dru writes:
Hi all,
I'm setting up a new mail server (postfix 2.2.8 + swebmail 5.0.7 + maildrop 2.0.1 + courier-imap 4.0.6 and of course courier authlib 0.58) on an AMD64 machine running on opensuse linux.
My setup is for virtual users and i have put a global maildirfilterconfig in /usr/lib/sqwebmail/etc its entries MAILDIRFILTER=../.mailfilter MAILDIR=./Maildir
And i get 'Edit mail filters' and 'Edit autoreplies' menus when i login in sqwebmail.
I go ahead to create filtering rules using the 'Edit mail filters' however they don't work or am missing something.
The .mailfiliter file is created in the user's home directory i.e /home/vmail/virtual1.domain.com/user1
I for example set the following rule to deliver mail whose body contains phd to a folder called phd but all mail gets delivered to the main Maildir directory (new).
#MFMAILDROP=2 # # DO NOT EDIT THIS FILE. This is an automatically generated filter.
FROM='use...@virtual1.domain.com' import SENDER if ($SENDER eq "") { SENDER=$FROM }
##Op:contains ##Header: ##Value:phd ##Folder:.PHD ##From: ##PlainString ##Body ##Name:PHD
if ((/phd/:b)) { to "./Maildir/.PHD/." }
to "./Maildir/."
in my /etc/postfix/main.cf mailbox_command = /usr/local/bin/maildrop -d "$USER" virtual_transport = maildrop maildrop_destination_recipient_limit = 1
in /etc/postfix/master.cf maildrop unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/local/bin/maildrop -d ${recipient}
ls -l /home/vmail drwx------ 4 vmail vmail 4096 Feb 6 14:35 virtual1.domain.com
ls -l virtual1.domain.com drwx------ 3 vmail vmail 4096 Feb 7 09:04 user1 drwx------ 3 vmail vmail 4096 Feb 7 09:56 user2
ls -l user1 -rw------- 1 vmail vmail 322 Feb 6 14:40 .maildirfilter drwx------ 13 vmail vmail 4096 Feb 6 14:40 Maildir
ls -l Maildir drwx------ 13 vmail vmail 4096 Feb 6 14:40 . drwx------ 3 vmail vmail 4096 Feb 7 09:56 .. drwx------ 5 vmail vmail 4096 Feb 3 18:33 .Drafts drwx------ 5 vmail vmail 4096 Feb 6 12:43 .PHD drwx------ 5 vmail vmail 4096 Feb 3 18:34 .Sent drwx------ 5 vmail vmail 4096 Feb 6 12:40 .Trash drwx------ 2 vmail vmail 4096 Feb 3 11:52 courierimaphieracl -rw-r--r-- 1 vmail vmail 520 Feb 3 17:17 courierpop3dsizelist drwx------ 2 vmail vmail 4096 Feb 7 10:18 cur -rw------- 1 vmail vmail 2038 Feb 7 10:18 maildirsize drwx------ 2 vmail vmail 4096 Feb 7 10:18 new -rw------- 1 vmail vmail 124 Feb 7 10:18 sqwebmail-config drwx------ 2 vmail vmail 4096 Feb 7 09:57 sqwebmail-curcache -rwx------ 1 vmail vmail 1 Feb 7 10:18 sqwebmail-curcache.nfshack -rw------- 1 vmail vmail 73 Feb 7 09:57 sqwebmail-ip -rw------- 1 vmail vmail 1 Feb 7 10:18 sqwebmail-timestamp -rw------- 1 vmail vmail 17 Feb 7 10:18 sqwebmail-token drwx------ 2 vmail vmail 4096 Feb 7 10:18 tmp
/etc/maildroprc is DEFAULT=Maildir
Please help advise on what my problem could be.
Thanks Florence
------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________ Courier-maildrop mailing list Cour...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/courier-maildrop







