MAIL environment variable set wrong
Siggy Brentrup
ubuntu at psycho.i21k.de
Thu Jul 30 23:23:55 UTC 2009
On Thu, Jul 30, 2009 at 09:39 +0100, David Banks wrote:
[snip blurb on how MAIL gets set]
> MAIL: If this parameter is set and mailpath is not set, the shell
> looks for mail in the specified file.
>
> There's no way to disable this check except by unsetting MAIL, so (since
> /var/mail is forbidden to my user), every five minutes I get a message
> "/var/mail/david: permission denied". There are quite a few workarounds
> for this: unset MAIL in my zshrc, profile, /etc/profile; change the
> permissions on /var/mail. But none of these do exactly what I want,
> which is to avoid setting MAIL in the first place. Ideally the 'noenv'
> option should do this perfectly, but it doesn't seem to work.
>
> Any idea where I'm going wrong?
why not add
unset MAIL
to your ~/.zshrc ?
--
Please don't Cc: me when replying, I might not see either copy.
bsb-at-psycho-dot-informationsanarchistik-dot-de
or: bsb-at-psycho-dot-i21k-dot-de
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090731/3b72dce9/attachment.sig>
More information about the ubuntu-users
mailing list