[Mimedefang] custom function - stripping attachments based on headers

Nels Lindquist nlindq at maei.ca
Tue Apr 30 17:34:03 EDT 2002


On 30 Apr 2002 at 15:20, Terry Davis wrote:

> Ok, sorry for being a pest.  I tried simplifiying this more:
> 
> open(HDRS, "<HEADERS");
> while( $line = <HDRS> ) {
>   chomp $line;
>   syslog('warning', "It worked\n");
> }

<SNIP>

One other suggestion which is unrelated to your direct problem is 
that you have a look at the Mail::Header module.  You'll already have 
it (comes with MailTools).

I found it makes header manipulation much easier.

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.




More information about the MIMEDefang mailing list