We then force the envelope sender name, as it appears in the From line of delivered mail, to
appear as though it is from the user sysmail, by using this -f command-line switch.
Note that the envelope sender is the address to which failed mail is bounced. It is not the
address used for replies.
Also note that when mail.local receives email with LMTP it gathers the actual envelope
sender address from the MAIL From: command and places that address in the From line.
When that happens, this -f command-line switch is ignored.
10.3.3.6 -h
Store mail in user??™s home directory mail.local command-line switch
Normally, mail.local delivers mail to a file owned by the recipient user in a central directory.
That directory is usually /var/mail or /var/spool/mail.
Beginning withV8.12 sendmail, you can tell mail.local to instead deliver mail to a file in
each user??™s home directory. Simply use the -h command-line switchto specify a filename
that will be common across all users??™ homes. For example:
-h mbox
* You could do this by editing libsm/mbdb.c and rebuilding the sendmail suite of software.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
364 | Chapter 10: Build and Use Companion Programs
Some pop3 servers move a user??™s central mail to that user??™s home mbox file before transferring
it via pop to the user.
Pages:
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658