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
- It is best to run single domain accounts as IMAP4 (if available) so set
Default Protocol to IMAP4
- From standardlogin.tpl remove [logintype] as
the advanced login shouldn't be needed
- 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
- Set DWmail to 'local' mode DWmail Mode to LOCAL
- Set Default Server for Local Mode to the email
server for your domain
- If your mail server DOES require your entire email address as a username
then enable Full Email Address as Username
- 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
- It is best to run web host accounts as IMAP (if available)
so set Default Protocol to IMAP4
- From standardlogin.tpl remove [logintype] as
the advanced login shouldn't be needed
- Set DWmail to 'local' mode DWmail Mode to LOCAL
- SetDefault Server for Local Mode to the
email server for your server. You can probably use 'localhost' here
- If your mail server DOES require your entire email address as a username
then enable Full Email Address as Username
- It's also advisable to use SMTP so set enable Use SMTP
- 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
- It is best to run web host accounts as IMAP (if available) so set Default Protocol to IMAP4
- Set DWmail to 'domain' mode DWmail Mode to DOMAIN MODE
- 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
- 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.
- 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
- Open the IMAP4 and POP3 ports in your firewall, usually ports 110 and 143
- It
is best to run remote accounts as POP3 so set Default Protocol to POP3
- Set DWmail to 'remote' mode DWmail Mode to REMOTE MODE
- Full Email Address as Username should be disabled
- You can now enter your email address and password to check your email across
any POP3 or IMAP4 email account