Josh Grebe píše v Po 21. 11. 2005 v 13:20 -0600:
> Thanks, this helped a lot. I am, however, having a new issue. Delivering
> messages like this seems to ignore the users' .mailfilter files in $HOME. As a
> workaround I tried adding a "include $HOME/.mailfilter", but if the file 
> doesn't
> exist, it defers the delivery.
>
> Pertinant info from my configs:
>   DEFAULTDELIVERY="| /usr/bin/maildrop"
>   MAILDROPDEFAULT=./Maildir
>
> my maildroprc:
>       import USER
>       import HOME
>
>       xfilter "/usr/local/bin/filter.php $USER"
>
>       if ( /^SPAMSPAMSPAMSPAM/ )
>               {
>               to /dev/null
>               }
>
>       #include $HOME/.mailfilter <- this was my attempt, commented out
>       to Maildir
>
>
>
> Any thoughts?
>
> Thanks,
>
> Josh

If you want to use your workaround, enclose it into the 'exception'.
That way your mail will still be delivered although there is
no .mailfilter in users homedir.

exception {
    include "$HOME/.mailfilter"
}

--

Regards,
David Bruha <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to