SYSTEM INFORMATION | |
---|---|
OS type and version | Ubuntu Linux 22.04.5 |
Virtualmin version | 7.20.2 |
Hello,
I am having problem finding where to configure global filters with procmail.
I tried editing servers-> Procmail Mail Filter in webmin and add:
:0
- ^List-Unsubscribe:.*
$HOME/Maildir/.offers/
But it didn’t work. Then I found out that configs located in: /etc/webmin/virtual-server/procmail/
do work, but they seem to be created per domain, and I don’t know where template is.
Allow mailbox users to create mail filters is disabled in virtualmin.
I want to define rules in main config or modify template that is used to create per domain configs, eathier will suffice.
I want to mimic gmail offers separation. All newsletters and “spam” (that what passes spamassasin tests but is still considered not ineresting) from having public email would be put into offers tab and everything else that spam assasin catches to be placed in spam tab or deleted.
Regards.