<div dir="ltr">I was noticing an attack on saslauthd that seemed to eat up memory and hang my server.<div><br><div>I wrote a Perl script to drop ips after a certain threshold of failures from the maillog, but wanted to add it to /etc/hosts.deny also. Maybe even adding it to the /etc/mail/access file as REJECT.</div><div><br></div><div>I read some things about dovecot being compiled with tcpwrappers but wanted to ask the group before I started playing with it.</div><div><br></div><div>Herb</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 27, 2016 at 4:38 PM, Michael Stauber <span dir="ltr"><<a href="mailto:mstauber@blueonyx.it" target="_blank">mstauber@blueonyx.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Herbert,<br>
<span class=""><br>
> How can I configure dovecot to use tcpwrappers?<br>
> I have BlueOnyx on SL 6.8.<br>
><br>
> I hope its just a config file thing. But I wanted to ask before I edited<br>
> anything.<br>
<br>
</span>May I ask why? :-)<br>
<br>
I experimented a bit with that in the past and the results were kind of<br>
discouraging. Dovecot doesn't like tcpwrappers at all and there is too<br>
much stuff that gets into the way.<br>
<br>
As is we run it directly as a service. You could try it and could<br>
disable the dovecot service and then provide your own wrappers in<br>
/etc/xinetd.d/<br>
<br>
However: Future dovecot updates might enable the dovecot service again,<br>
which will then conflict with your tcpwrapper configuration.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
With best regards<br>
<br>
Michael Stauber<br>
______________________________<wbr>_________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" rel="noreferrer" target="_blank">http://mail.blueonyx.it/<wbr>mailman/listinfo/blueonyx</a><br>
</font></span></blockquote></div><br></div>