

![]() | 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-maildrop[maildropl] Maildrop isn't filtering| From | Sent On | Attachments |
|---|---|---|
| Isaac Zinner | Jan 3, 2006 12:32 am | |
| Milan Obuch | Jan 3, 2006 2:00 am | |
| Isaac Zinner | Jan 3, 2006 2:21 am | |
| Isaac Zinner | Feb 14, 2006 5:51 am |

![]() | 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: | [maildropl] Maildrop isn't filtering | Actions... |
|---|---|---|
| From: | Isaac Zinner (zin...@datatx.com) | |
| Date: | Jan 3, 2006 12:32:39 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Hello list,
My problem shortly : Maildrop is working but not filtering according to the
rules.
Here is the rule :
if (/^FROM:.isaac*/ )
{
to "$MAILDIR.Trash/"
}
But ALL the mail now goes to the Trash wether it is from Isaac or not.
I'm having this problem for weeks and really am going nuts.
I've installed Maildrop 2 with authlib .
Everything appears to be working fine except from the fact that Maildrop doesn't
really parse anything.
1.The filter should have delivered to the maildir and not to Trash folder
however every single mail is
being proccessed and deliverd to trash folder as if it fulfils the filter
rule .
2.The $MATCH is empty ( see below ) 3 What am I missing ?
here is my example : ************************************************** /etc/maildroprc : *************************************************** logfile "/var/mail/maildrop"
SHELL="/bin/bash"
DEFAULT = "$HOME"
MAILDIR = "$HOME/"
log
"-----------------------Start------------------------------------------------"
log $HOME
log "----------------------------"
log "maildir="
log $MAILDIR
log "----------------------------"
MAILDIRFILTER =./.mailfilter
*****************************************end of
maildroprc***************************************************************************
****************************************************** /var/spool/mail/datatx.com/test/.mailfilter
import $SHELL import $MAILDIR import $DEFAULT import $HOME logfile "mymaildrop1" log " 5 " log $MAILDIR log "---" log $DEFAULT log"---" log $HOME log" from=" log $FROM if (/^FROM:.isaac*/ ) { log "match=" log $MATCH to "$MAILDIR.Trash/" log "after match=" } to $MAILDIR
************************************************End of mailfilter
***********************************************************************
and here are the log files :
*************************************************** mailfilter log ( mymaildrop1 )
5 /var/spool/mail/datatx.com/test/
--- /var/spool/mail/datatx.com/test
--- /var/spool/mail/datatx.com/test from= te...@datatx.com match=
Date: Mon Jan 2 16:35:57 2006
From: "Isaac Zinner" <zin...@datatx.com>
Subj: testing
File: /var/spool/mail/datatx.com/test/.Trash/ (227
******************************************************end of log file
********************************************************************
In postfix the log says:
Jan 2 16:34:27 www postfix/smtpd[13205]: disconnect from
localhost.localdomain[127.0.0.1]
Jan 2 14:34:27 www postfix/smtp[13198]: 511061435A1: to=<te...@datatx.com>,
relay=127.0.0.1[127.0.0.1], delay=14, status=sent (250 2.6.0 Ok, id=12697-04,
from MTA: 250 Ok: queued as CD54C1435AE)
Jan 2 16:34:27 www postfix/qmgr[13178]: 511061435A1: removed
Jan 2 16:34:28 www authdaemond: received userid lookup request: te...@datatx.com
Jan 2 16:34:28 www authdaemond: authpgsql: trying this module
Jan 2 16:34:28 www authdaemond: SQL query: SELECT id, '', clear, uid, gid,
home, maildir, quota, name, '' FROM auth_maildrop WHERE id = 'te...@datatx.com'
Jan 2 16:34:28 www authdaemond: Authenticated: sysusername=<null>,
sysuserid=5000, sysgroupid=5000, homedir=/var/spool/mail/datatx.com/test,
address=te...@datatx.com, fullname=test, maildir=notInuse, quota=100,
options=<null>
Jan 2 16:34:28 www postfix/pipe[13213]: CD54C1435AE: to=<te...@datatx.com>,
relay=maildrop, delay=1, status=sent (datatx.com)
************************************End of Postfix
log************************************************************************************
My system is as follows: Fedora 3 on amd 64 bit. Postfix + Dovecot + amavisd new + clamav . I'm using IMAP with virtual users in a postgres db.
Regards Isaac







