hi guys,
i'm getting a load of spam mails through with ~90% return@abc-xyz.xx|return@def.qwer.xx|return@uvw.iop.xx
sender domains are always different, but the "return@" pretty constant ...
is it possible to block return@*.* or at least return@*.com or return@*.pl ?
i've tried
but it doesn't seem to work ...
thanks in advance
possible to block return@*.*
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: possible to block return@*.*
Blacklist method (?)
From: return
To: default
Haven't tried this myself, but this might work. Not sure if this will catch the username portion of the email or not.
Another idea is create a Spamassassin rule and give it a high score
From: return
To: default
Haven't tried this myself, but this might work. Not sure if this will catch the username portion of the email or not.
Another idea is create a Spamassassin rule and give it a high score
Re: possible to block return@*.*
hi shawniverson,
thanks for your help.
i've tried this: but it doesn't work. return@xyz.com mails are still coming through...
any other way how can i solve this with web ui ?
i'm afraid creating spam assassin rules is above my skills (read about it there https://wiki.apache.org/spamassassin/WritingRules )
thanks for your help.
i've tried this: but it doesn't work. return@xyz.com mails are still coming through...
any other way how can i solve this with web ui ?
i'm afraid creating spam assassin rules is above my skills (read about it there https://wiki.apache.org/spamassassin/WritingRules )
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: possible to block return@*.*
Edit /etc/mail/spamassasin/local.cf and add this:
Code: Select all
header FROM_RETURN From =~ /return\@/i
score FROM_RETURN 10
describe FROM_RETURN return@example.org detected
Re: possible to block return@*.*
hi shawniverson,
thanks for your input.
i don't even know how to add this rule to the config:
i can't open the .cf file with vi command, i cant't change directory with cd /etc/mail/spamassasin/
i can't even list directories ...
sorry, as i said i'm a gui/menu guy ...
thanks for your input.
i don't even know how to add this rule to the config:
i can't open the .cf file with vi command, i cant't change directory with cd /etc/mail/spamassasin/
i can't even list directories ...
sorry, as i said i'm a gui/menu guy ...
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: possible to block return@*.*
Code: Select all
sudo nano /etc/mail/spamassassin/local.cf