I have added the following to /etc/bashrc:
export MAIL="$HOME/Mailbox"

Then i sent mail to the user.
Waiting at least sixty seconds, the default time for new mail to be
recognized by bash, I logged the user in and got "No mail."
However, when I ran pine, there was one message waiting for the user in
their mailbox (/home/testguy/Mailbox). Also, I typed $MAIL at the prompt
just to see if it actually set the variable. It did, and outputted
bash: /home/testguy/Mailbox: Permission denied
It tried to execute it i guess. So I've set the right variables, yet there
is still no mail notification. When the mail is delivered, its logged as the
following:
Feb 17 13:32:09 damacles qmail: 950812329.586803 info msg 40216: bytes 860
from <[EMAIL PROTECTED]> qp 5997 uid 505
Feb 17 13:32:09 damacles qmail: 950812329.591122 starting delivery 11: msg
40216 to local [EMAIL PROTECTED]
Feb 17 13:32:09 damacles qmail: 950812329.591253 status: local 1/10 remote
0/20
Feb 17 13:32:09 damacles qmail: 950812329.620449 delivery 11: success:
did_0+0+1/
Feb 17 13:32:09 damacles qmail: 950812329.620717 status: local 0/10 remote
0/20
Feb 17 13:32:09 damacles qmail: 950812329.620818 end msg 40216

Anyone know why there is still no mail notification? There's no symbolic
link to /var/spool/mail/testguy, because I'm trying to avoid doing that for
each user. (Hence setting the MAIL variable in bash).

Thanks for the help,

Eric

Reply via email to