• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

IMAP Spam Begone alternative to dropmail or procmail

C

Cameleon

Guest
I been diging for good way to move spam messages to spam folder on my box. Dropmail does not seems to work correcly so i am stuck with isbg wich is small superb python script that does all for you.

But I am stuck now, to do it's job I have to execute script with such command:

./isbg.py --delete --expunge --imaphost mail.domain.com --imapuser user@domain.com

So, wheen i got multiple clients, and they are creating email's crazy way would be add every email by hand, so I would need to add to event handler module in plesk something like that: "wheen creating new email", get email and domain name, put that in my file as new line.

./isbg.py --delete --expunge --imaphost mail.domain2.com --imapuser user2@domain2.com

Little help, please ?
Thanks in advance
Kamil
 
Back
Top