Quantcast
Channel: iRedMail
Viewing all articles
Browse latest Browse all 14105

Return-Path filter for spam?

$
0
0

==== Required information ====
- iRedMail version: 0.8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04 LTS
- Related log if you're reporting an issue:
====
I am getting very specific spam that always has mydomain.com in the Return-Path in the message header.

Return-Path: <onlinedoctorate-webmaster=mydomain.com@dvdcopymac.org>

I am trying to filter this with spamassassin using the following in /etc/mail/spamassissin/local.cf using

# checking for local domain in return path
header MYLOCAL_RETURN Return-Path =~ /\mydomain\.com/
score MYLOCAL_RETURN 50
describe MYLOCAL_RETURN mark with score 50 all mails with Return-Path "bogus@mydomain"

However, I still recevied the email and it is not marked as spam.

Is the syntax correct? Does something (cluebringer) override this? Is there another way to use Return-Path to filter spam? thank you


Viewing all articles
Browse latest Browse all 14105

Trending Articles