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

From: (no name) (no email)
Date: Mon Jun 02 2003 - 15:12:55 EDT


On Mon, 2 Jun 2003, Michael A Nachbaur wrote:

> 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:
>

Since you are allocating a distinct uid for each user, consider using the
local delivery agent. Why use the VDA? If you want per-user hard quotas,
the LDA will do nicely, and you can use "maildrop" as a "mailbox_transport".

You use virtual_alias_maps to map each user to a local mailbox:

        example.com Virtual alias domain

        # Specific user mapped to local mailbox
                uid12345 at local dot invalid

        # Catchall mappend to local mailbox
        @example.com uid10000 at local dot invalid

Add "local.invalid" to mydestination, but reject SMTP mail to the
"invalid" TLD.

Setup mailboxes for each uidNNNNN address, you can keep the original
naming scheme, just put the right data into userdb.

-- 
	Viktor.







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD