cPanel E-posta filtrelerini cPanel kontrol paneli panosundan ayarlayabilirsiniz. Genel olarak veya e-posta adresi bazında ayarlanabilirler. Hangi e-postaları alacağınız konusunda size başka bir kontrol düzeyi sağlarlar ve özellikle istenmeyen e-postaları önlemeye yardımcı olmak için faydalıdırlar.

E-posta filtreleriyle, Kimden, Kime veya konuya göre belirli bir kelime veya tümcecik içeren iletileri hedeflemek için koşullar belirleyebilirsiniz. Alınan e-postayla olmasını istediğiniz şeyin tam olarak ince ayarını yapmak için birden fazla düzeyde e-posta filtresi ekleyebilirsiniz.

Filtrenizin attığı e-postalar, başka bir e-posta adresine gönderilebilir veya destek biletleme sistemi gibi bir üçüncü taraf programa teslim edilebilir. cPanel e-posta yönlendirme genellikle bu amaç için kullanılır).

E-posta filtreleri, kullanıcı düzeyinde veya genel olarak ayarlanabilir. İlk birkaç adım dışında, hemen hemen aynı olmalarına rağmen bunları sırayla ele alacağım.

Daha sonra birkaç pratik örneğe bakacağım.

Bireysel E-posta Adresi için cPanel E-posta Filtrelerini Kurma

cPanel Küresel E-posta Filtreleri Nasıl Kurulur

Örnek: SpamAssassin ile Birden Çok E-posta Filtresi Kullanma

ben çok yarattım [detailed SpamAssassin tutorial/spamassassin-email-spam-protection-in-cpanel/) which goes into detail about all the steps required to configure SpamAssassin to create a spam filter properly. It includes setting the SpamAssassin Score (Spam Threshold Score), moving spam to the junk folder (Spam Box), auto-delete, and adding emails to either the whitelist or blacklist.

When you create rules within the Spam Filters section, it will automatically create Global Email Filters. It can be easier to configure basic SpamAssassin rules through this interface.

You sometimes want more granular control over when SpamAssassin triggers an action. For example, you may wish for random newsletters you receive to be marked as spam unless the body matches the “keyword”. This may be a particular topic you are interested in.

I will now make a SpamAssassin rule that satisfies the following conditions:

  • Spam Score is less than 4.
  • The body does not contain the keyword “SEO”.

Using cPanel Email Filter Wildcards

You can use wildcards in Spam Filters by using Regex. Providing a full breakdown of how Regex works is beyond the scope of this tutorial.

However, I will provide you with some basic examples to get you started:

Anchors – ^ and $

  • ^The – matches any string that starts with “The”
  • end$ – matches a string that ends with “end”
  • ^The end$ – exact string match
  • filtering – matches any string that has the text “filtering” in it

Quantifiers – *, +, ?

  • abc* – matches a string containing “ab” followed by “zero” or more “c”
  • abc+ – matches a string that has “ab” followed by one or more “c”
  • abc? – matches a string that has “ab” followed by zero or one “c”
  • abc{2} – matches a string that has “ab” followed by 2 “c”
  • abc{2,} – matches a string that has “ab” followed by 2 or more “c”
  • abc{2,5} – matches a string that has “ab” followed by 2 up to 5 “c”
  • a(bc)* – matches a string that has “a” followed by “zero” or more copies of the sequence “bc”
  • a(bc){2,5} – matches a string that has “a” followed by 2 up to 5 copies of the sequence “bc”

OR operator – | or []

  • a(b|c) – “a” ve ardından “b” veya “c” gelen bir dizeyle eşleşir
  • a[bc] – “a” ve ardından “b” veya “c” gelen bir dizeyle eşleşir

gruplama – ()

  • a(bc) – parantezler “bc” değerine sahip bir grup oluşturur

Daha ayrıntılı örnekler için bu kopya kağıdına bakın.

Joker Karakter Kullanan Örnek E-posta Filtresi

Daha önce birkaç kural içeren bir SpamAssassin filtresini yapılandırırken kullandığım örneği ele alalım. Kural eşleştirme alanını aşağıdaki gibi basitleştirebilirim:

E-posta Filtrelerinizi Nasıl Test Edebilirsiniz?

Ana E-posta Filtresi Ekranında, “Filtreyi Test Et” seçeneğini göreceksiniz. Filtrelerinizden herhangi birini test etmek için değiştirebileceğiniz önceden ayarlanmış basit bir e-posta mesajı göreceksiniz.

Aşağıdaki örneğimde, herhangi bir e-postayı silmek için bir filtre ayarladım. [email protected].