[exim] ?? perm problem with log_output in LDA transport

Top Pagina
Delete this message
Reply to this message
Auteur: OpenMacNews
Datum:  
Aan: exim users LIST
Onderwerp: [exim] ?? perm problem with log_output in LDA transport
hi,

i'm using dovecot's LDA via pipe for local delivery in exim, w/
transport:

dovecot_lda:
  debug_print    = "EXIM-DEBUG [T:dovecot_lda] for $local_part@$domain"
  driver         = pipe
  command        = /usr/local/dovecot/libexec/dovecot/deliver \
                   -c DM_CONF_DIR/Dovecot/dovecot.conf \
                   -d $local_part@$domain
  message_prefix = ""
  message_suffix = ""
  delivery_date_add
  envelope_to_add
  return_path_add
  log_output
  user           = dovecot_mail_auth


dovecot logs to its logfile just fine ... directly.

BUT, when i've 'log_output' enabled in the exim transport, above, EXIM
LOG complains:

"Can't open log file /var/MailServer/Logs/dovecot/dovecot.log:
Permission denied"

disabling 'log_output' makes the error disappear.

fwiw, EXIM execs as user 'testuser', DOVECOT execs as root ... and
creates its log as:

-rw------- 1 root testuser 271 2006-09-11 07:58 dovecot.log

also, chmod'ing dovecot.log to 0666 also does the trick ...

why does exim care about the perms on the dovecot log?


richard


- --

/"\
\ / ASCII Ribbon Campaign
X against HTML email, vCards
/ \ & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB D460 95F7 DDBD 3671 08C6