I finally found time to do some testing and confirmed that it does
work the way I was hoping.

With a .mailfilter like this:

    if ( /^X-Spam-Flag: YES/ )
    {
         exception {
              to "./Maildir/.Spam/"
         }
    }

Spam is delivered to the "Spam" folder if it exists.  If the "Spam"
folder does not exist, spam is delivered to the inbox (via default
delivery instructions).

Bowie


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to