postmaster filter not working

Moderator: crythias

Locked
magnetmo
Znuny newbie
Posts: 26
Joined: 17 Aug 2015, 11:48
Znuny Version: 2.3.6

postmaster filter not working

Post by magnetmo »

Hi, I have received the emails without from email address and subject and email content like this
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.=
w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">=0A<html xmlns=3D"http://www.=
w3.org/1999/xhtml">=0A<head><meta http-equiv=3D"content-type" content=3D"te=
xt/html; charset=3DUTF-8" />=0A=0A <title>P=C5=99e=C4=8Dt=C4=9Bte si zpr=


so I have created the postmaster filter,
Name: Spam filter
stop after match : Yes
Filter condition
Check email header: From and tick the negate check box, look for value :^$
Set Email headers
set email header: x-otrs-ignore, Set value: true

But its not working, No email is receives after I create this filter, What is mistake, How could I stop this unwanted email receiving.
Thanks.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: postmaster filter not working

Post by reneeb »

Uncheck the negate checkbox....

But the best solution would be to install a spam filter on your mailserver and let the spam filter add some email headers to mark spam. Then you can use that header in the postmaster filter...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Locked