Wie update ich meine Mails local ================================ Ein Skript das Mail holt inkl um Outlook rumschaufeln und notmuch updatet. [schenk:~/bin] master(+4/-214)* ± cat sync-mail-eckelmann #!/bin/sh false; while [ $? -ne 0 ]; do mbsync -a; done notmuch new Manuell kann ich das in neomutt mit G auslösen, die Datei "macros" source ich in "~/.muttrc" [schenk:~/.mutt] master(+4/-214)* ± cat macros #macro index 1 " = ../" macro index G "!sync-mail-eckelmann^M" "Fetch mail through mbsync and update notmuch" Und dann noch über user systemd timer automatisch [schenk:~/.config/systemd/user] $ cat mailsync-eckelmann.timer [Unit] Description=Sync eckelmann mail to ~/Mail/eckelmann [Timer] OnActiveSec=15sec OnUnitInactiveSec=5min Persistent=true [Install] WantedBy=timers.target [schenk:~/.config/systemd/user] $ cat mailsync-eckelmann.service [Unit] Description=Sync eckelmann mail to ~/Mail/eckelmann [Service] Type=oneshot ExecStart=/home/schenk/bin/sync-mail-eckelmann Und noch anschalten systemctl --user enable mailsync-eckelmann.timer