> > 1) I need to configure James for three different Virtual Hosts on the > same IP, in other words its a Name Based Virtual Hosting. For example, > I have host_one.com, host_two.com, host_three.com; I want to use for > each of them they own PO3 and SMTP servers. So it will look like this: > a) pop3.host_one.com, smtp.host_one.com; > b) pop3.host_two.com, smtp.host_two.com; > c) pop3.host_three.com, smtp.host_three.com; > How to achieve this? > I've tryed configure for each of them their own <handler>, added > servers, added <fetches>, but as it was just an idea, it didnt work > for me. I've tryed disable/enable host autodetection etc. BTW, I dont > want to change the ports, in other words it would be standars 110 and > 25 for each host.
You can't run separate pop3/smtp servers for all the domains on the same port (or at least not without having one ip per domain on the machine). Also, i'm not sure if james can run with more than one pop3/smtp server anyway! However, you only actually need one pop3/smtp server: Simply make the all the 'A' records for those hosts you listed point to the james server ip. That's all you need to do, apart from listing the domains that james should treat as local. > > 2) Is it possible to configure multiple remote controls for each of > these hosts? So if I want to connect "telnet host_one.com 4555" or > "telnet host_two.com 4555" or "telnet host_three.com 4555", is it > possible to allow to each user administer his own host in this way? Not as far as i know. If all you want them to administer is email accounts, then use a database (eg mysql) for users & virtual users tables and write some simple admin screens. I wrote some a simple tool like this. There are various files at: http://www.netcase.co.uk/daniel/james/2.1.3_STABLE/ Check out the "web-admin.zip" file. Note that if you want to use any of my code, then i would recomend compiling 2.2.0 with the code in the 2.2.0 folder. > 3) How to configure news groups for each of these hosts? No idead here i'm afraid :) > Guys, I'm not a Java programmer, I know XML, I can write templates on > XSLT, but not more. Excuse me, if I didnt understand some things:) > Please give me some links or tips, maybe book names about James? But > before you give some advice like "You should write a custom class > import mail.* public bla-bla{...}" you must to know that I far > from this, so keep it > simple please:) I read all documentation on the site, I've downloaded > two articles, but I didnt figure it out how to configure James in my > way. It shouldnt be too difficult for you. James handles mail for multiple domains out of the box. It's only when you have quite specific requirements that you end up writing your own code. We're using a slightly customised version of james to handle mail for all of our clients, and we're finding it a doddle to administer! Daniel. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]