The problem is that my %u is a user not the mail address and i train on
the mail address from master.cf
I modded your old script to support (for dovecot 1.0.x) it but when
1.1.x came it didnot work anymore
i have a diffrent username for auth then for resiveing mail so it
impossible to train on that
You could have a option called train on resiptient or something
i got the recipient address in the script then added this:
execl(DSPAM, "--source=error", "--stdout", "--user", recipient,
class_arg, sign_arg, NULL);
Regards
/J3nkl3r
Johannes Berg wrote:
My dspam users has the email as username [EMAIL PROTECTED] and in
dovecot.conf i need to specify the user when training, is there a
way to get the resiptient address in the dovecot.conf? i am only able to
get %u ie the username ;-(
Could you patch the antispam plugin to be able to take then resiptient
as dspam user? ie the mail address , you can have a option in dovecot
that says use resiptient address as user or something
it would be great if you had time to check this out ;-)
TBH, I don't, and I also don't see why you'd need the recipient address,
can't you just build it like [EMAIL PROTECTED] or [EMAIL PROTECTED] or
something?
johannes