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

Setting info on received mail after changing home_mailbox in Postfix



Hello list!

I have changed the home_mailbox format from default mbox to Maildir, according to the instructions at https://wiki.debian.org/Postfix#Maildir

After the change, when I login through ssh to the box I always get "No mail." The same with command:
user@box:~$ mail
No mail for user

Although mail comes regularly to ~/Maildir/new

I have set the line
session optional pam_mail.so dir=~Maildir/ standard
in
/etc/pam.d/login
according to the instructions
http://linux-pam.org/Linux-PAM-html/sag-pam_mail.html/etc/pam.d/login

Please advise what I am doing wrong.

Info on system and postfix follows.

$dmesg | less
[    0.000000] Linux version 3.4.112-bananian (root@bananian-build) (gcc version 4.9.2 (Debian 4.9.2-10) ) #6 SMP PREEMPT Fri May 13 18:21:01 UTC 2016
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun7i
...
root@bananapi /home/user # apt list --installed | grep 'postfix'

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

postfix/stable,now 2.11.3-1 armhf [installed]

Regards


Reply to: