[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



Hi Felix,
>>>>> "Felix" == Felix Erkinger <erkinger@gmx.net> writes:

    Felix> I'm currently wondering, why my system is constantly
    Felix> ignoring any attempt in /etc/login.defs to change the mail
    Felix> Variable to Maildir style.

I suppose you use qmail and qmail-lspawn to local delivery.

You have more ways:

1) check out your /etc/init.d/qmail
        You can set default delivery method here as a parameter for
        qmail-lspawn

or
2) echo "./Maildir/" > /var/qmail/alias/.qmail-default

or      
3) echo "./Maildir/" > /home/you/.qmail


NOTE: for reading Maildir I use mutt. But it needs both variables to be set:

        MAIL=~/.Maildir
        MAILDIR=~/.Maildir

        :-)
-- 
      Jan Stavel 



Reply to: