F20 System Wide Change: No Default Sendmail

Till Maas opensource at till.name
Mon Jul 15 21:45:28 UTC 2013


On Mon, Jul 15, 2013 at 03:15:54PM -0600, Eric Smith wrote:
> On Mon, Jul 15, 2013 at 3:12 PM, Till Maas <opensource at till.name> wrote:
> > Bash usually tells you when there is mail in the spool, which is IMHO a
> > big difference to /dev/null.
> 
> Funny, I just ssh'd into my machine, and it didn't tell me anything
> about mail being in the spool, but when I do an ls on the spool
> directory, there it is.
> 
> Maybe it has something to do with that users don't often log in as root.

Oh, sorry, I was imprecise. Bash actually tells you when new mail is put
into the spool. E.g. if you log in as root, touch /var/spool/root and
wait up to 60 seconds and run e.g. ls, bash should tell you that there
is new mail before the next prompt.

Regards
Till


More information about the devel mailing list