Talk:Exim

From ArchWiki
Latest comment: 28 August 2023 by Kulak in topic Maildir format

Maildir format

The following statement is misleading:

Quoting exim#Basic configuration at 07:49, 28 May 2022:

a very basic configuration, which provides: local delivers to system users (Maildir format) and authorized relaying to MX hosts.

The actual configuration is probably mbox file format. At least that's what default configuration has after exim installation.

To get Maildir file format the following lines need to be added to local_delivery transport with appendfile driver:

local_delivery:
  driver = appendfile

  directory = /var/mail/$local_part_data
  maildir_format
  maildir_use_size_file

Make sure line with "file = /var/mail/$local_part_data" is not set.

—This unsigned comment is by Kulak (talk) 07:49, 28 May 2022. Please sign your posts with ~~~~!

Default configuration is indeed for mbox file format. The article does suggests using the local_delivery part as is. Not the local_delivery code demonstrated by Kulak.
grep -A2 "mailboxes in traditional" /etc/mail/exim.conf
# This transport is used for local delivery to user mailboxes in traditional
# BSD mailbox format. By default it will be run under the uid and gid of the
For the unconvinced, compare Mbox and Maildir. Regid (talk) 00:04, 19 August 2023 (UTC)Reply[reply]

I am ok to close this discussion. Kulak (talk) 19:17, 28 August 2023 (UTC)Reply[reply]