popmap fallback

Hugo Monteiro <[email protected]>
Newsgroups gmane.mail.perdition.user
Message-ID <[email protected]>
Hello list,

We have perdition working for both POPS and IMAPS, using an LDAP 
backend. Everything has been working fine and we are very glad that 
there is such a fine product in the OSS world.
Now we have the special need to redirect a small set of email accounts, 
that don't exist in the LDAP tree, to another storage server.
I started looking at the popmap feature and we would like to use the 
regular expression backend, but we've run into trouble.

my popmap.re file looks like

redir-.*: mailbak2.domain.com:995

This allows us to redirect every account on the form of redir-username 
to an alternate server. But using this will not allow us to use the LDAP 
backend also.

Is there any way to make perdition fallback in any of the cases? i.e. .. 
either try redir-.* and perform the redirect if matches, doing the ldap 
lookup otherwise, or perform the ldap lookup and next try the popmap, in 
the case ldap returned no entries.

I have also tried a global redirection, in the form of .*: 
mailbak2.domain.com:995 and redirection only worked for POP connections, 
not IMAP. Did i miss anything, or is this supposed to work for IMAP only?

Thanks in advance,

Hugo Monteiro.

-- 
fct.unl.pt:~# cat .signature

Hugo Monteiro
Email	 : [email protected]
Telefone : +351 212948300 Ext.15307
Web      : http://hmonteiro.net

Divisão de Informática
Faculdade de Ciências e Tecnologia da
		   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.fct.unl.pt                [email protected]

fct.unl.pt:~# _

______________________________________________
Perdition-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/perdition-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.