Chap 7: Local Delivery and POP/IMAP Flashcards
What are the 2 types of message formats managed by postfix ?
Mailbox (mbox) and Maildir
What is the difference between Mailbox and Maildir ?
Mailbox adds all emails of a single recipient in a single file. It is fast, however it requires to manages locks to sync with other processes accessing that file.
Maildir add all emails in separate files in a directory structure including the directories new, cur an temp.
what is the purpose of the parameter local_recipient_maps ?
Lookup tables with all names or addresses of local recipients. A recipient address is local when its domain matches $mydestination, $inet_interfaces or $proxy_interfaces. Specify @domain as a wild-card for domains that do not have a valid recipient list.
Technically, tables listed with $local_recipient_maps are used as lists: Postfix needs to know only if a lookup string is found or not, but it does not use the result from table lookup.
What is the purpose of a .forward file ?
.forward files allow local users to set up their own aliases. The contents of the .forward file are the same as the righthand side of an alias entry.
Where are the .forward files located ?
.forward files must be owned by the recipient, and are normally found in users’ home directories. You can specify different locations with the forward_path parameter.
ex:
forward_path = /home/$user/.forward /home/$user/other_forward
Which parameter allows to change the default location of the mail spool directory ?
mail_spool_directory
How to choose the maildir format for mail boxes ?
Specify a name ending in / for maildir-style delivery in the parameter mail_spool_delivery
How to deliver mail into home directories ?
Assign a relative path to the home_mailbox parameter to indicate which file should be used for
mailboxes:
home_mailbox = mbox
Append the path with a trailing slash to indicate that Postfix should use the maildir-style
delivery:
home_mailbox = maildir/
What means LMTP ?
Local Mail Transfert Protocol
LMTP is based on, and is a simplified
version of, SMTP