[Dovecot] Dovecot LDA and Postfix/local for local users.
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 ?
regards, Jarek
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 03/09/2011 10:07 AM, iti@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).
bye davide
Dott. Davide Vaghetti Centro Servizi Informatici Facolta' di Ingegneria Universita' di Pisa PGP: http://keys.keysigning.org:11371/pks/lookup?op=get&search=0x7A1B3BA18C4E0A4D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk13ai8ACgkQehs7oYxOCk0G8wCg8vdpLGnVXRyoo0s90ZbOPyhw QKUAoJ7CruRo9TxJcEdFP/nC60Xjm8/O =V1Lo -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 03/09/2011 10:07 AM, iti@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@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@promax.media.pl>, size=1916, nrcpt=1 (queue active) Mar 9 14:16:21 test-box1 dovecot: deliver(user): msgid=<b4b703d0156ca49c3ce19b903c4a473e.squirrel@testing.domain.com>: saved mail to INBOX Mar 9 14:16:21 test-box1 postfix/local[14745]: 7F805422D1: to=<user@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)
mailbox_command = /usr/local/libexec/dovecot/deliver (path to deliver) After that should I commented postfix/local process from master cf ?
no. How else is postfix going to deliver to _local_ users?
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:
postfix/local is the local handoff, hence its name.
See: http://www.postfix.org/local.8.html
participants (3)
-
Davide Vaghetti
-
iti@promax.media.pl
-
Peter Evans