cat /etc/redhat-release:
Red Hat Linux release 7.2 (Enigma)

uname -a:
Linux ... 2.4.20-13.7 #1 Mon May 12 13:13:52 EDT 2003 i686 unknown

courier is 0.44.2.

btw - is that currently the only way to filter attachments?
the example i gave before using maildroprc was just to put down the fire with all those worms flying around..
right now what's working is spamassassin rule:
required_hits 50
body VIRUS_2 /name=\".*\.(com|exe|pif|scr|vbs|wsh|lnk)\"/i
describe VIRUS_2 Worm/Virus/Trojan Attachments
score VIRUS_2 300.0


Julian Mehnle wrote:

Hi Moshe, hi Sam,

Moshe Gurvich [EMAIL PROTECTED] wrote:


now it gives:

Mar 14 16:20:36 mail courierfilter: Can't call method "close" on an undefined value at /usr/local/ActivePerl-5.8/lib/site_perl/5.8.3/Courier/Filter.pm line 299.
Mar 14 16:20:36 mail courierfilter: Compilation failed in require at /etc/courier/filters/active/pureperlfilter line 28.



That is very strange. The line where the error occurs tries to close its file descriptor #3, as required by the courierfilter specification[1]. But apparently it cannot get access to that file descriptor in the first place, which may mean that it was not open in the first place.


Ok, this is going to get messy. What's your operating system (`uname -a`), your Linux distribution (if Linux at all), and your Courier version?

Sam, do you have any idea why `IO::File->new('<&=3')` might return undef in a courierfilter?

PS: Please stop CCing me, I don't want to receive all of your messages twice. :-)

[1] http://www.courier-mta.org/courierfilter.html



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users





------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to