

![]() | 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: |
1 message in net.sourceforge.lists.courier-maildrop[maildropl] vpopmail + spamassassin +...| From | Sent On | Attachments |
|---|---|---|
| Alexander Averyanov | Sep 9, 2003 3: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] vpopmail + spamassassin + maildrop + reformail | Actions... |
|---|---|---|
| From: | Alexander Averyanov (av...@pvk.org.ru) | |
| Date: | Sep 9, 2003 3:51:47 am | |
| List: | net.sourceforge.lists.courier-maildrop | |
Hello.
I'm using maildrop and vpopmail, i'm calling maildrop by .qmail-default in the domain directory
=== | /usr/bin/maildrop ./mailfilter ===
mailfilter: === import HOME import EXT import HOST
VPOP="| /var/lib/vpopmail/bin/vdelivermail '' bounce-no-mailbox" VHOME=`/var/lib/vpopmail/bin/vuserinfo -d $EXT@$HOST` SPAMVHOME=`/var/lib/vpopmail/bin/vuserinfo -d spam@$HOST`
if ( $SIZE < 2097152 ) { exception { xfilter "/usr/bin/spamc -f" } } if (/^X-Spam-Flag: *YES/) { exception { to $VHOME/Maildir/.SPAM/ } exception { include $SPAMVHOME/Maildir/.mailfilter } exception { to "$VPOP" } } else { exception { include $VHOME/Maildir/.mailfilter } exception { to "$VPOP" } } ===
.mailfilter in $SPAMVHOME: === import HOST
VERBOSE=9 SPAMVHOME=`/var/lib/vpopmail/bin/vuserinfo -d spam@$HOST`
dotlock spam_dups.lock { exception { xfilter "reformail -D 16384 $SPAMVHOME/spam_dups_msgid.cache" } echo "SPAM ANTIDUP RETURNCODE=$RETURNCODE" }
if ( $RETURNCODE == 1 ) { echo "ORIGINAL SPAM MESSAGE!" exception { to $SPAMVHOME/Maildir/ } } else { echo "DUPLICATED SPAM MESSAGE!" exception { to "$SPAMVHOME/Maildir/.dups/" } } ===
When "original spam message" arrives everithing works as expected. But when arrives duplicated mail it's not worked - messages NOT appears in $SPAMVHOME/Maildir/.dups/new/
'.dups' directory created with 'maildirmake -f dups Maildir'
Log message
===
2003-09-09 14:47:32.520004500 delivery 23198: success:
maildrop:_Filtering_through_`/var/lib/vpopmail/bin/vuserinfo_-d_spam@$HOST`//var/lib/vpopmail/domains/mydomain.ru/spam/Maildir/.mailfilter(6):_SPAMVHOME="/var/lib/vpopmail/domains/mydomain.ru/spam"//var/lib/vpopmail/domains/mydomain.ru/spam/Maildir/.mailfilter(8):_Creating_dotlock_spam_dups.lock//var/lib/vpopmail/domains/mydomain.ru/spam/Maildir/.mailfilter(9):_Trapping_exceptions./maildrop:_Filtering_through_xfilter_reformail_-D_16384_/var/lib/vpopmail/domains/mydomain.ru/spam/spam_dups_msgid.cache//var/lib/vpopmail/domains/mydomain.ru/spam/Maildir/.mailfilter(9):_Exception_trapping_removed./SPAM_ANTIDUP_RETURNCODE=0//var/lib/vpopmail/domains/mydomain.ru/spam/Maildir/.mailfilter(19):_Evaluating_IF_condition.//var/lib/vpopmail/domains/mydomain.ru/spam/Maildir/.mailfilter(19):_Operation_on:_0_and_1_-_equal,_result_is_0//var/lib/vpopmail/domains/mydomain.ru/spam/Maildir/.mailfilter(19):_IF_evaluated,_result=0/DUPLICATED_SPAM_MESSAGE!//var/lib/vpopmail/domains/mydomain.ru/spam/Maildir/.mailfilter(29):_Trapping_exceptions./did_0+0+1/
===
I hope that someone can help me! Thanks.
-- Alexander Averyanov







