Re: MySQL

Simon Horman <[email protected]>
Newsgroups gmane.mail.perdition.user
Message-ID <[email protected]>
On Fri, Jun 05, 2009 at 09:29:56AM +0100, Jonathan Gilpin wrote:
> I've just setup perdition and MySQL and I've got it sort of working...  
> but I want to split some users here and some there.
> So I want to have:
> 
> [email protected] to server1: imap
> [email protected] to server2: pop
> [email protected] to server3: imap
> [email protected] to server4: pop
> 
> The MySQL config has three fields:
> 
> user, port, hostname,
> 
> I dont seem to be able to see or understand how to make some users go  
> to different place depending on the connection type.
> ie: imap connections to this server on that port and pop to this on  
> that port...
> 
> can anyone explain?

Hi Jonathan,

sorry for the delay in getting back to you.

I can think of two options available. First would be
to twiddle the query_key option to perdition. This
will alter what perdition uses as the key for the database
lookup. Or in other words, what it tries to match in the "user"
column.

The other alternative would be to have the MySQL use different tables
for POP and IMAP.

In either case you'll probably need to pass slightly different
configuration options to the perdition instances running
IMAP and POP.
______________________________________________
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.