[Exim] wanna ground specific mails from specific ips

Top Page
Delete this message
Reply to this message
Author: Martin Hierling
Date:  
To: exim-users
Subject: [Exim] wanna ground specific mails from specific ips
Hi List,

what i want to do is the following:
i have some internally used mail adresses (like helpdesk and trouble
ticket) which gets lot of spam. So i want to redirect all mails to this
specific adresses to dev/null.

What i have till now:

fh_grounded:
driver = accept
transport = spam_delivery
condition =${lookup{$local_part@$domain}lsearch{/etc/exim/fh-luh-grounded}}

that sends all mails listed in /etc/exim/fh-luh-grounded to my spam_devivery
transport. But the good mails also. So i need some "if mail is not coming
from mynet/24" condition also.

any ideas

regards Martin

--
----------------------------------------------------------------
OPERATOR! Trace this call and tell me where I am.
----------------------------------------------------------------