possible to block return@*.*

General eFa discussion
Post Reply
Qlink
Posts: 13
Joined: 25 Dec 2016 23:43

possible to block return@*.*

Post by Qlink » 26 Jan 2019 10:52

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
efa.PNG
efa.PNG (885 Bytes) Viewed 635 times
but it doesn't seem to work ...

thanks in advance

User avatar
shawniverson
Posts: 2827
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: possible to block return@*.*

Post by shawniverson » 26 Jan 2019 17:03

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
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

Qlink
Posts: 13
Joined: 25 Dec 2016 23:43

Re: possible to block return@*.*

Post by Qlink » 26 Jan 2019 19:35

hi shawniverson,

thanks for your help.

i've tried this:
efa.PNG
efa.PNG (13.15 KiB) Viewed 620 times
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 )

User avatar
shawniverson
Posts: 2827
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: possible to block return@*.*

Post by shawniverson » 26 Jan 2019 19:58

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
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

Qlink
Posts: 13
Joined: 25 Dec 2016 23:43

Re: possible to block return@*.*

Post by Qlink » 27 Jan 2019 20:36

hi shawniverson,

thanks for your input.

i don't even know how to add this rule to the config:
efa.png
efa.png (20.73 KiB) Viewed 606 times
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 ...

:( :( :(

User avatar
shawniverson
Posts: 2827
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: possible to block return@*.*

Post by shawniverson » 27 Jan 2019 23:53

Code: Select all

sudo nano /etc/mail/spamassassin/local.cf
:whistle:
Version eFa 4.0.0 RC3 now available in testing repo. Come join us in advancing eFa!

Post Reply