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
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