On Mon, Oct 07, 2002 at 02:03:44PM -0400, Steve Shockley wrote:
> In /etc/courier/courierd:
> DEFAULTDELIVERY="| /usr/local/bin/spamassassin | /usr/local/bin/maildrop"

Maybe something along the lines of the following would give you a better
CYA:

if [ -x /usr/local/bin/spamassassin ] && [ -x /usr/local/bin/maildrop ] ; then
  DELIVER_THRU="|/usr/local/bin/spamassassin | /usr/local/bin/maildrop"
else if [ -x /usr/local/bin/maildrop] ; then
  DELIVER_THRU="| /usr/local/bin/maildrop
else 
  DELIVER_THRU="./Maildir/"
fi

DEFAULTDELIVERY="$DELIVER_THRU"


-- 
The 5 year plan:
In five years we'll make up another plan.
Or just re-use this one.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to