Sendmail daemon is spamming with these kind of messages:
Jul 7 18:00:00 localhost sendmail: NOQUEUE: SYSERR(pgsql): /etc/mail/sendmail.cf: line 0: cannot open: Permission denied
[root@localhost ~]# ls -al /etc/mail/sendmail.cf
-rw-r--r-- 1 root wheel 58285 Jan 4 2013 /etc/mail/sendmail.cf
/etc/mail directory are:
[root@localhost ~]# ls -al /etc/mail
drwxr-xr-- 2 root wheel 512 Jan 4 2013 .
In system there is
pgsql user, so as I can guess, error
SYSERR(pgsql) is about user
pgsql that have no permissions to some directory or file.
I also tried to do
grep pgsql /etc/mail/sendmail.cf to find if there is any line containing
pgsql (to see if there are any permissions restrictions), but I didn't find anything.