Login Mode

Login Modes

DWmail is powerful enough to allow the software to be used for many purposes through the same code with minimal changes. Here are some configuration recommendations for using DWmail in different ways.

Single domain email accounts (e.g. Internet Service Providers, ISPs)

If you only want to use DWmail to check email across the Web where all email addresses end in the same domain name (an Internet Service Provider is a good example for this) then you can set DWmail up as follows

  1. It is best to run single domain accounts as IMAP4 (if available) so set Default Protocol to IMAP4
  2. From standardlogin.tpl remove [logintype] as the advanced login shouldn't be needed
  3. Set Default Domain to your single domain. This means if your email is me@domain.com and your username is me then just enter me into the username field and domain.com is automatically assumed from the $DefaultDomain field
  4. Set DWmail to 'local' mode DWmail Mode to LOCAL
  5. Set Default Server for Local Mode to the email server for your domain
  6. If your mail server DOES require your entire email address as a username then enable Full Email Address as Username
  7. It's also advisable to use SMTP so enable Use SMTP

Multiple domain, single server accounts (e.g. small web hosts)

If you only want to use DWmail to check email across your server but you have many different domains on that server then you can set DWmail up as follows

  1. It is best to run web host accounts as IMAP (if available) so set Default Protocol to IMAP4
  2. From standardlogin.tpl remove [logintype] as the advanced login shouldn't be needed
  3. Set DWmail to 'local' mode DWmail Mode to LOCAL
  4. SetDefault Server for Local Mode to the email server for your server. You can probably use 'localhost' here
  5. If your mail server DOES require your entire email address as a username then enable Full Email Address as Username
  6. It's also advisable to use SMTP so set enable Use SMTP
  7. You can now enter your email address and password to check your email across all accounts on that server

Multiple domain, multiple server accounts (e.g. large web hosts)

If you have multiple servers but want DWmail to check email across them all, but not allowing any other people to check email on their servers then you can set DWmail to 'domain' mode

  1. It is best to run web host accounts as IMAP (if available) so set Default Protocol to IMAP4
  2. Set DWmail to 'domain' mode DWmail Mode to DOMAIN MODE
  3. Set Allowed Domains for Domain Mode comma seperated list to contain the domain names of the email addresses you wish to allow DWmail to connect to
  4. In the template 'standardlogin.tpl' you can enter the [domainlist] tag which will produce a drop down list of Allowed Domains with Default Domain as the selected option. This means that your users will only need to enter their username and not the full email address as a username.
  5. You can now enter your email address and password to check your email across those domains

Multiple domain, any server accounts (e.g. email checking services)

If you want to allow checking of ANY POP3 or IMAP4 email accounts anywhere on the Internet then you can set DWmail up as follows

  1. Open the IMAP4 and POP3 ports in your firewall, usually ports 110 and 143
  2. It is best to run remote accounts as POP3 so set Default Protocol to POP3
  3. Set DWmail to 'remote' mode DWmail Mode to REMOTE MODE
  4. Full Email Address as Username should be disabled
  5. You can now enter your email address and password to check your email across any POP3 or IMAP4 email account