Chap 7: Local Delivery and POP/IMAP Flashcards

1
Q

What are the 2 types of message formats managed by postfix ?

A

Mailbox (mbox) and Maildir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the difference between Mailbox and Maildir ?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is the purpose of the parameter local_recipient_maps ?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of a .forward file ?

A

.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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Where are the .forward files located ?

A

.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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which parameter allows to change the default location of the mail spool directory ?

A

mail_spool_directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to choose the maildir format for mail boxes ?

A

Specify a name ending in / for maildir-style delivery in the parameter mail_spool_delivery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How to deliver mail into home directories ?

A

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/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What means LMTP ?

A

Local Mail Transfert Protocol

LMTP is based on, and is a simplified
version of, SMTP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly