Re: [exim] Change user from "debian-exim" to "mail"?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Phil Pennock
Date:  
À: Yves Goergen
CC: exim-users
Sujet: Re: [exim] Change user from "debian-exim" to "mail"?
On 2010-07-31 at 20:24 +0200, Yves Goergen wrote:
> What can I do to save my setup and have Exim access /var/mail? I could


Set "user" or "group" (or both, and optionally including "mode") on the
Transport which handles delivery to /var/mail.

For instance, I have this (which is mostly unused, I keep it around
anyway):

  local_delivery:
    driver = appendfile
    file = /var/mail/$local_part
    delivery_date_add
    envelope_to_add
    return_path_add
    group = mail
    mode = 0620
    no_mode_fail_narrower


In this, I have a mail-spool directory:
drwxrwxr-x 2 root mail 512 Jul 20 2009 /var/mail

and then individual users have mail-spool files owned by them, in group
mail, mode 0620. Tools such as mutt_dotlock are setgid mail.

This sounds like what you want?

-Phil