Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[solved] Mail forward. from root to mail for Unatt. Ugrades?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
saljut7
Posts: 32
Joined: 2015-11-14 15:29

[solved] Mail forward. from root to mail for Unatt. Ugrades?

#1 Post by saljut7 »

Hello,

I've set up unattended upgrades according to https://wiki.debian.org/UnattendedUpgrades and my daily logwatch mail (with postfix as satellite system) says that it's working just fine.

Only one problem (which isn't really a problem but I just want to understand the reason):

- I've set in /etc/apt/apt.conf.d/50unattended-upgrades:

Code: Select all

Unattended-Upgrade::Mail "root";
- My logwatch output is set to "root" in /etc/cron.daily/00logwatch.
- There is an alias /etc/aliases "root: my@mail.add".
- I receive mails at my@mail.add but only from logwatch but not from unattended upgrades. Okay, this is not necessary because logwatch reports the upgrades but why anyway it's confusing: There are upgrade info mails in /var/mail/root but why are these mails not delivered to my@mail.add?

Thanks alot!

Edit: Notifications for mail forwarding work now on my system. Unfortunately I don't think that I changed some settings. Maybe I was confused by logwatch notifications which report changes for "yesterday" in combination with daily notifications for unatt. upgrades. In the end everything is fine following https://wiki.debian.org/UnattendedUpgrades.

Post Reply