Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh cannot get mail notification to work



Hello,

I cannot get mail notification to work.

My mail options are:

$ env | grep --color --ignore-case mail
MAIL=/home/j/var/maildir
MAILCHECK=1

But, I get the "has new mail" message when I login from a console. I
think that is due to how /bin/login has been configured (with
pam_email.so).

Even "zsh -l" does not show the new mail message. I tried with
mailpath too and it did not help either. zsh is compiled with
--enable-maildir-support.

Any suggestions on how to go about debugging it, please?

Thanks
Joe

$ setopt
alwaystoend
autocd
autonamedirs
autopushd
nobadpattern
nobgnice
braceccl
nocaseglob
cbases
cdablevars
noclobber
completeinword
correct
cprecedences
dvorak
noequals
extendedglob
extendedhistory
noflowcontrol
noglobalrcs
globdots
histallowclobber
histexpiredupsfirst
histfindnodups
histignorealldups
histignoredups
histignorespace
histreduceblanks
histsavenodups
incappendhistory
interactive
interactivecomments
listpacked
listrowsfirst
localoptions
longlistjobs
monitor
nonomatch
nullglob
numericglobsort
octalzeroes
pathdirs
nopromptcr
nopromptsp
promptsubst
pushdignoredups
pushdsilent
pushdtohome
rcexpandparam
rematchpcre
shinstdin
sunkeyboardhack
transientrprompt
vi
zle

zsh configuration options:

>>> Configuring source in /var/tmp/portage/app-shells/zsh-5.0.2-r3/work/zsh-5.0.2 ...
 * econf: updating zsh-5.0.2/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating zsh-5.0.2/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstat
edir=/var/lib --bindir=/bin --libdir=/usr/lib64
--enable-etcdir=/etc/zsh --enable-fndir=/usr/share/zsh/5.0.2/functions
--enable-site-fndir=/usr/share/zsh/site-functions --enable-fun
ction-subdirs --with-term-lib=ncursesw ncurses --with-tcsetpgrp
--enable-maildir-support --enable-pcre --disable-cap
--enable-multibyte --enable-gdbm
configuring for zsh 5.0.2



Messages sorted by: Reverse Date, Date, Thread, Author