mail-archiver

mail-archiver

Application Docker from Emphyrio's Repository

Vue d'ensemble

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.

Exigences

PostgreSQL database container (e.g. postgresql17).

Arguments d'exécution

Interface utilisateur Web
http://[IP]:[PORT:5000]
Réseau
bridge
Coquille
sh
Privilégié
false

Configuration du modèle

Web UI PortPorttcp

Web interface port

Cible
5000
Défaut
5000
Valeur
5000
Folder for Data Protection KeysPathrw

Folder for storing data protection keys

Cible
/app/DataProtection-Keys
Défaut
/mnt/user/appdata/mailarchiver/data-protection-keys
Valeur
/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.

Cible
ConnectionStrings__DefaultConnection
Défaut
Host=postgres-ip-address;Port=5432;Database=MailArchiver;Username=mailuser;Password=masterkey;
Valeur
Host=postgres;Port=5432;Database=MailArchiver;Username=mailuser;Password=masterkey;
Admin UsernameVariable

The username for the admin account.

Cible
Authentication__Username
Défaut
admin
Valeur
admin
Admin PasswordVariable

The password for the admin account.

Cible
Authentication__Password
Défaut
secure123!
Valeur
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

Cible
TimeZone__DisplayTimeZoneId
Défaut
Etc/UTC
Valeur
Etc/UTC
OAuth EnabledVariable

Set to true to enable OIDC authentication.

Cible
OAuth__Enabled
Défaut
false
Valeur
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.

Cible
OAuth__Authority
Défaut
https://auth.example.com/
Valeur
https://auth.example.com/
OAuth Client IdVariable

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

Cible
OAuth__ClientId
Défaut
mail-archiver
Valeur
mail-archiver
OAuth Client SecretVariable

Client secret for the OIDC client.

Cible
OAuth__ClientSecret
OAuth Disable Password LoginVariable

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

Cible
OAuth__DisablePasswordLogin
Défaut
false
Valeur
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.

Cible
OAuth__AutoApproveUsers
Défaut
false
Valeur
false
OAuth Client Scopes 0Variable

Scope #1 as requested from the identity provider.

Cible
OAuth__ClientScopes__0
Défaut
openid
Valeur
openid
OAuth Client Scopes 1Variable

Scope #2 as requested from the identity provider.

Cible
OAuth__ClientScopes__1
Défaut
profile
Valeur
profile
OAuth Client Scopes 2Variable

Scope #3 as requested from the identity provider.

Cible
OAuth__ClientScopes__2
Défaut
email
Valeur
email
Session Timeout (Minutes)Variable

The session timeout in minutes.

Cible
Authentication__SessionTimeoutMinutes
Défaut
60
Valeur
60
Cookie NameVariable

The name of the authentication cookie.

Cible
Authentication__CookieName
Défaut
MailArchiverAuth
Valeur
MailArchiverAuth
Mail Sync Interval (Minutes)Variable

The interval in minutes between email synchronization.

Cible
MailSync__IntervalMinutes
Défaut
15
Valeur
15
Mail Sync Timeout (Minutes)Variable

The timeout for the sync operation in minutes.

Cible
MailSync__TimeoutMinutes
Défaut
60
Valeur
60
Connection Timeout (Seconds)Variable

The connection timeout for IMAP connections in seconds.

Cible
MailSync__ConnectionTimeoutSeconds
Défaut
180
Valeur
180
Command Timeout (Seconds)Variable

The command timeout for IMAP commands in seconds.

Cible
MailSync__CommandTimeoutSeconds
Défaut
300
Valeur
300
Always Force Full SyncVariable

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

Cible
MailSync__AlwaysForceFullSync
Défaut
false
Valeur
false
Ignore Self-Signed CertificatesVariable

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

Cible
MailSync__IgnoreSelfSignedCert
Défaut
false
Valeur
false
Batch Restore Async ThresholdVariable

The number of emails that triggers async processing.

Cible
BatchRestore__AsyncThreshold
Défaut
50
Valeur
50
Max Sync EmailsVariable

The maximum number of emails for sync processing.

Cible
BatchRestore__MaxSyncEmails
Défaut
150
Valeur
150
Max Async EmailsVariable

The maximum number of emails for async processing.

Cible
BatchRestore__MaxAsyncEmails
Défaut
50000
Valeur
50000
Batch Restore Session Timeout (Minutes)Variable

The session timeout for batch restore in minutes.

Cible
BatchRestore__SessionTimeoutMinutes
Défaut
30
Valeur
30
Default Batch SizeVariable

The default batch size for email operations.

Cible
BatchRestore__DefaultBatchSize
Défaut
50
Valeur
50
Batch Operation SizeVariable

The batch size for email operations.

Cible
BatchOperation__BatchSize
Défaut
50
Valeur
50
Pause Between Emails (ms)Variable

The pause between individual emails in milliseconds.

Cible
BatchOperation__PauseBetweenEmailsMs
Défaut
50
Valeur
50
Pause Between Batches (ms)Variable

The pause between batches in milliseconds.

Cible
BatchOperation__PauseBetweenBatchesMs
Défaut
250
Valeur
250
Max Selectable EmailsVariable

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

Cible
Selection__MaxSelectableEmails
Défaut
250
Valeur
250
Database Command TimeoutVariable

The timeout for database commands in seconds.

Cible
Npgsql__CommandTimeout
Défaut
900
Valeur
900
Max Upload File Size (GB)Variable

The maximum file size for uploads in GB.

Cible
Upload__MaxFileSizeGB
Défaut
10
Valeur
10
Upload Keep Alive Timeout (Hours)Variable

The keep alive timeout for uploads in hours.

Cible
Upload__KeepAliveTimeoutHours
Défaut
4
Valeur
4
Upload Request Headers Timeout (Hours)Variable

The timeout for request headers in hours.

Cible
Upload__RequestHeadersTimeoutHours
Défaut
2
Valeur
2

Catégories

Télécharger les statistiques

451,662
Total des téléchargements
96,516
Ce mois-ci
72,399
Moyenne / Mois

Total des téléchargements au fil du temps

Chargement du graphique...

Détails

Référentiel
s1t5/mailarchiver
Dernière mise à jour2026-04-14
Première vue2025-10-16

Exécutez mail-archiver sur Unraid.

mail-archiver est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.