mail-archiver

mail-archiver

Docker 应用程序 from Emphyrio's Repository

概述

Mail Archiver is a web-based solution for archiving, searching, and exporting emails. All emails and attachments are stored in a Postgresql database. Also supports OpenID Connect (OIDC) for Single Sign On. The documentation contains examples for Authelia and Microsoft Entra ID.

要求

PostgreSQL database container (e.g. postgresql17).

运行时参数

网络用户界面
http://[IP]:[PORT:5000]
网络
bridge
外壳
sh
特权
false

模板配置

Web UI PortPorttcp

Web interface port

目标
5000
默认值
5000
价值
5000
Folder for Data Protection KeysPathrw

Folder for storing data protection keys

目标
/app/DataProtection-Keys
默认值
/mnt/user/appdata/mailarchiver/data-protection-keys
价值
/mnt/user/appdata/mailarchiver/data-protection-keys
Database Connection StringVariable

PostgreSQL connection string. Format: Host=postgres-ip-address;Port=5432;Database=dbname;Username=user;Password=pass; Replace 'postgres' with your PostgreSQL IP address (on bridge network) or container name (on custom network) and update credentials as needed.

目标
ConnectionStrings__DefaultConnection
默认值
Host=postgres-ip-address;Port=5432;Database=MailArchiver;Username=mailuser;Password=masterkey;
价值
Host=postgres;Port=5432;Database=MailArchiver;Username=mailuser;Password=masterkey;
Admin UsernameVariable

The username for the admin account.

目标
Authentication__Username
默认值
admin
价值
admin
Admin PasswordVariable

The password for the admin account.

目标
Authentication__Password
默认值
secure123!
价值
secure123!
Display Time ZoneVariable

The time zone used for displaying email timestamps in the UI. Use any TZ identifier from: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

目标
TimeZone__DisplayTimeZoneId
默认值
Etc/UTC
价值
Etc/UTC
OAuth EnabledVariable

Set to true to enable OIDC authentication.

目标
OAuth__Enabled
默认值
false
价值
false
OAuth AuthorityVariable

The OIDC authority/issuer URL of your identity provider (e.g. for Authelia: https://auth.example.com/). Note the trailing slash at the end.

目标
OAuth__Authority
默认值
https://auth.example.com/
价值
https://auth.example.com/
OAuth Client IdVariable

OIDC client ID configured in your identity provider (e.g. Authelia) for Mail Archiver.

目标
OAuth__ClientId
默认值
mail-archiver
价值
mail-archiver
OAuth Client SecretVariable

Client secret for the OIDC client.

目标
OAuth__ClientSecret
OAuth Disable Password LoginVariable

Set to true to disable traditional username/password login and enforce OAuth-only authentication.

目标
OAuth__DisablePasswordLogin
默认值
false
价值
false
OAuth Auto Approve UsersVariable

If set to true, new OIDC users are automatically approved. Enable if you manage your users exclusively in your OIDC provider.

目标
OAuth__AutoApproveUsers
默认值
false
价值
false
OAuth Client Scopes 0Variable

Scope #1 as requested from the identity provider.

目标
OAuth__ClientScopes__0
默认值
openid
价值
openid
OAuth Client Scopes 1Variable

Scope #2 as requested from the identity provider.

目标
OAuth__ClientScopes__1
默认值
profile
价值
profile
OAuth Client Scopes 2Variable

Scope #3 as requested from the identity provider.

目标
OAuth__ClientScopes__2
默认值
email
价值
email
Session Timeout (Minutes)Variable

The session timeout in minutes.

目标
Authentication__SessionTimeoutMinutes
默认值
60
价值
60
Cookie NameVariable

The name of the authentication cookie.

目标
Authentication__CookieName
默认值
MailArchiverAuth
价值
MailArchiverAuth
Mail Sync Interval (Minutes)Variable

The interval in minutes between email synchronization.

目标
MailSync__IntervalMinutes
默认值
15
价值
15
Mail Sync Timeout (Minutes)Variable

The timeout for the sync operation in minutes.

目标
MailSync__TimeoutMinutes
默认值
60
价值
60
Connection Timeout (Seconds)Variable

The connection timeout for IMAP connections in seconds.

目标
MailSync__ConnectionTimeoutSeconds
默认值
180
价值
180
Command Timeout (Seconds)Variable

The command timeout for IMAP commands in seconds.

目标
MailSync__CommandTimeoutSeconds
默认值
300
价值
300
Always Force Full SyncVariable

Whether to always force a full sync (true/false).

目标
MailSync__AlwaysForceFullSync
默认值
false
价值
false
Ignore Self-Signed CertificatesVariable

Whether to ignore self-signed certificates (true/false).

目标
MailSync__IgnoreSelfSignedCert
默认值
false
价值
false
Batch Restore Async ThresholdVariable

The number of emails that triggers async processing.

目标
BatchRestore__AsyncThreshold
默认值
50
价值
50
Max Sync EmailsVariable

The maximum number of emails for sync processing.

目标
BatchRestore__MaxSyncEmails
默认值
150
价值
150
Max Async EmailsVariable

The maximum number of emails for async processing.

目标
BatchRestore__MaxAsyncEmails
默认值
50000
价值
50000
Batch Restore Session Timeout (Minutes)Variable

The session timeout for batch restore in minutes.

目标
BatchRestore__SessionTimeoutMinutes
默认值
30
价值
30
Default Batch SizeVariable

The default batch size for email operations.

目标
BatchRestore__DefaultBatchSize
默认值
50
价值
50
Batch Operation SizeVariable

The batch size for email operations.

目标
BatchOperation__BatchSize
默认值
50
价值
50
Pause Between Emails (ms)Variable

The pause between individual emails in milliseconds.

目标
BatchOperation__PauseBetweenEmailsMs
默认值
50
价值
50
Pause Between Batches (ms)Variable

The pause between batches in milliseconds.

目标
BatchOperation__PauseBetweenBatchesMs
默认值
250
价值
250
Max Selectable EmailsVariable

The maximum number of emails that can be selected at once.

目标
Selection__MaxSelectableEmails
默认值
250
价值
250
Database Command TimeoutVariable

The timeout for database commands in seconds.

目标
Npgsql__CommandTimeout
默认值
900
价值
900
Max Upload File Size (GB)Variable

The maximum file size for uploads in GB.

目标
Upload__MaxFileSizeGB
默认值
10
价值
10
Upload Keep Alive Timeout (Hours)Variable

The keep alive timeout for uploads in hours.

目标
Upload__KeepAliveTimeoutHours
默认值
4
价值
4
Upload Request Headers Timeout (Hours)Variable

The timeout for request headers in hours.

目标
Upload__RequestHeadersTimeoutHours
默认值
2
价值
2

类别

下载统计数据

451,662
下载总数
96,516
本月
72,399
平均每月

长期下载总量

加载图表...

详细信息

存储库
s1t5/mailarchiver
最后更新2026-04-14
初见2025-10-16

在Unraid 上运行 mail-archiver 。

mail-archiver 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。