Frank,

> $altermime = '/usr/local/bin/altermime';
> @altermime_args_disclaimer =
>        qw(--verbose --disclaimer=/etc/postfix/disclaimer.txt);
> $defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ];
> allow_disclaimers => 1;

>   lookup: (scalar) matches, result="disclaimer"
> Mar  8 16:43:39 test amavis[7078]: (07078-01) lookup => true,
> "[EMAIL PROTECTED]" matches, result="disclaimer",
> matching_key="(constant:disclaimer)"
> Mar  8 16:43:39 test amavis[7078]: (07078-01) mangling NO: 0 (orig:
> disclaimer), discl_allowed=0, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>
>
> The signatur is not on the mail. I found not the problem. Can I help you.

The allow_disclaimers is not true.

Your line from above:

  allow_disclaimers => 1

must be within a MYNETS policy bank (to allow adding
disclaimers only for mail coming from inside), like
shown in the example in RELEASE_NOTES:

    @mynetworks = qw( ... );

    $policy_bank{'MYNETS'} = {  # mail originating from our users
      allow_disclaimers => 1,
      # ...and other settings if needed
    }

You may turn on the variable globally too, but the syntax is different,
it is a normal variable assignment then (not a key/value pair as in a hash):

  $allow_disclaimers = 1;

It is generally not a good idea to turn on $allow_disclaimers globally,
as it would then allow adding disclaimers to incoming mail as well.
But you may try it as a testing measure if you want.

  Mark


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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/

Reply via email to