Configuration
OpMail is configured using a single registry entry, and an XML file.
The registry entry is:
HKEY_LOCAL_MACHINE\Software\Opcode\OpMailServer
This contains a single value MailRoot that determines the root directory for the server.
The Config directory contains an XML file config.xml where various server settings can be changed.
An XSL (XML style sheet) is also supplied to enable the file to be easily viewed using Internet Explorer.
Simply open the XML file with IE and it's contents will be displayed in a clearly readable way.
General Settings
Nameserver
The IP address of the name server to use for mail domain name (MX) lookups.
Log level
Not implemented Controls the amount of logging output.
POP3 listen on
The IP address that the POP3 server will listen for connections on.
Useful if your machine has more than one IP address.
Entering * will mean that any/all addresses on the machine will be used.
SMTP listen on
As for POP3.
Users
Name and password for each user, followed by a list of email address 'aliases'.
This means that each physical user can have many different email addresses.
<user name="username" password="mypass">
<alias>someone@mydomain.com</alias>
<alias>webmaster@mydomain.com</alias>
</user>
The passwords are currently stored in plain text within the file. This is fundamentally insecure and will be changed in the next version.
Domains
List of domain names for which this server is handling mail.
This is used to determine whether mail is in- or out-bound.
Relaying
By default the server will not permit mail relaying from any connection.
By entering a list of single IP addresses you can specify who is allowed to send mail using this server.
Not implemented IP address ranges and wildcards are not yet supported.
|
|