In my case example, it is 'senders', which is either an e-mail address or a wild-carded address.

I think the 'IP list' would then mean IPs and not sender addresses.. But hey, exim -bh is what you need, with SMTP commands..



On 2 May 2016 at 21:59, Helmut Fritz <helmut@fritz.us.com> wrote:

Is the blacklisted_senders only an ip list?�� or can tld���s be entered there as well?�� same for whitelisted_senders?

��

From: users [mailto:users-bounces@exim4u.org] On Behalf Of Odhiambo Washington
Sent: Monday, May 02, 2016 11:07 AM
To: Exim4U General Discussion
Subject: Re: [Exim4U] Best Place for manual blacklisting of senders/sender_domains

��

Hi Gordon,

��

I think it's better done at acl_check_rcpt thus:

��

# Blacklisted Senders

��

deny �� message �� �� �� = Users have complained that you send unsolicited mail.\n\You're therefore blacklisted.\n\

�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� ��Please contact abuse@crownkenya.com

�� �� �� �� �� �� senders �� �� �� = ${if exists {/etc/exim/blacklisted_senders}{/etc/exim/blacklisted_senders}{}}

��

However, it would have been better of the domain admin could maintain this list via the web UI.

��

��

�� ����

��

��

On 18 April 2016 at 02:40, Gordon Dickens <gordon@dickens.com> wrote:

Hi Odhiambo,

For Exim4U's exim.conf,�� it should go in acl_check_content which runs immedately after the smtp session's data submission.�� We've got facilities for blacklisting IP addresses and I don't see a problem with adding blacklisting for sender addresses and domains.�� Here is another example:

https://www.tekovic.com/exim-acl-for-blocking-certain-senders

Let me know if you have specific ideas on how you think this should be implemented.

Thanks,

Gordon






On 04/17/2016 01:05 PM, Odhiambo Washington wrote:

��

Right now I am using system filter to deal with some bad senders and sender_domains, but I am wondering if we can have such functionality included in the main exim.conf with the option of adding the sender addresses and sender domains in files in /etc/exim/some-files.

I love keeping my exim.conf as close to the one in the distro as possible, but for some reason I don't see the most appropriate place in exim.conf to insert the rules, such as:

��

��

deny �� message �� �� �� = Users have complained that you send unsolicited mail.\n\You're therefore blacklisted.\n\

�� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� �� Please contact abuse@crownkenya.com

�� �� �� �� �� ��senders �� �� �� ��= ${if exists {/etc/exim/blacklisted_senders}{/etc/exim/blacklisted_senders}{}}


��

Thanks guys and have a great week.

��

��

--

Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."

��

_______________________________________________
users mailing list
users@exim4u.org
https://exim4u.org/mailman/listinfo/users

��


_______________________________________________
users mailing list
users@exim4u.org
https://exim4u.org/mailman/listinfo/users



��

--

Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."


_______________________________________________
users mailing list
users@exim4u.org
https://exim4u.org/mailman/listinfo/users




--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft."