How to get rid of mail message?
Robert Heller
heller at deepsoft.com
Fri Feb 25 21:24:08 UTC 2022
At Fri, 25 Feb 2022 22:12:26 +0100 bo.berglund at gmail.com, "Ubuntu user technical support,? not for general discussions" <ubuntu-users at lists.ubuntu.com> wrote:
>
> On Fri, 25 Feb 2022 20:32:17 +0100, Liam Proven <lproven at gmail.com> wrote:
>
> >> I have started to see a pop-up message in my terminal with the following text:
> >>
> >> You have new mail in /var/mail/<username>
> >>
> >> If I look at this (it is actually not an email, it is just a text file)
> >
> >That is the wrong way to look at it.
> >
> >The right way is: type `mail` and use the built-in mail program.
> >
> >`man mail` will give you some help but it's very easy... hit Enter a
> >few times, read it, and then Ctrl+D to exit should be enough.
> >
>
> OK, that is the correct way to *read* the mail.
>
> But I do not want to read it, in fact I don't want the message about having mail
> to pop up in my terminal at all...
>
Then you probably want to get rid of the cron job. Or divert the message.
man crontab
man procmailrc
>
--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
heller at deepsoft.com -- Webhosting Services
More information about the ubuntu-users
mailing list