[Dovecot] Configuring dovecot to use tcp wrappers

Timo Sirainen tss at iki.fi
Mon Apr 8 00:42:12 EEST 2013


On 5.4.2013, at 18.19, Max Pyziur <pyz at brama.com> wrote:

> So my question relates to the second part of the configuration examples in the links above:
> 
> service tcpwrap {
>  unix_listener login/tcpwrap {
>    group = $default_login_user
>    mode = 0600
>    user = $default_login_user
>  }
> }
> 
> Where does this code get placed (in dovecot.conf or in one of the files in /etc/dovecot/conf.d)?

Doesn't really matter. I'd put it into conf.d/10-master.conf which has other services.

> And regarding $default_login_user, it appears in a comment line in
> /etc/dovecot/conf.d/10-master.conf
> 
> Should that line be uncommented?

Just leave it uncommented and it'll use the default value (which it has been using so far already).



More information about the dovecot mailing list