Open laclaro opened 7 years ago
This post is wrong, I just keep is for completeness.
I got this resolved myself by adding those values manually in my policy table (with the correct default values). For existing users I had to change the values of "addr_extension_spam" since the column already existed.
column: recipient_delimiter type: char(1) default: +
column: addr_extension_spam type: varchar(64) default: Spam
Another option would be to remove the "addr_extension_spam" completely from the table (am I right?). I would recommend to do so, because it is not adjustable in amacube anyway and does only override the settings from your text-based amavis-config (NULL in sql renders them "undef" I guess).
Best,
Henning
Okay, I got it resolved now. Finally. There was an error with the permissions. You have allow anyone to post ("anyone p") to post to your users Spam folder. Otherwise amavis' reinjected mail gets bounced to INBOX again.
Columns that hold NULL values in mysql do not override text-based settings, so you dont have to drop any columns not used by amacube. They won't affect the behavior. To redirect spam mail, just put this:
# redirect spam that scores sa_tag2_level_deflt < score < sa_kill_level_deflt
# permissions 'anyone p' required to allow amavis to post to that folder
$recipient_delimiter = '+';
$addr_extension_spam = 'Spam';
Best,
Henning
I would like to deliver tagged Spam (above tag2 level) to the users Spam folder. This mechanism does not work anymore if amacube is enabled and I wonder why?
From my amavis config:
Best,
Henning