On Wednesday 09 September 2009 14:19:45 Xavier Parizet wrote:
> J. Roeleveld a écrit :
> > Hi All,
> >
> > I know this is probably off-topic, but I'm hopefull someone on this list
> > knows how to do this.
> >
> > My current situation:
> > Postfix gets an email delivered for user X
> > Postfix passes this to cyrus (lmtp-transport)
> > if user X does not exist within cyrus, the email gets bounced.
> >
> > I would like this bounced email to be delivered to a seperate cyrus email
> > folder.
> >
> > I tried to find the answer on google, but all the solutions I found
> > either only work with the postfix local delivery agent (eg. not
> > compatible with cyrus) or requires a list to be maintained using all the
> > known email-boxes.
> >
> > I prefer a fall-back solution where an email directed at a user not
> > listed in either the alias table (stored in ldap) or not known to cyrus
> > is redirected to a specific cyrus mailbox.
>
> A solution could be doing a catch-all alias (see [1]) :
> if your domain is example.com, then add an alias mapping @example.com to
> [email protected] either using virtual alias or /etc/postfix/aliases .
>
> HTH.
>
> [1] http://www.postfix.org/VIRTUAL_README.html

I did notice this option, but it would require me to duplicate the alias table 
into a alias file. I tried setting a "@<domain>" entry in my ldap-tree, but 
this did not work.

Thanks,

Joost

Reply via email to