Am 10.02.20 um 15:55 schrieb Carsten Pache:
> Hi folks,
>  
> as the hdd of my Bareos server died, I had to reinstall Bareos. So I
> installed Ubuntu Server 18.04.4 LTS and Bareos 19.2.5. Also, I took the
> opportunity and divided my old configuration files to the newer
> subdirectory structure.
>  
> Now I get a lot of messages like these (in root's mailbox as well as in
> "messages" in bconsole):
>  
> Return-Path: <[email protected]>
> X-Original-To: root@localhost
> Delivered-To: root@localhost
> Received: from dasi (localhost [127.0.0.1])
>         by dasi.home.lan (Postfix) with SMTP id 2AB6CD0133A
>         for <root@localhost>; Mon, 10 Feb 2020 15:26:38 +0100 (CET)
> From: (Bareos) <[email protected]>
> Subject: Bareos daemon message
> Sender: bareos@dasi
> To: root@localhost
> Date: Mon, 10 Feb 2020 15:26:38 +0100 (CET)
> Message-Id: <[email protected]>
> 10-Feb 15:26 dasi-dir: Console [admin] from [127.0.0.1] cmdline llist
> jobs jobstatus=F days=1 jobname="" limit=1000 offset=0
> 10-Feb 15:26 dasi-dir: Console [admin] from [127.0.0.1] cmdline llist
> jobs jobstatus=S days=1 jobname="" limit=1000 offset=0
> 10-Feb 15:26 dasi-dir: Console [admin] from [127.0.0.1] cmdline llist
> jobs jobstatus=s days=1 jobname="" limit=1000 offset=0
> 10-Feb 15:26 dasi-dir: Console [admin] from [127.0.0.1] cmdline llist
> jobs jobstatus=m days=1 jobname="" limit=1000 offset=0
>  
> or:
>  
> Return-Path: <[email protected]>
> X-Original-To: root@localhost
> Delivered-To: root@localhost
> Received: from dasi (localhost [127.0.0.1])
>         by dasi.home.lan (Postfix) with SMTP id 389BAD0133A
>         for <root@localhost>; Mon, 10 Feb 2020 15:27:36 +0100 (CET)
> From: (Bareos) <[email protected]>
> Subject: Bareos daemon message
> Sender: bareos@dasi
> To: root@localhost
> Date: Mon, 10 Feb 2020 15:27:36 +0100 (CET)
> Message-Id: <[email protected]>
> 10-Feb 15:27 dasi-dir: Console [admin] from [127.0.0.1] cmdline llist
> jobs last current enabled
>  
>  
> The message resource is configured as follows:
>  
> Messages {
>   Name = Daemon
>   Description = "Message delivery for daemon messages (no job)."
>   mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bareos\)
> \<[email protected]\>\" -s \"Bareos daemon message\" %r"
>   mail = root@localhost = all, !skipped
>   console = all, !skipped
>   append = "/var/log/bareos/bareos.log" = all, !skipped
>   append = "/var/log/bareos/bareos-audit.log" = audit
> }
>  
>  
> How do I stop Bareos from flooding me with mails?
>  
> Regards,
> Carsten
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/trinity-5200fc44-d10b-487d-a099-680f462a1f27-1581346549072%403c-app-webde-bs57
> <https://groups.google.com/d/msgid/bareos-users/trinity-5200fc44-d10b-487d-a099-680f462a1f27-1581346549072%403c-app-webde-bs57?utm_medium=email&utm_source=footer>.


You may want to exclude the message type audit from e.g. console and mail.

Like ...

Messages {
   [...]
   mail = root@localhost = all, !skipped, !audit
   console = all, !skipped, !audit
   [...]
}


See: https://docs.bareos.org/Configuration/Messages.html#message-types


Best Regards,
Frank

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/48eb8348-8409-8985-39e2-43dce6231b56%40bareos.com.

Reply via email to