Email Filter doesn't work
Hi!
I've configured a filter to discard a message that is sent to a certain email account, but I can not make it work.
This is how I have it configured.
45795
However when I send a message from noreply@xxxxx.com to the mail account that I specified in the rule, it still receives it.
What am I missing?
/var/log/exim_mainlog
2017-03-17 12:26:18 SMTP connection from [127.0.0.1]:43715 (TCP/IP connection count = 2)
2017-03-17 12:26:18 1cotli-00089k-1B malware acl condition: clamd /var/clamd : unable to connect to UNIX socket (/var/clamd): No such file or directory
2017-03-17 12:26:18 1cotli-00089k-1B H=(srv5.xxxxx.com) [127.0.0.1]:43715 Warning: Message has been scanned: no virus or other harmful content was found
2017-03-17 12:26:18 1cotli-00089k-1B <= noreply@xxxxxxxx.com H=(srv5.xxxxx.com) [127.0.0.1]:43715 P=esmtpa A=dovecot_login:noreply@xxxxxxxx.com S=488 id=c6a617c68db92a62445388492b9ac196@xxxxxxxx.com T="Filter Test" for xxxxx@xxxxx.com
2017-03-17 12:26:18 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1cotli-00089k-1B
2017-03-17 12:26:18 1cotli-00089k-1B SMTP connection outbound 1489764378 1cotli-00089k-1B xxxxxxxx.com xxxxx@xxxxx.com
2017-03-17 12:26:18 SMTP connection from (srv5.xxxxx.com) [127.0.0.1]:43715 closed by QUIT
2017-03-17 12:26:19 1cotli-00089k-1B => xxxxx@xxxxx.com R=dkim_lookuphost T=dkim_remote_smtp H=aspmx.l.google.com [209.85.147.26] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes C="250 2.0.0 OK 1489764377 191si2503096itt.116 - gsmtp"
2017-03-17 12:26:19 1cotli-00089k-1B Completed-
Hello, Email filters are designed to filter incoming email. You'd have to setup a custom file rule in the Exim system filter if you want to filter outgoing email: How to Customize the Exim System Filter File - cPanel Knowledge Base - cPanel Documentation Thank you. 0 -
Thanks!! I've created that file and works fine. 0
Please sign in to leave a comment.
Comments
2 comments