local Delivery Agent | 363
Although pw is the only mailbox database type allowed as of V8.12, you can add other
mailbox types. For example, if you were to add an LDAP type,* you could then do the
following:
FEATURE(`local_lmtp??)
define(`LOCAL_MAILER_ARGS??, `mail.local -l -D ldap??)
See ?§24.9.62 on page 1042 for a description of mailbox databases and the MailboxDatabase
option.
10.3.3.5 -f
Specify the envelope sender mail.local command-line switch
The five-character From that begins a line is used to separate one message from another in
a user??™s mailbox (?§24.9.124.2 on page 1114). This is a convention used by some but not all
MUAs. The From line is generated by mail.local when it delivers the message. Its form
looks like this:
From user@host.domain Fri Dec 13 09:10:40 2002
The user is ordinarily determined by getting the login name of the user who ran mail.local
withth e getlogin(3) routine. If that lookup fails, mail.local gets the name of the user from
the passwd(5) file that is associated with the uid of the user that ran mail.local. If that fails,
it sets the username to ??????.???
This -f command-line switchallows you to override the envelope sender??™s user identity.
For example:
define(`LOCAL_MAILER_ARGS??, `mail.local -f sysmail@our.domain DOL(u)??)
Here, we first omit declaration of the FEATURE(local_lmtp), to prevent local LMTP delivery.
Pages:
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657