Sendmail: How does one blacklist annoying spammers?
Daniel B. Thurman
dant at cdkkt.com
Sun Jun 27 19:45:53 UTC 2010
On 06/27/2010 12:27 PM, Kevin J. Cummings wrote:
> On 06/27/2010 12:45 PM, Daniel B. Thurman wrote:
>
>
>> I wanted to mention that there are some in this posting that
>> are recommending greylisting... but have not said anything
>> about how this is implemented into sendmail... so, what is
>> your take on this?
>>
> yum install milter-greylist
>
> and possibly one of milter-greylist-sysvinit or milter-greylist-upstart
> (though mine doesn't seem to be configure with chkconfig)
>
> As for my sendmail.mc changes:
>
> Add
>
>
>> dnl #
>> dnl # Greylist Milter Support
>> dnl #
>> INPUT_MAIL_FILTER(`greylist',`S=local:/var/run/milter-greylist/milter-greylist.sock', F=, T=C:5m;S:4m;R:4m;E:5m')dnl
>>
>> dnl define(`confMILTER_MACROS_CONNECT', confMILTER_MACROS_CONNECT`,{daemon_port}')dnl
>> dnl define(`confMILTER_MACROS_HELO', confMILTER_MACROS_HELO`,{verify},{client_resolve}')dnl
>> dnl define(`confMILTER_MACROS_ENVRCPT', confMILTER_MACROS_ENVRCPT`,{client_resolve}')dnl
>>
>> define(`confMILTER_MACROS_CONNECT', `j, {if_addr}')dnl
>> define(`confMILTER_MACROS_HELO', `{verify}, {cert_subject}')dnl
>> define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}')dnl
>> define(`confMILTER_MACROS_ENVRCPT', `{greylist}')dnl
>>
> to your /etc/mail/sendmail.mc file (in the section on sendmail milter
> support) and rebuild it with
>
> /etc/mail/make
>
>
>> Thanks-
>> Dan
>>
Awesome! Thanks!
I need to understand the grey/whitelist bit... before proceeding though...
Not yet sure what's all involved for configuring it properly,
but thanks, for your contribution!
Dan
More information about the users
mailing list