This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
fuss:dovecot [2018/07/29 20:10] – [Enable NOTIFY] office | fuss:dovecot [2020/03/28 19:43] – [Enable METADATA Capability] office | ||
---|---|---|---|
Line 142: | Line 142: | ||
</ | </ | ||
+ | ====== Create Public Broadcast Mailbox for All Users ====== | ||
+ | Sometimes it is useful to have a public mailbox that is accessible by all users where messages can be placed that are of public interest. For instance, company news, mail orders, server settings, or various notifications could be stored inside the mail server itself and conveniently accessed by all users. | ||
+ | |||
+ | The following example creates a public mailbox in '' | ||
+ | |||
+ | In effect, this " | ||
+ | |||
+ | Edit '' | ||
+ | < | ||
+ | # Public mailbox | ||
+ | namespace { | ||
+ | type = public | ||
+ | prefix = Support/ | ||
+ | location = mbox:/ | ||
+ | subscriptions = yes | ||
+ | list = children | ||
+ | |||
+ | mailbox " | ||
+ | auto = subscribe | ||
+ | } | ||
+ | |||
+ | mailbox "Mail Orders" | ||
+ | auto = subscribe | ||
+ | } | ||
+ | } | ||
+ | |||
+ | </ | ||
+ | where: | ||
+ | * '' | ||
+ | * all '' | ||
+ | |||
+ | Following the example above, for the mailboxes '' | ||
+ | <code bash> | ||
+ | touch / | ||
+ | </ | ||
+ | |||
+ | |||
+ | The standard mbox format is a concatenation of raw E-Mail data separated by a single line: | ||
+ | < | ||
+ | From address@host Sat Jan 01 12:00:00 2000 | ||
+ | </ | ||
+ | that describes when the mail was stored. All other standard E-Mail header fields (ie: '' | ||
+ | |||
+ | For example, the ''/ | ||
+ | < | ||
+ | From support@localhost Sat Jan 01 12:00:00 2000 | ||
+ | From: " | ||
+ | Subject: New Backup Server | ||
+ | To: support@server.tld | ||
+ | |||
+ | We have a new backup server! | ||
+ | |||
+ | Cheers, | ||
+ | admin | ||
+ | |||
+ | From support@localhost Sat Jan 01 12:00:00 2000 | ||
+ | From: " | ||
+ | Subject: The Server is Down! | ||
+ | To: support@server.tld | ||
+ | |||
+ | The backup server does not work anymore, please do not use it. | ||
+ | |||
+ | Cheers, | ||
+ | admin | ||
+ | </ | ||
+ | |||
+ | and will appear as two separate mails under the '' | ||
+ | |||
+ | The ''/ |