Re: [Exim] Re: Procmail

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Peter Radcliffe
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Re: Procmail
Suresh Ramasubramanian <mallet@???> probably said:
> +++ Tamas TEVESZ [exim-users] <12/11/01 18:45 +0100>:
> > On Mon, 12 Nov 2001, Dave C. wrote:
> > > require_files = ${local_part}:+${home}/.procmailrc
> >
> > could someone please tell me what "require_files = ${local_part}" is
> > good for ? i've been killing this from my setups as i find no meaning
> > for it..
>
> This seems to check for, and require that a user have ~/.procmailrc
> in his homedir - if so exim calls procmail.


He was asking about the ${local_part} bit.

RTFSpec;

    If an item in a "require_files" list does not contain any forward slash
    characters, it is taken to be the user (and optional group, separated by a
    comma) to be used for testing subsequent files in the list. If no group is
    specified but the user is specified symbolically, the gid associated with
    the uid is used; otherwise the gid is not changed. For example:


      require_files = mail:/some/file
      require_files = ${local_part}:${home}/.procmailrc


    The second example works because the "require_files" string is expanded
    before use. If a user or group name in a "require_files" list does not
    exist, the "require_files" condition fails.


It checks for the ~/.procmail file as the user who is getting mail, this
prevents various permissions problems.

P.

-- 
pir                pir-sig@???                 pir-sig@???