Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Catch all mailbox
Date: Wed, 09 Sep 2009 12:40:29
Message-Id: 200909091440.25425.joost@antarean.org
In Reply to: Re: [gentoo-user] Catch all mailbox by Xavier Parizet
1 On Wednesday 09 September 2009 14:19:45 Xavier Parizet wrote:
2 > J. Roeleveld a écrit :
3 > > Hi All,
4 > >
5 > > I know this is probably off-topic, but I'm hopefull someone on this list
6 > > knows how to do this.
7 > >
8 > > My current situation:
9 > > Postfix gets an email delivered for user X
10 > > Postfix passes this to cyrus (lmtp-transport)
11 > > if user X does not exist within cyrus, the email gets bounced.
12 > >
13 > > I would like this bounced email to be delivered to a seperate cyrus email
14 > > folder.
15 > >
16 > > I tried to find the answer on google, but all the solutions I found
17 > > either only work with the postfix local delivery agent (eg. not
18 > > compatible with cyrus) or requires a list to be maintained using all the
19 > > known email-boxes.
20 > >
21 > > I prefer a fall-back solution where an email directed at a user not
22 > > listed in either the alias table (stored in ldap) or not known to cyrus
23 > > is redirected to a specific cyrus mailbox.
24 >
25 > A solution could be doing a catch-all alias (see [1]) :
26 > if your domain is example.com, then add an alias mapping @example.com to
27 > oneaddress@×××××××.com either using virtual alias or /etc/postfix/aliases .
28 >
29 > HTH.
30 >
31 > [1] http://www.postfix.org/VIRTUAL_README.html
32
33 I did notice this option, but it would require me to duplicate the alias table
34 into a alias file. I tried setting a "@<domain>" entry in my ldap-tree, but
35 this did not work.
36
37 Thanks,
38
39 Joost

Replies

Subject Author
Re: [gentoo-user] Catch all mailbox Xavier Parizet <xav@×××××××××.com>