Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: marciano on April 07, 2023, 07:22:52 PM

Title: Blacklist?
Post by: marciano on April 07, 2023, 07:22:52 PM
I included markasjunk plugin so users have a Spam button that moves present email from Inbox to Spam.
1) How can I let users have an editable blacklist to append every email send to Spam via spam button?

2) I added $config['markasjunk_learning_driver'] = 'sa_blacklist'; to markasjunk config file but marking an email as Spam I got
QuoteApplication Error (600): Configuration error. Unsupported database driver:
Connection roundcube to database is correct.
Title: Re: Blacklist?
Post by: alec on April 08, 2023, 01:58:26 AM
This driver requires installed/enabled/configured SAUserPrefs plugin.
Title: Re: Blacklist?
Post by: marciano on April 08, 2023, 06:26:02 PM
Thanks!
It is working.
I also had to create a spamassassin database, checking jqueryui is already installed but configured.
I marked an email to Spam then Spamassassin db table has a new record.
I also added an email address to whitelist.
1) Where is it stored?
2) A user has a long blacklist, how can he add it to blacklist?
Thank you
Title: Re: Blacklist?
Post by: JohnDoh on April 09, 2023, 10:55:24 AM
Look under Settings > Spam (or Junk) > Address Rules
Title: Re: Blacklist?
Post by: marciano on April 11, 2023, 07:54:26 AM
I only can add addresses one by one.  I have hundreds. I tried to put a few, comma, space or semi-colon delimitted but it is not possible to add them bulk
Title: Re: Blacklist?
Post by: Dmitry42 on April 12, 2023, 12:32:36 PM
if you use POSTFIX - read about Postgrey.
Title: Re: Blacklist?
Post by: JohnDoh on April 12, 2023, 12:43:57 PM
The SAUserPrefs plugin does not support address imports. I suggest you import directly to your SpamAssassin prefs table.
Title: Re: Blacklist?
Post by: marciano on April 12, 2023, 05:30:27 PM
Quote from: Dmitry42 on April 12, 2023, 12:32:36 PM
if you use POSTFIX - read about Postgrey.
I use Postfix but Postgrey. I left it years ago because of false positives.
Title: Re: Blacklist?
Post by: marciano on April 12, 2023, 05:32:15 PM
Quote from: JohnDoh on April 12, 2023, 12:43:57 PM
The SAUserPrefs plugin does not support address imports. I suggest you import directly to your SpamAssassin prefs table.
OK, got it, thanks.