|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: extension delivery to subfolder
From: /dev/rob0 (rob0
gmx.co.uk)
Date: Fri Nov 03 2006 - 15:15:22 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Friday 03 November 2006 13:40, Tomas Macek wrote:
> Thanks for your answer!
Sure, but please don't top-post; it makes the archive much harder to
follow.
> Sorry, but I don't think, that is simple... I'm very new to Postfix
It's not a Postfix issue.
> You maybe think about the solution via 2 sql queries - one from some
> postfix_extension table and one postfix_users table, yes? The query
No, not at all. A single query in a single database, just as you're
using now. Expand the database. Now you have:
someuser
example.com -> example.com/someuser/
otheruser
example.com -> example.com/otheruser/
someuser
example.net -> example.net/someuser/
You need:
someuser
example.com -> example.com/someuser/
someuser-spam
example.com -> example.com/someuser/.spam/
someuser-virus
example.com -> example.com/someuser/.virus/
otheruser
example.com -> example.com/otheruser/
otheruser-spam
example.com -> example.com/otheruser/.spam/
otheruser-virus
example.com -> example.com/otheruser/.virus/
someuser
example.net -> example.net/someuser/
someuser-spam
example.net -> example.net/someuser/.spam/
someuser-virus
example.net -> example.net/someuser/.virus/
And everything will then work exactly as you hoped.
I used ".spam/" and ".virus/" because my IMAP server expects IMAP
folders' names to begin with a dot. Salt to taste. Offer void where
taxed or prohibited by law.
I don't know what "maildirsize" is.
--
Offlist mail to this address is discarded unless
"/dev/rob0" or "not-spam" is in Subject: header
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]