Apticron 应该只发送包含安全/关键更新的邮件
Apticron should only send mails with security/ critical updates
我已经使用 apticron 一段时间了,它很好用,但我每天都会收到包含新更新的电子邮件,但我只对安全/关键更新感兴趣。有谁知道我只有在有安全更新可用时才会收到电子邮件的可能性。我查看了 /etc/apticron/apticron.conf,但没有安全选项。
感谢您的帮助。
这是一个更新。
在apticron.conf是不是真的要配置安全信息点。
但我使用以下选项:
13 # Set DIFF_ONLY to "1" to only output the difference of the current run
14 # compared to the last run (ie. only new upgrades since the last run). If there
15 # are no differences, no output/email will be generated. By default, apticron
16 # will output everything that needs to be upgraded.
17 #
18 # DIFF_ONLY="1"
19 #
20 DIFF_ONLY="1"
和
73 # Set NOTIFY_HOLDS="0" if you don't want to be notified about new versions of
74 # packages on hold in your system. The default behavior is downloading and
75 # listing them as any other package.
76 #
77 # NOTIFY_HOLDS="0"
78 #
79 NOTIFY_HOLDS="0"
这不是我想要的解决方案,但没关系。
如果谁有更好的选择请告诉我。 :)
我已经使用 apticron 一段时间了,它很好用,但我每天都会收到包含新更新的电子邮件,但我只对安全/关键更新感兴趣。有谁知道我只有在有安全更新可用时才会收到电子邮件的可能性。我查看了 /etc/apticron/apticron.conf,但没有安全选项。
感谢您的帮助。
这是一个更新。 在apticron.conf是不是真的要配置安全信息点。
但我使用以下选项:
13 # Set DIFF_ONLY to "1" to only output the difference of the current run
14 # compared to the last run (ie. only new upgrades since the last run). If there
15 # are no differences, no output/email will be generated. By default, apticron
16 # will output everything that needs to be upgraded.
17 #
18 # DIFF_ONLY="1"
19 #
20 DIFF_ONLY="1"
和
73 # Set NOTIFY_HOLDS="0" if you don't want to be notified about new versions of
74 # packages on hold in your system. The default behavior is downloading and
75 # listing them as any other package.
76 #
77 # NOTIFY_HOLDS="0"
78 #
79 NOTIFY_HOLDS="0"
这不是我想要的解决方案,但没关系。
如果谁有更好的选择请告诉我。 :)