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

-------------------------------------------------------------------------
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