Re: Sendmail: How does one blacklist annoying spammers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/27/2010 03: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

Oh, yeah, and then edit /etc/mail/milter-greylist.conf to suit your site...

-- 
Kevin J. Cummings
kjchome@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux