mail-archiver

mail-archiver

Docker-Anwendung from Emphyrio's Repository

Übersicht

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.

Anforderungen

PostgreSQL database container (e.g. postgresql17).

Laufzeit-Argumente

Web-UI
http://[IP]:[PORT:5000]
Netzwerk
bridge
Shell
sh
Privilegiert
false

Konfiguration der Vorlage

Web UI PortPorttcp

Web interface port

Ziel
5000
Standard
5000
Wert
5000
Folder for Data Protection KeysPathrw

Folder for storing data protection keys

Ziel
/app/DataProtection-Keys
Standard
/mnt/user/appdata/mailarchiver/data-protection-keys
Wert
/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.

Ziel
ConnectionStrings__DefaultConnection
Standard
Host=postgres-ip-address;Port=5432;Database=MailArchiver;Username=mailuser;Password=masterkey;
Wert
Host=postgres;Port=5432;Database=MailArchiver;Username=mailuser;Password=masterkey;
Admin UsernameVariable

The username for the admin account.

Ziel
Authentication__Username
Standard
admin
Wert
admin
Admin PasswordVariable

The password for the admin account.

Ziel
Authentication__Password
Standard
secure123!
Wert
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

Ziel
TimeZone__DisplayTimeZoneId
Standard
Etc/UTC
Wert
Etc/UTC
OAuth EnabledVariable

Set to true to enable OIDC authentication.

Ziel
OAuth__Enabled
Standard
false
Wert
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.

Ziel
OAuth__Authority
Standard
https://auth.example.com/
Wert
https://auth.example.com/
OAuth Client IdVariable

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

Ziel
OAuth__ClientId
Standard
mail-archiver
Wert
mail-archiver
OAuth Client SecretVariable

Client secret for the OIDC client.

Ziel
OAuth__ClientSecret
OAuth Disable Password LoginVariable

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

Ziel
OAuth__DisablePasswordLogin
Standard
false
Wert
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.

Ziel
OAuth__AutoApproveUsers
Standard
false
Wert
false
OAuth Client Scopes 0Variable

Scope #1 as requested from the identity provider.

Ziel
OAuth__ClientScopes__0
Standard
openid
Wert
openid
OAuth Client Scopes 1Variable

Scope #2 as requested from the identity provider.

Ziel
OAuth__ClientScopes__1
Standard
profile
Wert
profile
OAuth Client Scopes 2Variable

Scope #3 as requested from the identity provider.

Ziel
OAuth__ClientScopes__2
Standard
email
Wert
email
Session Timeout (Minutes)Variable

The session timeout in minutes.

Ziel
Authentication__SessionTimeoutMinutes
Standard
60
Wert
60
Cookie NameVariable

The name of the authentication cookie.

Ziel
Authentication__CookieName
Standard
MailArchiverAuth
Wert
MailArchiverAuth
Mail Sync Interval (Minutes)Variable

The interval in minutes between email synchronization.

Ziel
MailSync__IntervalMinutes
Standard
15
Wert
15
Mail Sync Timeout (Minutes)Variable

The timeout for the sync operation in minutes.

Ziel
MailSync__TimeoutMinutes
Standard
60
Wert
60
Connection Timeout (Seconds)Variable

The connection timeout for IMAP connections in seconds.

Ziel
MailSync__ConnectionTimeoutSeconds
Standard
180
Wert
180
Command Timeout (Seconds)Variable

The command timeout for IMAP commands in seconds.

Ziel
MailSync__CommandTimeoutSeconds
Standard
300
Wert
300
Always Force Full SyncVariable

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

Ziel
MailSync__AlwaysForceFullSync
Standard
false
Wert
false
Ignore Self-Signed CertificatesVariable

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

Ziel
MailSync__IgnoreSelfSignedCert
Standard
false
Wert
false
Batch Restore Async ThresholdVariable

The number of emails that triggers async processing.

Ziel
BatchRestore__AsyncThreshold
Standard
50
Wert
50
Max Sync EmailsVariable

The maximum number of emails for sync processing.

Ziel
BatchRestore__MaxSyncEmails
Standard
150
Wert
150
Max Async EmailsVariable

The maximum number of emails for async processing.

Ziel
BatchRestore__MaxAsyncEmails
Standard
50000
Wert
50000
Batch Restore Session Timeout (Minutes)Variable

The session timeout for batch restore in minutes.

Ziel
BatchRestore__SessionTimeoutMinutes
Standard
30
Wert
30
Default Batch SizeVariable

The default batch size for email operations.

Ziel
BatchRestore__DefaultBatchSize
Standard
50
Wert
50
Batch Operation SizeVariable

The batch size for email operations.

Ziel
BatchOperation__BatchSize
Standard
50
Wert
50
Pause Between Emails (ms)Variable

The pause between individual emails in milliseconds.

Ziel
BatchOperation__PauseBetweenEmailsMs
Standard
50
Wert
50
Pause Between Batches (ms)Variable

The pause between batches in milliseconds.

Ziel
BatchOperation__PauseBetweenBatchesMs
Standard
250
Wert
250
Max Selectable EmailsVariable

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

Ziel
Selection__MaxSelectableEmails
Standard
250
Wert
250
Database Command TimeoutVariable

The timeout for database commands in seconds.

Ziel
Npgsql__CommandTimeout
Standard
900
Wert
900
Max Upload File Size (GB)Variable

The maximum file size for uploads in GB.

Ziel
Upload__MaxFileSizeGB
Standard
10
Wert
10
Upload Keep Alive Timeout (Hours)Variable

The keep alive timeout for uploads in hours.

Ziel
Upload__KeepAliveTimeoutHours
Standard
4
Wert
4
Upload Request Headers Timeout (Hours)Variable

The timeout for request headers in hours.

Ziel
Upload__RequestHeadersTimeoutHours
Standard
2
Wert
2

Kategorien

Statistik herunterladen

451,662
Downloads insgesamt
96,516
Dieser Monat
72,399
Durchschnittlich / Monat

Gesamte Downloads im Laufe der Zeit

Tabelle laden...

Einzelheiten

Repository
s1t5/mailarchiver
Zuletzt aktualisiert2026-04-14
Erstmals gesehen2025-10-16

Führen Sie mail-archiver auf Unraid aus.

mail-archiver ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.