Hello, I'd like to block outgoing Word-Documents.
So I take the MYNET policy_bank like this: >--------------------------------------------------< $policy_bank{'MYNETS'} = { # mail originating from @mynetworks log_level => 5, banned_namepath_re => [ new_RE( qr'(?#BLOCK WORD OUTGOING) ^(.*\t)? T=doc (\t.*)? $'xm, ), ], }; >--------------------------------------------------< But amavis stop processing with this error: Feb 26 08:48:50 pluto amavis[17879]: (17879-01) (!!)TROUBLE in check_mail: check-banned FAILED: Not a SCALAR reference at /usr/sbin/amavisd line 6105. Feb 26 08:48:50 pluto amavis[17879]: (17879-01) prolong_timer check done: remaining time = 300 s Feb 26 08:48:50 pluto amavis[17879]: (17879-01) sending SMTP response: "451 4.5.0 Error in processing, id=17879-01, check-banned FAILED: Not a SCALAR reference at /usr/sbin/amavisd line 6105." Feb 26 08:48:50 pluto amavis[17879]: (17879-01) ESMTP> 451 4.5.0 Error in processing, id=17879-01, check-banned FAILED: Not a SCALAR reference at /usr/sbin/amavisd line 6105. Can somebody help me? Thanks a lot, Danny ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/