I'm toying around again with Courier's localfilters. I just learned that smtpfilter can include a script from /etc/courier/maildroprcs/ and the included script can do things normal embedded maildrop scripts can't (xfilter, ``, etc). I'm attempting to use this to call spamassassin at SMTP time for certain users so that mail above X score can be rejected outright if they wish. My one problem though is that the /etc/courier/maildroprcs/ scripts don't seem to get any information on the message recipient. I've tried:
import RECIPIENT import LOCAL import USER `set > set.txt` but none of the variables seem to be set properly by maildrop to the recipient. Is there any way to determine the recipient for maildroprcs filters? I guess I could have a $HOME/.mailfilters/smtpfilter of: [EMAIL PROTECTED] include "/etc/courier/maildroprcs/spamassassin" and do it that way but it doesn't seem quite as smooth as it should be. Jay -- Jay Lee Network / Systems Administrator Information Technology Dept. Philadelphia Biblical University -- ------------------------------------------------------- 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_id=7628&alloc_id=16845&op=click _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users