-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
Once again a question regarding modifing mails.
I managed adding a disclaimer to any outgoing mail with altermime.
Now I want to do a second thing:
Any *incoming* mail wich is classified as spam should be attached to a
spamreport mail. This worked before upgrading to amavisd-new 2.5.0:
The user got a mail wich was telling him that a mail was classified as
spam, the original mail was attached.
I found out that amavisd-new tries to use altermime or anomy-sanitzer
for defanging mails if it is installed. If one does not want altermime
this has to be configured explicitly. I did set up a corresponding
ruleset for my domain but it doesn't work. Can someone point me into the
right direction? This is my rule for defanging incoming mails:
$defang_maps_by_ccat{+CC_SPAM} = [
{ # a per-recipient hash lookup table
'.dynamik.sytes.net' => 'attach',
},
$defang_spam, # fallback to old style setting if no match above
];
As far as I understood the docs, amavisd should use the old "attach"
method to defang my mail if it is classified as spam. But it doesn't.
Instead it tries to use altermime wich I dont want.
Mails get only defanged if I rename altermime so amavisd can not find it.
May anyone tell me what I'm missing?
regards,
Sven
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIVAwUBRmQjVtnkcivdkj5yAQIlbQ//Vw7WqCQpZ2g/o+IinbBzopGX8OtCpNYK
/U76T6WrrBovusfcXCxpvDjj8w6gwTVMDFsol4dwc2h4BZc2YL7oTdS7v6fAVn9t
IFDducte3m+4MfP52SscX1a/FBW1/TI/9KfWT3MvzGlZcjv69pUa4rAD2RLH5FTt
Le9SJcxCkgSpLuHYF1lq1z0pW5AGS9wR5pD7ZqWpbR06OwTXUFZt7Rzdk6j2Brr+
/RoMLQ+/alOS0VPCssdELDlhUbRBxNb4Zh7X69FDBOGhKrDn4IATdv/Zo1YBf2Sl
H/Xv3WQy/+Ch0yKZGTReluf9pXZrZR0P/a/eGAPmY+Uz4diBrFt7NC/uqV4is/WE
+Z9wjl8UEieyCijkS8iZE+nZdg6Vblg/i8opS4JZn2iyQlSPBrxVntkh+IXyq1mE
lVnBwHGm4A1V9xMR/Zd0zWne2+YNxzRHGVFedoUUDitbkB+ad1I5Iz277ZkJBYwa
B7HexZxdNWCc1JLHnsX5DpebMm5BWMvH95bXvOj6kKy/111E721u8a9hHaXtb9XZ
FxULzBEprGIsD9c69AN6Mr3nG686/AOQsQKhFdaK3KB5esqPTBbhp8ParWhrrMvA
QGzTxmgJZyfyxJhZ9lOLKNncXH9CiUbSkSxm9+VMHmFiK4nurAccjRstVxkhABwK
4R4nUgIFF6M=
=zlyb
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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/