Thank you very much Mark.  This works great for me too now, including 
checking against a custom X- header.

Thanks,
Chris

----- Original Message ----- 
From: "Mark Martinec" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, July 31, 2008 8:10 PM
Subject: Re: [AMaViS-user] Quarantaine mail without spamassassin


> Richard,
>
>> can you also use this with other custom lines in the header ?
>> Our provider puts also a : X-Spam-Flag: YES
>> is the header. Can you also test for that ?
>> >   my($subj) = $msginfo->get_header_field_body('subject');
>
> Yes, the get_header_field_body method can fetch any header field.
> If there are multiple instances (like with Received), each one
> can be selected individually. See comments at sub get_header_field.
>
> Keep in mind than anything after a colon is a body of a
> header field - which typically starts with a space or tab.
>
>  Mark






USA.NET 
You Run Your Business.  We'll Run Your Email.

This message is for the sole use of the intended recipient(s) and may contain 
confidential and/or privileged information of USA.NET, Inc.  Any unauthorized 
review, use, copying, disclosure, or distribution is prohibited.  If you are 
not the intended recipient, please immediately contact the sender by reply 
email and delete all copies of the original message.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to