Stop Incoming Email Except from External Spam Filter
This is related to the following thread.
Stop Incoming Email Except from External Spam Filter
But when I add the below code to my exim configuration, it blocks sending emails from outlook as well. How can I allow sending by outlook or webmail, but receive email only from my spam filter IPs?
accept hosts = :
deny
!hosts = @[] : net-iplsearch;/etc/trustedmailhosts
message = This server does not handle mail directly
-
Hello, You may find the following user-submitted solution helpful: Limit incoming email accpected from IP range only Thank you. 0 -
Hello, You may find the following user-submitted solution helpful: Limit incoming email accpected from IP range only Thank you.
Thanks Michael, I tried this as well. But the same issue, outlook clients also gets blocked. How can I restrict remote emails to be accepted only from my external spam filter + all emails sent by mail clients? maybe I should check the sending email domain?0 -
I tried this as well. But the same issue, outlook clients also gets blocked. How can I restrict remote emails to be accepted only from my external spam filter + all emails sent by mail clients? maybe I should check the sending email domain?
This would require a custom Exim configuration. I couldn't find any other examples other than the previously linked threads, but you may find the Exim user's mailing list helpful for this question: Exim-users Info Page Thank you.0
Please sign in to leave a comment.
Comments
3 comments