From: Charles M Richmond <cmr@iisc.com>
To: Craig Paul <paul@kuhub.cc.ukans.edu>
Subject: Re: sendmail - deliver to home directory
Date: 1997/01/06 [thread overview]
Message-ID: <32D1AC71.59E2@iisc.com> (raw)
In-Reply-To: 1997Jan6.110004@kuhub.cc.ukans.edu
Craig Paul wrote:
>
> How does one configure sendmail to deliver a user's e-mail to their
> home directory (rather than /var/spool/mail/<username>)?
>
> Thank you!
1.Create a .forward file that contains "| /usr/lib/mh/slocal -user XXX"
2. Create a directory with the various inboxes.
3. Create a .decxmailcheck file that contains the following pattern:
inbox $HOME/mailbox_dir/inbox
folder-name1 $HOME/mailbox_dir/folder-name1
folder-name2 $HOME/mailbox_dir/folder-name2
folder-name3 $HOME/mailbox_dir/folder-name3
4. Create a .maildelivery file with the following pattern:
from PATTERN > ? $HOME/mailbox_dir/folder
from PATTERN ^ ? "/usr/lib/mh/rcvstore +folder"
* - > ? $HOME/mailbox_dir/inbox
default - > ? /usr/spool/mail/XXX
The first line will put an incoming email in one of your inboxes
and if you have a corresponding line in your .decxmailcheck file
then that folder will be highlighted in dxmail to show new mail.
The second will put an incoming email directly into the mail
folder but won't notify you.
The third line will put all unmatched patterns into your new
inbox and the 4th line is a safety line in case your $home/maildir
gets trashed.
I really recomend the the MH & XMH book from O'Reilly.
Charlie
PS I hope that this helps. Honestly, I did not really have the time to
write it!!!!
--
***********************************************************************
* Charles Richmond Integrated International Systems Corporation *
* cmr@iisc.com cmr@koibito.iisc.com cmr@shore.net *
* UNIX Internals, I18N, L10N, X, Realtime Imaging, and Custom S/W *
* One Longfellow Place Suite 3309 , Boston , Ma. USA 02114-2431 *
* (617) 723 7695 (617) 367 3151 FAX (617) 723 6861 *
***********************************************************************
next prev parent reply other threads:[~1997-01-06 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-01-06 5:00 sendmail - deliver to home directory Craig Paul
1997-01-06 5:00 ` Charles M Richmond [this message]
1997-01-06 5:00 ` Steve VanDevender
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox