Skip to content
Uplusware edited this page Nov 12, 2016 · 39 revisions

About eRisemail server

  • Free e-mail server which supports Linux
  • Support GB2312, UTF-8 and UCS2 Format
  • Support SMTP, POP3, IMAP4, HTTP and SSL/TLS
  • Based on Linux and MariaDB, both are free
  • Support Mail Group, Customize User Policy, Mail Audit and Web Managemant UI
  • Support popular email client( Outlook, Thunderbird ...)
  • Support iCalendar Format(RFC2445) / Mozilla Thunderbird Lightning Plugin
  • Support the mail with huge size attachment( Maximum size is 2G )
  • Support loading and extending anti-junkmail engine
  • Storage is based on MariaDB. So it's easy to maintain and backup mail data via scripts.
  • The best selection for small and medium-sized E-mail application.
  • Recommend to install the sytem at Ubutun or CentOS
  • The lastest version can be get at http://uplusware.org
  • Any question please mail to uplusware@gmail.com

Introducation 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

MaxConnPerProtocal

  • Maximum number of connection for each protocal

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 valuse 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 temporary files,and make sure tmp and eml exist in this directory

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

  • memcache 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

Introducation web components

  • Siance v1.3, the system has an embedded web server, and it both supports HTTP and HTTPS. So user no need install and configuate any other web server
  • Web management UI's Url: http://IP:port/admin

Introducation of /var/log/erisemail/MTA-*.log

  • MTA access list named by date of each day
  • User can refer the information of the log file to find out the IP which should be appended in /etc/erisemail/reject.list

Introducation of /etc/erisemail/domain.list

  • Local domains list
  • Support multiple domains, share account id, non-independed

##Introducation of /etc/erisemail/permit.list

  • User can add the permited IP(s) to the file. And can be used * to match any substring.

Introducation of /etc/erisemail/reject.list

  • User can add the rejected IP(s) to the file. And can be used * to match any substring.

Introducation of /etc/erisemail/webadmin.list

  • The list of IPs which can access the management web UI. And can be used * to match any substring.