Hello,

I'm testing how to add disclaimers.  We have a server that sends
notifications and need to add a couple of lines of text.  Testing by
talking directly to the port where the policy map exists, works fine. 
However, when the server sends this notification, nothing gets added.  
It's not an issue of not hitting the policy bank, as I can see it in the
logs.  Could it be because how the messages are being sent by the
server?  This is an example (removed the top part of the header):

To:  <[email protected]>
Reply-To:  <[email protected]>
Content-Type: multipart/mixed;
   boundary="Boundary_4BBF8200_90E68643_29"

--Boundary_4BBF8200_90E68643_29
Content-Type: text/plain; charset=UTF-8

You have a voice message from extension 1234

--Boundary_4BBF8200_90E68643_29--

My settings for the policy bank are:

$inet_socket_port = [10024, 10026];
...
$interface_policy{'10026'} = 'VOICEMAIL';
$altermime = '/usr/bin/altermime';
@altermime_args_disclaimer =
      qw(--verbose --disclaimer=/amavis/voicemail-url.txt);
          $defang_maps_by_ccat{+CC_CATCHALL} = [ 'disclaimer' ];
$policy_bank{'VOICEMAIL'} = {
  bypass_spam_checks_maps   => [1],
  allow_disclaimers => 1,
  final_spam_destiny   => D_PASS,
};

Also tried with --multipart-insert Any ideas?  Thanks in advance...

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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