[Dovecot] Configuring dovecot to use tcp wrappers

Max Pyziur pyz at brama.com
Mon Apr 8 01:31:20 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).


Much thanks for your reply.

However, once I make the changes to the configuration files, I get the
following error when restarting dovecot:
root at brama /etc/dovecot/conf.d> service dovecot restart
Stopping Dovecot Imap:                                     [  OK  ]
Starting Dovecot Imap: doveconf: Fatal: Error in configuration file
/etc/dovecot/dovecot.conf: service(tcpwrap): executable is empty
                                                           [FAILED]


Any advice on how to proceed?

Thank you again,

Max Pyziur
pyz at brama.com


More information about the dovecot mailing list