1 |
Neil Bothwick <neil@××××××××××.uk> writes: |
2 |
|
3 |
> On Tue, 27 Dec 2016 20:21:19 +0100, lee wrote: |
4 |
> |
5 |
>> > Even more reasonable: |
6 |
>> > |
7 |
>> > eselect news read new |
8 |
>> > |
9 |
>> > will only come up with the latest as yet unread news, rather than a |
10 |
>> > long list which could have accumulated over the years. |
11 |
>> |
12 |
>> It seems to be clearing out the list automatically. |
13 |
>> |
14 |
>> [1] says the mailer module of eselect was removed. Is there a better |
15 |
>> way to read them than with eselect? |
16 |
> |
17 |
> Put this script in /etc/portage/postsync.d and make it executable |
18 |
> |
19 |
> #!/bin/sh |
20 |
> |
21 |
> if [ $( eselect news count new ) != "0" ]; then |
22 |
> eselect news list | mail you@××××××××××××.are |
23 |
> fi |
24 |
|
25 |
Thanks! To actually read the news as email, I wrote this: |