Xref: utzoo comp.mail.misc:3063 comp.mail.sendmail:1439 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!pasteur!mammoth.Berkeley.EDU!eric From: eric@mammoth.Berkeley.EDU (Eric Allman) Newsgroups: comp.mail.misc,comp.mail.sendmail Subject: Re: How can I change the default system mailbox (/usr/mail/logname or /usr/spool/mail/logname) ? Keywords: mailbox Message-ID: <22953@pasteur.Berkeley.EDU> Date: 12 Mar 90 18:53:07 GMT References: <1168@telsys.aut.UUCP> Sender: news@pasteur.Berkeley.EDU Organization: U.C. Berkeley Lines: 17 In article <1168@telsys.aut.UUCP>, huber@aut.UUCP (Daniel Huber) writes: > In SysV-Systems the default system-mailbox is /usr/mail/logname. > In BSD-Systems the default system-mailbox is /usr/spool/mail/logname. > > I want to change these defaults to $HOME/mailbox. > How can I do that? You can write your own delivery mechanism, and change the definition of the "local" mailer in sendmail.cf to use this instead of /bin/mail. Don't forget to do locking on the mailbox. You will then have to change all your mail readers to use this file as well -- you're on your own for that. Remember, however, to do the locking in each of them as well. eric