Best Place for manual blacklisting of senders/sender_domains

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Best Place for manual blacklisting of senders/sender_domains

Odhiambo Washington

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 [hidden email]
           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
[hidden email]
https://exim4u.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Best Place for manual blacklisting of senders/sender_domains

Gordon Dickens
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 [hidden email]
           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
[hidden email]
https://exim4u.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Best Place for manual blacklisting of senders/sender_domains

Odhiambo Washington
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 [hidden email]
            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 <[hidden email]> 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 [hidden email]
           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
[hidden email]
https://exim4u.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
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
[hidden email]
https://exim4u.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Best Place for manual blacklisting of senders/sender_domains

Helmut Fritz

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

 

From: users [mailto:[hidden email]] 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 [hidden email]

            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 <[hidden email]> 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 [hidden email]

           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
[hidden email]
https://exim4u.org/mailman/listinfo/users

 


_______________________________________________
users mailing list
[hidden email]
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
[hidden email]
https://exim4u.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Best Place for manual blacklisting of senders/sender_domains

Odhiambo Washington
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 <[hidden email]> 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:[hidden email]] 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 [hidden email]

            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 <[hidden email]> 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 [hidden email]

           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
[hidden email]
https://exim4u.org/mailman/listinfo/users

 


_______________________________________________
users mailing list
[hidden email]
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
[hidden email]
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
[hidden email]
https://exim4u.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Best Place for manual blacklisting of senders/sender_domains

Helmut Fritz

Got it, now that you point it out it is *obvious*!

 

From: users [mailto:[hidden email]] On Behalf Of Odhiambo Washington
Sent: Monday, May 02, 2016 2:05 PM
To: Exim4U General Discussion
Subject: Re: [Exim4U] Best Place for manual blacklisting of senders/sender_domains

 

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 <[hidden email]> 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:[hidden email]] 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 [hidden email]

            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 <[hidden email]> 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 [hidden email]

           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
[hidden email]
https://exim4u.org/mailman/listinfo/users

 


_______________________________________________
users mailing list
[hidden email]
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
[hidden email]
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
[hidden email]
https://exim4u.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Best Place for manual blacklisting of senders/sender_domains

Gordon Dickens
In reply to this post by Odhiambo Washington
Hi Odhiambo,

Yes, you are right about putting your Blacklisted Senders check in acl_check_rcpt since it is run after the "rcpt from:" smtp command when the senders address is transmitted.

As far as putting something like this in the web UI, that would be fine if somebody will volunteer to write that module.  I just don't have the time to do it myself.

Gordon





On 05/02/2016 02:06 PM, Odhiambo Washington wrote:
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 [hidden email]
            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 <[hidden email]> 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 [hidden email]
           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
[hidden email]
https://exim4u.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
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
[hidden email]
https://exim4u.org/mailman/listinfo/users


_______________________________________________
users mailing list
[hidden email]
https://exim4u.org/mailman/listinfo/users