Re: Forwarding connections based on domain

"Stephen Vaughan" <[email protected]>
Newsgroups gmane.mail.perdition.user
Message-ID <[email protected]>
nevermind figured it out. If anyone wants to know:

perdition.conf:

map_library /usr/lib/libperditiondb_posix_regex.so.0
map_library_opt /etc/perdition/popmap.re

popmap.re:

(.*)@domain.com: 123.123.123.123

On Thu, Jan 15, 2009 at 2:10 PM, Simon Horman <[email protected]> wrote:

> On Thu, Jan 15, 2009 at 01:55:37PM +1100, Stephen Vaughan wrote:
> > Hi,
> >
> > Is it possible to proxy imap/pop3 connections based on the domain used in
> > the username? I'm trying to avoid having to enter in thousands of email
> > addresses into the popmap, instead having a wild card of *@domain.com ->
> > server1, *@domain1.com -> server2
>
> Yes. Perhaps the easiest way to achive this would be using a regex map.
>
>
> --
> Simon Horman
>  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
>  H: www.vergenet.net/~horms/ <http://www.vergenet.net/%7Ehorms/>
>   W: www.valinux.co.jp/en
>
>


-- 
Best Regards,
Stephen

______________________________________________
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.