[Dovecot] Problem with Dovecot LDA / Postfix
Dominique Feyer
dfeyer at net4all.ch
Fri Jun 16 15:44:51 EEST 2006
I have only postfix log (in syslog mail facility), no dovecot log from
the LDA deliver binary (with mail_debug = yes), this is strange ...
Jun 16 14:37:58 mail2 postfix/pickup[6014]: 5407F7FF3: uid=0 from=<root>
Jun 16 14:37:58 mail2 postfix/cleanup[6073]: 5407F7FF3:
message-id=<20060616123758.5407F7FF3 at mail2.clm.net4all.ch>
Jun 16 14:37:58 mail2 postfix/qmgr[6015]: 5407F7FF3:
from=<root at localhost.localdomain>, size=326, nrcpt=1 (queue active)
Jun 16 14:37:58 mail2 postfix/pipe[6076]: 5407F7FF3:
to=<info at lda.net4all.ch>, relay=dovecot, delay=0, status=bounced
(Command died with status 89:
"/usr/local/dovecot-1.0-beta9/libexec/dovecot/deliver")
Can i activate log for the LDA in the configuration file or deliver
command argument in master.cf ?
Thanks
Le vendredi 16 juin 2006 à 08:24 -0400, My BSD a écrit :
> On Thu, 15 Jun 2006 19:18:40 +0200
> Dominique Feyer <dfeyer at net4all.ch> wrote:
>
> > Our setup is ok with Postfix / Dovecot.
> >
> > I just need to add dovecot LDA.
> >
> > I use the 1.0beta9
> >
> > LDA Configuration:
> >
> > protocol lda {
> > postmaster_address = postmaster at clm.net4all.ch
> > #hostname =
> > #mail_plugins =
> > #mail_plugin_dir = /usr/lib/dovecot/imap
> > #sendmail_path = /usr/lib/sendmail
> > auth_socket_path = /var/run/dovecot/auth-master
> > }
> > auth default-socket {
> > mechanisms = plain login
> > passdb sql {
> > args = /usr/local/dovecot-1.0-beta9/etc/dovecot-pgsql.conf
> > }
> > userdb sql {
> > args = /usr/local/dovecot-1.0-beta8/etc/dovecot-pgsql.conf
> > }
> > socket listen {
> > master {
> > path = /var/run/dovecot/auth-master
> > mode = 0660
> > user = vmail
> > group = mail
> > }
> > }
> > user = dovecot
> > count = 1
> > }
> >
> > Postfix configuration, like the dovecot LDA wiki page
> >
> > Master.cf:
> > dovecot unix - n n - - pipe
> > flags=DRhu user=mail:mail
> > argv=/usr/local/dovecot-1.0-beta9/libexec/dovecot/deliver -d
> > ${recipient}
> >
> > Main.cf
> > default_destination_recipient_limit = 1
> >
> > Log:
> >
> > Jun 15 19:15:43 mail2 postfix/qmgr[4226]: 31FA27FF2:
> > from=<root at localhost.localdomain>, size=343, nrcpt=1 (queue active)
> > Jun 15 19:15:43 mail2 dovecot: auth(default-socket): master in:
> > USER^I1^Iinfo at lda.net4all.ch^Iservice=deliver
> > Jun 15 19:15:43 mail2 dovecot: auth(default-socket):
> > sql(info at lda.net4all.ch): SELECT '/var/spool/mail/'||home AS home,
> > uid, gid FROM users WHERE userid = 'info at lda.net4all.ch'
> > Jun 15 19:15:43 mail2 dovecot: auth(default-socket): master out:
> > USER^I1^Iinfo at lda.net4all.ch^Ihome=/var/spool/mail/lda.net4all.ch/mails/info^Iuid=1999^Igid=1999
> > Jun 15 19:15:43 mail2 dovecot: auth(default-socket):
> > Jun 15 19:15:43 mail2 postfix/pipe[4314]: 31FA27FF2:
> > to=<info at lda.net4all.ch>, relay=dovecot, delay=0, status=bounced
> > (Command died with status 89:
> > "/usr/local/dovecot-1.0-beta9/libexec/dovecot/deliver")
> >
> > The status 89 is for default error ... so no more informations with
> > this.
> >
> > Permision on deliver is setuid (we use a different UID per domain)
> > mail2:/etc/dovecot#
> > stat /usr/local/dovecot-1.0-beta9/libexec/dovecot/deliver
> > File: `/usr/local/dovecot-1.0-beta9/libexec/dovecot/deliver'
> > Size: 2507575 Blocks: 4912 IO Block: 4096 fichier
> > r�gulier
> > Device: 805h/2053d Inode: 65010 Links: 1
> > Access: (6755/-rwsr-sr-x) Uid: ( 0/ root) Gid: ( 0/
> > root) Access: 2006-06-15 19:15:43.314434576 +0200
> > Modify: 2006-06-15 13:46:15.000000000 +0200
> > Change: 2006-06-15 19:18:32.821665560 +0200
> >
> > Can anyone help me ? Thanks,
> >
> > --
> > Dominique Feyer
> > Administrateur Système
> > Ch. de la Colline 5bis
> > CH-1007 Lausanne
> > dfeyer at net4all.ch
> >
> >
>
> What are the corresponding "dovecot" log entries?
>
> (I use exim and was finally able to get "deliver" working by studying
> "dovecot" log entries.)
>
--
Dominique Feyer
Administrateur Système
Ch. de la Colline 5bis
CH-1007 Lausanne
dfeyer at net4all.ch
More information about the dovecot
mailing list