On Oct 04 11:58:10, Okan Demirmen wrote:
> On Wed 2006.10.04 at 17:40 +0200, Jan Stary wrote:
> > On Oct 02 22:06:34, Gustavo Rios wrote:
> > > I am using mutt with openbsd. I am getting annoyed by a message error
> > > i got just after i start it on command line:
> > > /var/mail/grios: No such file or directory (errno = 2)
> > 
> > Note that when a new user is created via adduser(8),
> > his mailbox (/var/mail/$USER) is _not_ created.
> > 
> > > The strangest thing about it, it is that it only happens with my
> > > openbsd installed version even having the following in ~/.muttrc
> > > set mbox_type=Maildir
> > > set folder="~/.mail/"
> > 
> > Mutt tries to open $MAIL (which is obviously /var/mail/grios), not
> > "folder". The reason "it only happens with openbsd installed version"
> > is probably that obsd didn't create /var/mail/$USER (which most other
> > system do, imho). The mailbox _type_ has nothing to do with that.
> 
> not most...just because one linux distro (that i know of) does, doesn't
> mean "most" in my book.

Oh dear ... let's flame about what "most systems" means
(and whether linux is unix, while we are at it). Take
e.g. FreeBSD (or any linux, yes).

> > PS: man adduser says that
> > 
> >     adduser performs the following operations for each new user:
> >     3. Mails the new user a welcome message at the discretion of
> >     the account creator. 
> > 
> > On my 3.9 it doesn't, /var/log/maillog doesn't mention it tried to,
> > and /var/mail/test doesn't exist. Am I missing something?
> 
> you missed the following from adduser(8):
> 
> -message file
>       Send new users a welcome message from file.  Specifying a value
>       of ``no'' for file causes no message to be sent to new users.

Hm, my /etc/adduser.message exists and is nonempty
... but I had it disabled in /etc/adduser.conf. Sorry.

        Jan

Reply via email to