最後更新: 2022-04-08
介紹
iRedMail 由一堆 E-Mail 軟件加管理平台組成, 它們為的是建立一個開源的 E-Mail 服務器.
那些軟件分別是:
- Web: Apache, Roundcube, awstats
- Script: Bash, PHP, Python
- DB: MySQL / OpenLDAP
- SMTP: Postfix
- POP3, IMAP: Dovecot
- Anti-X: Amavisd, policyd, spamassassin, clamav
- Panel: iredadmin
- 其他功能: iredapd
它分別整合了最少 11 樣開源軟件, 可想而知作者的功力有多高!!
iRedMail-x.y.z/.iRedMail.installation.status
Table domain:
domain: domain.name
transport: dovecot
defaultuserquota: 1024 <--- MB
active : 1
Table domain_admins:
username: [email protected]
domain: ALL <---- default
active : 1
alias & forward
假設有以下 User
[email protected]
[email protected]
[email protected]
<1>在 iredmail 上 alias 是比 user 優先的, 意思是
當有 alias: [email protected] ---> [email protected] 時
[email protected] 是收不到 mail 的
<2> Forward, 如果 test3 要留 copy 比自己, 那要
alias: [email protected] ---> [email protected] [email protected]
# 要用空格分開收件者
<3> alias 上不會出要 duplicate 的情況
在以下情況, test2 都只會收一份
alias: [email protected] --> [email protected] [email protected]
alias: [email protected] --> [email protected]
假設有以下 forward
[email protected] [email protected] [email protected]
[email protected] [email protected]
如果有人 Send E-Mail 比 [email protected] 及 [email protected]
[email protected] 只會收一份
Config
/settings.py
LOCAL_TIMEZONE = "GMT+08:00" PASSWORD_HAS_SPECIAL_CHAR = False GLOBAL_ADMIN_IP_LIST = [] ADMIN_LOGIN_IP_LIST = [] MAILDIR_HASHED = False MAILDIR_APPEND_TIMESTAMP = False URL_SUPPORT = ""
/libs/default_settings.py
/libs/sysinfo.py
def get_license_info(): url = "https://lic.iredmail.org/check_version/ose.json" ... def check_new_version(): return (None, None)