Re: [Exim] Suffixes passed to LMTP transport (cyrus)?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Tom
Date:  
À: Exim Users Mailing List
Sujet: Re: [Exim] Suffixes passed to LMTP transport (cyrus)?
On Tue, 2 Sep 2003, Greg A. Woods wrote:

> [ On Monday, September 1, 2003 at 21:42:07 (-0700), Tom wrote: ]
> > Subject: [Exim] Suffixes passed to LMTP transport (cyrus)?
> >
> > Normally people run Cyrus with an "accept" router than just accepts
> > everything and dumps it into Cyrus over LMTP, and if a mailbox does not
> > exist, Cyrus refuses it, and Exim creates a bounce.
>
> That's a pretty silly way to do things! :-)
>
> If your MTA knows authoritatively what mailboxes are valid (e.g. by way
> of /etc/passwd, NIS, LDAP, or whatever), as it should so that it can
> reject invalid recipients during the initial SMTP transaction, then it's
> not very "productive" to allow Cyrus to bounce messages just because
> someone forgot to create a Cyrus mailbox for the valid user.


I think you missed the point: since suffix handling and LMTP don't work
well together in Exim, most sites just let Cyrus sort out which mailboxes
exist or not. I'm trying to get a solution to the suffix/LMTP issue.

...
> Note I'm still having trouble with getting my modified 2.1.15 version to
> deliver to sub-folders with "deliver -m sub-folder user-id". Maybe it
> works better with direct LMTP, but I'm not able to use LMTP yet.
> Hopefully I'll get this worked out soon though.


It is a permissions problem. Use the "-a" option:

deliver -a woods -m exim woods

Since ever user can always deliver his/her own submailboxes,
just tell deliver to impersonate you via "-a". Or, you could just add p
permissions to anyone.

With LMTP, you have no choice: you must add p permission to anyone for
all sub-mailboxes, as there is no way to change the delivery user
identity.

> --
>                         Greg A. Woods

>
> +1 416 218-0098                  VE3TCP            RoboHack <woods@???>
> Planix, Inc. <woods@???>          Secrets of the Weird <woods@???>

>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>
>


Tom