• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

turn on spam filter/anti virus for all accounts

perler2

Basic Pleskian
hi,

after moving domains from another server with a different AV/Sapm filter system, all accounts have the stock spam filter and AV (Parallels Premium Antivirus) switched off.

is there a way to turn these features on for all accounts on the server?

PAT
 
You can write some script for mass mailboxes update with using /usr/local/psa/bin/mail utility. --help option for more details.
 
ok, thanks, but you don't have this internally done yet? this must have come up in the development process. could you check?

regards,

PAT
 
You can also try to set 'spamfilter' and 'virusfilter' in 'mail' table of psa database for each mailbox and rebuild mailsettings with /usr/local/psa/admin/sbin/mchk --with-spam
 
ok, this works, at least in regard to spam filtering, only halfway. although i can switch on the spam filter by setting all accounts to "true" in the "psa/mail" table, column "spamfilter" and the the mail get's filtered by spamassassin, there is the problem, that the mails found are not marked, as there needs to be added a row for each mail account in the table "psa/spamfilter_preferences" like "move" ort "subject: SPAM".

do you have an SQL query ready, which does this for all accounts?
 
Sorry, I do not understand. spamfilter_preferences table contains settings for spamfilters and why do you think that there is should be some records for _each_ mailbox?
 
have a look:

this is th preferences panel of a user, where i turn on the spam filter by hand:

http://screencast.com/t/TUSafO2Udfa

the table spamfilter_preferences looks like this

http://screencast.com/t/w8eeVCQfZ

this is the panel of someone, where i set the spamfilter to "on" in the database and let run mcheck:

http://screencast.com/t/0wpyZED6CBC

as you can see, in the table above is no entry for preferences for this user, so it get's set to default, mark as spam, but don't change the subject.

PAT
 
Back
Top