"fail text" in /etc/cpanel_exim_system_filter is not sending the text

nat

Well-Known Member
Jan 16, 2003
209
0
166
"fail text" in /etc/cpanel_exim_system_filter is not sending the fail text back to the sender like it use to.

edit /etc/cpanel_exim_system_filter to have this....

if $message_body: contains "im a whiner"
then
fail text "This message has been rejected."
seen finish
endif

Now send an e-mail to an e-mail address on that server with "im a whiner" in the body.

When /etc/antivirus.exim was used, it used to send a bounce back to the sender with "This message has been rejected." in it. Now it doesn't.

Here is the log.

2007-11-06 17:59:17 1IpYKD-0005Md-5T <= [email protected] H=py-out-1112.google.com [64.233.166.181] P=esmtp S=2176 [email protected]
2007-11-06 17:59:17 1IpYKD-0005Md-5T cancelled by system filter: This message has been rejected.
2007-11-06 17:59:17 1IpYKD-0005Mg-AW <= <> R=1IpYKD-0005Md-5T U=mailnull P=local S=3055
2007-11-06 17:59:17 1IpYKD-0005Md-5T Completed

Anyone know how I can get it to send the fail text back to the sender like it use to?