Re: Postfix+VDA+PostgreSQL: need to filter mail into different mail folders

From: Michael A Nachbaur (no email)
Date: Mon Jun 02 2003 - 16:46:51 EDT


On Monday 02 June 2003 01:24 pm, Wietse Venema wrote:
> :
> > On Mon, 2 Jun 2003, Wietse Venema wrote:
> > > Michael A Nachbaur:
> > > > I discovered (much too late it seems) that you can't use maildrop or
> > > > deliverquota when working with VDA. Is there an alternate solution
> > > > to this problem? I have thought of several ideas so far:
> > >
> > > How would maildrop/deliverquota find out where to store the mail?
> > > If they can find that out by themselves, then perhaps they can be
> > > driven by the Postfix PIPE or LTMP client?
> >
> > Yes, but he also wants hard quotas, and these require running as the
> > mailbox owner, which "pipe" cannot do. I think that using "local" is
> > perhaps the best bet.

Unless I pipe to a wrapper that SUIDs to the UID/GID of the virtual user.
Blech!

> > Adding extension support to virtual is tempting, but raises security
> > issues, should the sender be able to choose an arbitrary maildir
> > sub-folder? With Cyrus the sender can only "+folder" addresses for
> > folders whose ACL includes "Post" by "anonymous".
>
> The VDA allows but ignores address extension information because
> I did not see how a virtual user could set up multiple folders.

A virtual user could create their own folder using an IMAP client, e.g. a
stand-alone MUA or a webmail interface.

> However, if the sysadmin sets up multiple folders then I don't see
> a problem.
>
> Your patch or mine? :-)
>
> Wietse

-- 
Michael A Nachbaur <>







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD