Skip to content
Uplusware edited this page Jun 19, 2017 · 39 revisions

About

  • Scalable distributed Mail Server based on the Linux and MySQL/MariaDB (Installation)
  • Support SMTP, POP3, IMAP4, HTTP and SSL/TLS
  • Support WebMail and WebAdmin
  • Support multiple authentication methods(CRAM-MD5 DIGEST-MD5 APOP and GSSAPI/Kerberos)
  • Support Mail Group, Customize User Policy and Mail audit
  • Support popular email client( Outlook, Thunderbird ...)
  • Support iCalendar and Mozilla Thunderbird Lightning Plugin
  • Support the mail with huge size attachment( Maximum size is 2G )
  • Support Apache SpamAssassin and the Self-Defined Anti-spam Engine

Introduction of /etc/erisemail/erisemail.conf

Encoding

  • The encoding way of storage in MySQL/MariaDB(just only support UTF-8, GB2312 and UCS2),and the default value is UTF-8.
  • Please don't change this key's value after installing database of eRisemail(after running sudo eriseutil --install)
  • If need change this key's value, please convert the HTML files to corresponding format via tools and modify the charset in all HTML files' content before installing the eRisemail database.

<meta http-equiv="Content-Type" content="text/html; charset=[GB2312|UTF-8|UCS2]" />

EmailDomainName

  • The postfix of your email.

LocalHostName

  • The hostname of local computer

HostIP

  • The ip of localhost, can be empty

DNSServer

  • The ip of a usable dns server, can not be empty

MaxCocurrentConnNum

  • Maximum number of connection

MTAEnable

  • Enable MTA (yes/no)

MTARelayTaskNum

  • the number of forwarding task, if your mail server has a large of email to forward to others mail server every day. You can increase the values by depending your local computer's performance. The default value is 3.

SMTPEnable

  • Enable SMTP(yes/no)

SMTPPort

  • The port of SMTP service

EnableSMTPTLS

  • Enable TLS for SMTP(yes/no). recommend to set no.

EnableRelay

  • Enable relay function. recommend to set no, for reject junk mail.

SMTPHostNameCheck

  • Enable checking the match of client's hostname and ip at SMTP session

POP3Enable

  • Enable POP3 service.(yes/no)

POP3Port

  • The port of POP3 service

EnablePOP3TLS

  • Enable TLS for POP3(yes/no)

IMAPEnable

  • Enable IMAP service.(yes/no)

IMAPPort

  • The port of IMAP service

EnableIMAPTLS

  • Enable TLS for IMAP(yes/no)

SMTPSEnable

  • Enable SMTPS service.(yes/no)

SMTPSPort

  • The port of POP3 service

POP3SEnable

  • Enable POP3S service.(yes/no)

POP3SPort

  • The port of POP3S service

IMAPSEnable

  • Enable IMAPS service.(yes/no)

IMAPSPort

  • The port of IMAPS service

HTTPEnable

  • Enable HTTP Web service.(yes/no)

HTTPPort

  • The port of HTTP web service

HTTPSEnable

  • Enable HTTPS Web service.(yes/no)

HTTPSPort

  • The port of HTTPS Web service

PrivatePath

  • The directory path of private and temporary files

HTMLPath

  • The directory path of web files

CARootCrt

  • The root certification

CAServerCrt

  • The server's certification

CAServerKey

  • The key file for server's certification

CAPassword

  • The encoded password of server's certification(for safety, it SHOULD be generated by eriseutil --encode [password])

KRB5_KTNAME

  • Kerberos 5 KeyTab File Path

DBHost

  • The MySQL/MariaDB database server's hostname or ip

DBPort

  • MySQL/MariaDB Server Port. 0 means to use Unix Socket for connection.

DBName

  • The database name for your system which will be created

DBUser

  • The user of MySQL/MariaDB Server

DBPassword

  • The user's password(for safety, it SHOULD be generated by eriseutil --encode [password])

DBSockFile

  • MySQL/MariaDB Unix Socket File Path. Empty means to use TCP/IP for connection.

DBMaxConn

  • The Maximum limited number of connection with MySQL/MariaDB for every service

MEMCACHEDList

  • memcached server list(Format: IP:port). Can be more than one MEMCACHEDList.

Introducation of erisemail's tools

eriseadduser

  • Add a user to the system except for "admin"(it's the default administrator account id)
    • Usage: eriseadduser username password alias

erisedeluser

  • Remove a user from the system
    • Usage: erisedeluser username

eriseaddgroup

  • Add a group to the system(the group name dpn't permit to be same as appended user name)
  • Usage:eriseaddgroup groupname password alias
  • Usage:eriseaddgroup groupname alias

erisedelgroup

  • Remove a group from the system
    • Usage: erisedeluser groupname

eriseaddusertogroup

  • Insert a user to a mail group
    • Usage: eriseaddusertogroup username groupname

erisedeluserfromgroup

  • Remove a user from a mail group
    • Usage: erisedeluserfromgroup username groupname

erisepasswd

  • Update the password of user or group
    • Usage:erisepasswd username | groupname

eriseenableuser

  • Active the user
    • Usage: eriseenableuser username

erisedisableuser

  • Disable the user
    • Usage: erisedisableuser username

eriseutil

  • The utility of erisemail system
    • Usage: eriseutil --install
    • Usage: eriseutil --uninstall
    • Usage: eriseutil -a user_group_name password alias [-u|-g] [-A|-U]
    • Usage: eriseutil -a user_group_name alias [-u|-g] [-A|-U]
    • Usage: eriseutil -d user_group_name
    • Usage: eriseutil -p username
    • Usage: eriseutil -A username groupname
    • Usage: eriseutil -D username groupname
    • Usage: eriseutil -l --level
    • Usage: eriseutil -s --level username level_id
    • Usage: eriseutil -s --defaultlevel level_id
    • Usage: eriseutil -a --level level_name level_description level_mailmaxsize level_boxmaxsize level_audit(yes/no) level_mailsizethreshold level_attachsizethreshold
    • Usage: eriseutil -l --user
    • Usage: eriseutil -l --group groupname
    • Usage: eriseutil --disable user_group_name
    • Usage: eriseutil --enable user_group_name
    • Usage: eriseutil --encode
    • Usage: eriseutil --upgrade

Introduction WebMail and WebAdmin

Introduction of domain.list

  • Path: /etc/erisemail/domain.list
  • Local domains list
  • Support multiple domains, share account id, non-independed

Introduction of permit.list

  • Path: /etc/erisemail/permit.list
  • User can add the permitted IP(s) to the file. And can be used * to match any substring.

Introduction of reject.list

  • Path: /etc/erisemail/reject.list
  • User can add the rejected IP(s) to the file. And can be used * to match any substring.

Introduction of webadmin.list

  • Path: /etc/erisemail/webadmin.list
  • The list of IPs which can access the management web UI. And can be used * to match any substring.