* sendmail - deliver to home directory
@ 1997-01-06 5:00 Craig Paul
1997-01-06 5:00 ` Charles M Richmond
1997-01-06 5:00 ` Steve VanDevender
0 siblings, 2 replies; 3+ messages in thread
From: Craig Paul @ 1997-01-06 5:00 UTC (permalink / raw)
How does one configure sendmail to deliver a user's e-mail to their
home directory (rather than /var/spool/mail/<username>)?
Thank you!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sendmail - deliver to home directory
1997-01-06 5:00 sendmail - deliver to home directory Craig Paul
1997-01-06 5:00 ` Charles M Richmond
@ 1997-01-06 5:00 ` Steve VanDevender
1 sibling, 0 replies; 3+ messages in thread
From: Steve VanDevender @ 1997-01-06 5:00 UTC (permalink / raw)
paul@kuhub.cc.ukans.edu (Craig Paul) writes:
>
> How does one configure sendmail to deliver a user's e-mail to their
> home directory (rather than /var/spool/mail/<username>)?
>
> Thank you!
You don't configure sendmail to do this; you configure the local
delivery agent that sendmail uses. Probably the easiest way to do this
is to install procmail as your local delivery agent in sendmail, then
configure procmail to deliver to user home directories.
--
Steve VanDevender
stevev@hexadecimal.uoregon.edu http://jcomm.uoregon.edu/~stevev
"bash awk grep perl sed df du, du-du du-du,
vi troff su fsck rm * halt LART LART LART!" -- the Swedish BOFH
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: sendmail - deliver to home directory
1997-01-06 5:00 sendmail - deliver to home directory Craig Paul
@ 1997-01-06 5:00 ` Charles M Richmond
1997-01-06 5:00 ` Steve VanDevender
1 sibling, 0 replies; 3+ messages in thread
From: Charles M Richmond @ 1997-01-06 5:00 UTC (permalink / raw)
To: Craig Paul
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 *
***********************************************************************
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-01-06 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-06 5:00 sendmail - deliver to home directory Craig Paul
1997-01-06 5:00 ` Charles M Richmond
1997-01-06 5:00 ` Steve VanDevender
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox