[Mimedefang] accessing mail headers in mimedefang-filter

Steffen Kaiser skmimedefang at smail.inf.fh-bonn-rhein-sieg.de
Tue Nov 25 04:29:03 EST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 25 Nov 2008, Tilman Schmidt wrote:

>        unless (defined($entity->head) &&
>                lc($entity->head->get('Precedence', 0) eq 'bulk')) {
                                                                  ^ That's 
the final parenthesis of lc() -> it belongs before eq operator.

> How can I debug this? Is there a way to trace the execution, or
> to see whether the "get" method is actually called and what it
> is returning?

Add md_syslog()s

Or enter the Perl debugger:
http://www2.inf.fh-bonn-rhein-sieg.de/skdata/mimedefang/

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJK8Vh5ThHZhj8SBwRAu/AAJ0ZIpVGvrMQkDBECkPtvdYoCXszAACfV7yn
JVHkrWfSbO0Cho83VwHBJ7c=
=hFHk
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list