On 06/07/2013 06:13 PM, Milan Obuch wrote:
>> Ah of course, thank you. The Dsapm filtering in my /etc/courier/maildroprc
 >> is always going to be activated so, yes, it will deliver to .Junk/.Trash
 >> or else the users Inbox.
>
> Is this the last action taken? You could then just leave out 'to Inbox'
> and let maildrop process $HOME/.mailfilter then... Or if you could show
> your maildroprc file I can tell more accuratelly.

[for future Google or mailing-list searches]

Bingo, thanks Milan. For some ancient forgotten reason I had explicit else
clauses in our maildroprc. The ultra simple solution was to remove the two
else conditions below and now it sources ~/.mailfilter!

`test -d $HOME/Maildir/.Junk.Spam`
if (!$RETURNCODE)
{
   xfilter "/usr/bin/dspam --user $RECIPIENT --stdout --deliver=innocent,spam"

   if (/^X-DSPAM-Result: Spam/:h)
   {
     to "./Maildir/.Junk/."
   }
   else
   {
     to "./Maildir/."
   }
}
else
{
   to "./Maildir/."
}


------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to