<div>thanks for your suggestions,</div>I am not using POP or IMAP, I am reading my emails locally using Alpine email client. <div>In my home directory, there is a "mail" folder where Alpine stores my "sent-messages". But my incoming emails are kept in /var/mail/$username. Is there any reason why this should be different ? I am using postfix as a mail server.</div>
<div><br></div><div>Konrad</div><div><br><div class="gmail_quote">On Sat, Feb 18, 2012 at 1:49 PM, John Edwards <span dir="ltr"><<a href="mailto:john@cornerstonelinux.co.uk" target="_blank">john@cornerstonelinux.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Sat, Feb 18, 2012 at 11:40:12AM +0000, Tethys wrote:<br>
><br>
> John Edwards writes:<br>
><br>
>> To be honest you would probably be better served by setting up an<br>
>> forward or alias to get those emails off the server into a more<br>
>> "modern" email system which is more familar to you and which you<br>
>> can access with an email client using IMAP or POP3.<br>
><br>
> Why are you assuming that the presence of $MAIL implies an obsolete<br>
> mail reading system? And why are you assuming that IMAP or POP3 are<br>
> desireable? While those things may be true, they're certainly not<br>
> necessarily so. I have no need for IMAP or POP3, for example.<br>
<br>
</div>Not obsolete, but not common. Most of my email is still in mbox files,<br>
sorted and delivered by procmail, and read by mutt. Dovecot has been<br>
layered on top to provide IMAP access.<br>
<br>
But I am aware that is is not what new users are used to, and rather<br>
than talk someone through the setup of a new mail system I think it<br>
might be easier for them to pass the email on to an existing mail<br>
system that is already working.<br>
<div><br>
<br>
> To answer the original question, it all depends on what you're<br>
> using to read mail, and where it stores its information about which<br>
> messages are unread.<br>
<br>
</div>On most distributions the "You have mail" message at login is probably<br>
handled by pam_mail.<br>
<br>
Having read the man page there is a "quiet" option that claims to<br>
"Only report when there is new mail". But editing a system's PAM<br>
configuration can be rather dangerous and leave the system unusable,<br>
especially if we don't know what distribution is being used.<br>
<br>
But for those who want to try it, this may work on Debian/Ubuntu:<br>
sed -i.bak 's/pam_mail.so standard/pam_mail.so quiet/g' /etc/pam.d/login<br>
<br>
The original unchanged file is saved as /etc/pam.d/login.bak .<br>
<div><div><br>
<br>
--<br>
#---------------------------------------------------------#<br>
| John Edwards Email: <a href="mailto:john@cornerstonelinux.co.uk" target="_blank">john@cornerstonelinux.co.uk</a> |<br>
#---------------------------------------------------------#<br>
</div></div><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.14 (GNU/Linux)<br>
<br>
iEYEARECAAYFAk8/nmgACgkQx2vje4FiJvR2UQCeNgsyRqBcYdz6p9hT53Vglizh<br>
2cEAn0Z7PP4MUg0zf6jA7WIvC9CvCneP<br>
=ijlN<br>
-----END PGP SIGNATURE-----<br>
<br>--<br>
Gllug mailing list - <a href="mailto:Gllug@gllug.org.uk" target="_blank">Gllug@gllug.org.uk</a><br>
<a href="http://lists.gllug.org.uk/mailman/listinfo/gllug" target="_blank">http://lists.gllug.org.uk/mailman/listinfo/gllug</a><br>
<br></blockquote></div><br></div>