Mysterious repeating process

This is a different way of looking at the problem I am chasing under previous post

ine the linked post I stated some of my conclusions but they are my conclusions not far


Sep 15 09:13:03 triggerfish postfix/sendmail[62113]: fatal: usage: sendmail [options]
Sep 15 09:18:03 triggerfish postfix/sendmail[62195]: fatal: usage: sendmail [options]
Sep 15 09:23:02 triggerfish postfix/sendmail[62541]: fatal: usage: sendmail [options]
Sep 15 09:26:18 triggerfish postfix/sendmail[62616]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 09:28:02 triggerfish postfix/sendmail[62662]: fatal: usage: sendmail [options]

this SEEMS to point at

CRON

postfix/sendmail[62113]: fatal: usage: sendmail [options]

repeats every five minutes. BUT my

crontab

is this

Code:
# /etc/crontab - root's crontab for FreeBSD
SHELL=/bin/tcsh
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
#minute hour    mday    month   wday    who     command
# Save some entropy so that /dev/random can re-seed on boot.
# Rotate log files every hour, if necessary.
# Perform daily/weekly/monthly maintenance.
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.


the
cron.d

is empty except for the

AT


whose content is

Code:
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
# See crontab(5) for field format.

the following error repeats every 10 minutes
postfix/sendmail[62616]: fatal: chdir /var/spool/postfix: Permission denied

permission to the

postfix
postfix/sendmail[62616]: fatal: chdir /var/spool/postfix: Permission denied

are obscenely open even for me



drwxrwxrwx 17 root wheel 512 May 13 22:24 postfix



when I list ocurances of that error I get

Code:
Sep 15 00:00:44 triggerfish postfix/sendmail[53441]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 00:06:15 triggerfish postfix/sendmail[53562]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 00:16:15 triggerfish postfix/sendmail[53728]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 00:36:15 triggerfish postfix/sendmail[54047]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 00:41:15 triggerfish postfix/sendmail[54123]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 01:16:15 triggerfish postfix/sendmail[54672]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 02:26:16 triggerfish postfix/sendmail[55756]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 03:36:16 triggerfish postfix/sendmail[56741]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 04:46:16 triggerfish postfix/sendmail[57683]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 05:56:17 triggerfish postfix/sendmail[58668]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 07:06:17 triggerfish postfix/sendmail[60204]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 08:16:18 triggerfish postfix/sendmail[61191]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 09:26:18 triggerfish postfix/sendmail[62616]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 10:36:37 triggerfish postfix/sendmail[63857]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 11:16:43 triggerfish postfix/sendmail[64595]: fatal: chdir /var/spool/postfix: Permission denied
Sep 15 11:46:37 triggerfish postfix/sendmail[65120]: fatal: chdir /var/spool/postfix: Permission denied







That leaves the recurring

postfix/sendmail[62113]: fatal: usage: sendmail [options]


my

mailer.conf


remains

Code:
sendmail /usr/local/sbin/sendmail
mailq /usr/local/sbin/sendmail
newaliases /usr/local/sbin/sendmail




which after reading this. https://forums.freebsd.org/threads/newaliases-1-not-doing-anything.90230/

this suggest that the correct
mailer.conf.

is suppose to be

Code:
Code:
# cat /etc/mail/mailer.conf
#
# mailer.conf for use with dma(8)
#
# If sendmail is configured, an example of mailer.conf that uses sendmail
# instead can be found in /usr/share/examples/sendmail.

sendmail        /usr/libexec/dma
mailq           /usr/libexec/dma
newaliases      /usr/libexec/dma

Could this be my "root" cause ?
 
Back
Top