[Dovecot] Dovecot LDA and Postfix/local for local users.

iti at promax.media.pl iti at promax.media.pl
Wed Mar 9 15:54:45 EET 2011


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 03/09/2011 10:07 AM, iti at promax.media.pl wrote:
>> Hello,
>> I would like to configure dovecot lda for local users.  My dovecot
>> vesion
>> is 1.2.15. Dovecot documentation for  System users says that only thing
>> I
>> should add to main.cf is:
>>
>> mailbox_command = /usr/local/libexec/dovecot/deliver (path to deliver)
>>
>> After that should I commented postfix/local process from master cf ?
>>
>
> I've the same setup, and no, you don't need to comment anything in
> master.cf, since those are just "definitions", you decide the actual use
> via the main.cf (at least as regards the delivery).
>
When commented local in master.cf
#local     unix  -       n       n       -       -       local

I got errors:

[...]
Mar  8 15:18:19 test-box1 postfix/error[13361]: 686A0422EB:
to=<usr at testdomain.org>, relay=none, delay=2191, delays=2191/0.01/0/0.02,
dsn=4.3.0, status=deferred (mail transport unavailable)
[...]


When uncommented I can see in logs that although deliver is using - local
is used somewhere. Can anyone explain how it works and why postfix/local
is needed? Logs with uncomended local:

Mar  9 14:16:21 test-box1 postfix/qmgr[14717]: 7F805422D1:
from=<iti at promax.media.pl>, size=1916, nrcpt=1 (queue active)
Mar  9 14:16:21 test-box1 dovecot: deliver(user):
msgid=<b4b703d0156ca49c3ce19b903c4a473e.squirrel at testing.domain.com>:
saved mail to INBOX
Mar  9 14:16:21 test-box1 postfix/local[14745]: 7F805422D1:
to=<user at testdomain.org>, relay=local, delay=4674,
delays=4674/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to command:
/usr/lib64/dovecot/deliver)







More information about the dovecot mailing list