1 (edited by djfake 2013-11-22 19:56:42)

Topic: reject email in non-latin lanugages?

======== Required information ====
- iRedMail version: .085
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MSQL
- Linux/BSD distribution name and version: Ubnuntu 12.04
- Related log if you're reporting an issue:
====
I'm getting slammed with spam that's 90% written in chinese (or at least the subjects are). Is there a way that I can automatically reject any email that's not written in a latin characters or the english language?

thank you

Post's attachments

Screenshot from 2013-11-21 07:10:57.png
Screenshot from 2013-11-21 07:10:57.png 172.55 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: reject email in non-latin lanugages?

You need 'ok_locales' in SpamAssassin config file. For example:

# File: /etc/mail/spamassassin/local.cf
# only allow English
ok_locales en

Reference: http://spamassassin.apache.org/full/3.2 … _Conf.html (Search 'ok_locales')

3 (edited by djfake 2013-11-23 01:39:33)

Re: reject email in non-latin lanugages?

Yes, I have it in there, but they still (mostly) go to spam. I would like the server to reject them.

# Locales.
ok_locales          en




c

4

Re: reject email in non-latin lanugages?

Oh, sorry about my misunderstood.

*) If you want to discard received spam for yourself, you can add a filter in Roundcube webmail (Settings -> Filters) to discard them.
*) If you want to reject spam emails directly during SMTP session, try this:

http://www.fadden.com/techmisc/asian-spam.htm
http://www.sweetnam.eu/index.php/Postfix_Header_Checks

5

Re: reject email in non-latin lanugages?

Thank you!

6

Re: reject email in non-latin lanugages?

here is alot more list you can use:
http://www.wizcrafts.net/chinese-iptabl … klist.html  to replace http://www.fadden.com/techmisc/asian-spam.htm