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

Re: How to systemwide change MAIL=/var/mail/username to /home/username/Maildir



* Felix Erkinger (erkinger@gmx.net) [030225 14:35]:
> I'm currently wondering, why my system is constantly ignoring any attempt
> in /etc/login.defs to change the mail Variable to Maildir style.
> 
> I tried QMAIL, MAILFILE, MAILDIR, but no effect (stays /var/mail/xy) so far.
> the /etc/pam.d/login looks like it does not change it.
> I've tried it via ssh login, no effect
> (the bruteforce attempt grep -r \/var\/mail * in /etc is not comming to an end)

Go look in /etc/pam.d

Look for this line:

session    optional     pam_mail.so standard noenv

Change it to this:

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

Repeat for all applicable files under /etc/pam.d (i.e. ssh, login)

This is untested, but I think it will do what you want.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
						--Nick Moffitt
A: No.
Q: Should I include quotations after my reply?

Attachment: signature.asc
Description: Digital signature


Reply to: