I'm not sure, if I understand the FAQ under "No spam-related headers
inserted?" and "Sendmail milter" correctly: it is _not_ possible to add
X-Spam-Status to the header and using $sa_spam_subject_tag to rewrite
the "Subject: " when running amavisd-new with amavisd-new-milter and
I'm trying to rewrite the subject since a few hours, but it's still not
working. Spammails are saved with X-Spam-Tags
to /var/lib/amavis/virusmails/ and another copy is deliverd the user's
mailbox, but only with a "X-Virus-Scanned: by amavisd-new" modification.
Some parts of my config:
$final_spam_destiny = D_PASS;
$sa_spam_subject_tag = '[SPAM] ';
$sa_spam_level_char = '*';
$sa_spam_report_header = 1;
$sa_tag_level_deflt = -9999;#
$sa_tag2_level_deflt = 5;
$sa_kill_level_deflt = 8;
$sa_dsn_cutoff_level = 15;
( ["localhost", "mydomain.de", ".$mydomain",
From: Mark Martinec <Mark.Martinec+<amavis@ij...> - 2010-01-18 12:58:14
> I'm not sure, if I understand the FAQ under "No spam-related headers
> inserted?" and "Sendmail milter" correctly: it is _not_ possible to add
> X-Spam-Status to the header and using $sa_spam_subject_tag to rewrite
> the "Subject: " when running amavisd-new with amavisd-new-milter and
It should be possible using Petr Rehor's milter for amavisd:
(the old milter in the amavisd package does not support
dynamically changing header fields).
From: Mark Martinec <Mark.Martinec+<amavis@ij...> - 2010-01-22 17:29:11
On Monday 18 January 2010 14:31:23 Andreas Schulze wrote:
> Am 18.01.2010 13:41 schrieb Mark Martinec:
> > (the old milter in the amavisd package does not support
> > dynamically changing header fields).
> isn't it time to stop distibuting old software ?
Ditching the whole helper-progs directory from the distribution.
(from release notes of a next version):
- old helper programs amavis.c and amavis-milter.c are no longer distributed
with the package, along with the whole helper-progs subdirectory.
As a milter client please use the more modern 'amavisd-milter' package by
Petr Rehor, available at http://sourceforge.net/projects/amavisd-milter/
- a sample AM.PDP client program for mail submission to amavisd which was
previously distributed as 'helper-progs/amavis.pl' has been renamed to
'amavisd-submit' and slightly modernized. It provides partial functional
compatibility with a very early AMaViS client program amavis.c, which
takes a message on stdin, copies it to a temporary file, passes its
name to amavisd daemon using AM.PDP protocol, and based on the response
adjusts its exit status value so that an invoking script or program may
decide whether to deliver the mail message or not;