[Exim] wanna ground specific mails from specific hosts

Góra strony
Delete this message
Reply to this message
Autor: mad
Data:  
Dla: exim-users
Temat: [Exim] wanna ground specific mails from specific hosts
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 send to this
specific adresses and not comming from internal ips 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 comming
from mynet/24" condition also.

any ideas appreciated

regards Martin

--
----------------------------------------------------------------
Disc space - the final frontier!
----------------------------------------------------------------