[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mailx & maildir & You have new mail in /home/<account>/Maildir



Stevan Kanban wrote:
Hi,

in /etc/login.defs
#QMAIL_DIR      Maildir/
MAIL_DIR        Maildir/
#MAIL_FILE      .mail

It should be the same mehanism for annoucement that mail arrived both in login and in <enter> typing action, isn't it?

Thanks.

AFAIK, you should be using QMAIL_DIR for that, MAIL_DIR is something like /var/mail for where the spool is for your user.

Also, for the "you have new mail" alerts, in /etc/pam.d/login (or pam.d/ssh, etc) make sure you have

session    optional   pam_mail.so standard noenv dir=~/Maildir

in there (again, AFAIK, this seems to work for login via tty's but not ssh)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: