Quantcast
Viewing all articles
Browse latest Browse all 10

Setting cron-apt

First install it.

apt-get install cron-apt

I like to get e-mail every time the cron-apt runs. This way I know that everything works. To get the mail change MAILON=”error” to MAILON=”always” and uncomment the line in /etc/cron/apt/config.

Reconfigure exim4

dpkg-reconfigure exim4-config

Settings (in order of appearance):

  1. mail sent by smarthost; no local mail
  2. System mail name: (confirm the default option i.e. hostname)
  3. IP-addresses to listen on for incoming SMTP connections: (confirm the default option i.e. 127.0.0.1 ; ::1)
  4. Other destinations wor which mail is accepted: (confirm the default option i.e. hostname)
  5. Visible domain name for local users: (confirm the default option i.e. hostname)
  6. IP adress or host name of the outgoing smarthost: your.smart.host.com or IP
  7. Kep number of DNS-queries minimal (Dial-on-Demand)? : (confirm the default option i.e. No)
  8. Split configuration into small files? : (confirm the default option i.e. No)
  9. Root and postmaster mail recepient: my@email.com

Viewing all articles
Browse latest Browse all 10

Trending Articles