On 2/13/20 9:52 PM, Per Jessen wrote:
ellanios82 wrote:
- here is cron journal-output for Feb 05 , when email notification came OK for running rkhunter at 12:48 :
aig:~ # journalctl | grep cron Feb 05 12:38:02 aig cron[15504]: pam_unix(crond:session): session opened for user root(uid=0) by (uid=0) Feb 05 12:38:02 aig CRON[15524]: (root) CMD (exec /usr/bin/rkhunter --cronjob --update --rwo) Feb 05 12:40:01 aig cron[26953]: pam_unix(crond:session): session opened for user root(uid=0) by (uid=0) Feb 05 12:40:01 aig CRON[26953]: pam_unix(crond:session): session closed for user root Feb 05 12:43:54 aig
** Notifications got thru to /var/spool/mail/my-local-folder until Feb 08 , after which nothing : But you are certain there would be output from the job? You should see it in the mail log, something like:
Feb 13 00:01:03 thorium postfix/pickup[1287]: 75E3A94C789: uid=0 from=<root>
You ought to see a line like that at the same time that cronjoib finishes.
my crontab says :
"MAILTO=pisti@localhost" : that's OK : my folder in /var/spool/mail To test if that still works -
mail -r root@localhost -s "test123" pisti@localhost </dev/null
- Gee, Thanks : that does not rpt not get thru !! - next had a look at "journalctl | grep mail" , and , output says : Feb 13 10:50:41 aig postfix/postfix-script[2067]: fatal: mail system startup failed ....... Gosh : how to fix ? [ maybe TW "zypper dup" did something to postfix?] thanks v.m. ..... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org