i am using sendmail and i am not able to send mail.
the log shows:
Code: Select all
nagios nagios[3650]: wproc: stderr line 01: Program mode requires special privileges, e.g., root or TrustedUser.
Aug 7 10:17:04 nagios nagios[3650]: wproc: stdout line 01: WARNING: RunAsUser for MSP ignored, check group ids (egid=1000, want=209)
Aug 7 10:17:04 nagios nagios[3650]: wproc: stdout line 02: can not chdir(/var/spool/clientmqueue/): Permission denied
Code: Select all
nagios sendmail[8645]: t777J1Cm008645: to=email adress ,great,test, ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:00, mailer=relay, pri=90003, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: 421 4.3.0 collect: Cannot write ./dft777J4ZY008665 (bfcommit, uid=0, gid=209): Permission denied
Code: Select all
nagios ~ # ls -l /var/spool
total 16
drwxrwx--- 2 smmsp smmsp 4096 Aug 7 10:20 clientmqueue
drwxr-x--- 4 root cron 4096 Jul 31 16:50 cron
drwxrwxr-x 2 mail root 4096 Aug 7 09:37 mail
drwxr-xr-x 2 smmsp root 4096 Aug 7 09:38 mqueue