Answer the question
In order to leave comments, you need to log in
How to do mail filtering through Python?
Hello.
I use mail.ru mail. The built-in mail filter there is not very flexible. I would like mail to be filtered through Python (for example, so that letters automatically go to SPAM if the text of an incoming letter contains the phrases I specified). Can you please tell me what libraries I can use to do this?
Answer the question
In order to leave comments, you need to log in
Why not use an email client and set up filters there? The described task with filtering by text has long been implemented. There are extensions
for Thunderbird that allow you to use regular expressions if you need advanced text analysis.
I don’t really understand how you want to filter mail from a provider that does not provide an API for working with mail (all I found was one endpoint for checking the number of letters in the Inbox).
You need to add the parameter
VirtualDocumentRoot /var/www/mysite/data/www/mysite.com/%1
* is the last line in the DNS zone config? Serial changed when changing DNS zone?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question