File: MMDF

package info (click to toggle)
deliver 2.1.14-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 488 kB
  • ctags: 914
  • sloc: ansic: 6,050; yacc: 405; makefile: 131; sh: 34
file content (44 lines) | stat: -rw-r--r-- 1,598 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
$Id: MMDF,v 1.6 1999/12/02 01:19:31 chip Exp $


		       USING DELIVER WITH MMDF


MMDF can be configured to use Deliver in two distinct ways.  The MMDF
administrator can set up an alias for each user.  Or, each user can
create a maildelivery file for herself.


To use the administrator alias approach, log in as `mmdf' and edit the
file `table/alias.user'.  For each user, add a line like

	user	"user|/usr/bin/deliver user"

where `user' is the name of the user to whom mail will be delivered.
Next, while still logged in as `mmdf', run `table/dbmbuild'.  Please
note that Deliver will execute in the user's context.  See the MMDF
administrators guide for more details.


The second possibility is for each user to decide for herself whether
to use Deliver.  Any user may create an MMDF maildelivery file in her
home directory.  This file is named $HOME/.maildelivery.

Each line of a user's maildelivery file describes how to handle some
or all messages addressed to that user.  To use Deliver for personal
mail delivery, a user's maildeliveryfile must include a line like:

	* - | A     /usr/bin/deliver user

The fields are white-space separated.  They tell MMDF to pass all
messages (*) without exception (-) via pipe (|) to the given program,
and to accept delivery (A).  Here again, Deliver will execute in the
user's context.


Note that in both cases, the MMDF modifies the From_ header line to
reflect the name of the user who effected delivery.

		
[ Jan-Piet Mens <jpm@Logix.DE> originally wrote this document,
  but it has been heavily edited by Chip Salzenberg <chip@pobox.com>. ]