Firstly thanks to
serge for answering my previous question!
Now onto my current
questions:
1.
If I want
to add a user to James (note I'm using a MySQL database for users and virtual
hosting), can I just add them to the database?
Or do I have to use
the admin tool to do it?
My only concern is
with caching, possible future changes, etc. (not sure if any are
relevant).
2.
On a
totally different topic, the accounts moving to the James server are coming from
qmail virtual hosts. These hosts are set up so that an email address is
used to log in. I tried this with James virtual hosting, but it did not
work. From what I could figure, the address e.g. a @ b.com is rewritten to a @ b.com, so nothing is changed. So after
passing through the virtual hosting, James treats it either as local user "a" as
"b.com" is a local address.
My solution to this
is to use set up accounts with the address rewritten to "a..at..b.com" i.e.
replace @ with "..at.." assuming that no one will be strange enough to have
..at.. in their address. Then hack POP3Handler.java and change doUSER so
that it looks for @ symbols in usernames and does the same
substitution.
Can anyone see any
problems with this?
Anyone have a better
solution?
Thanks,
Daniel.