I just finished installing SASL2 on my server to allow me to use SMTP remotely, using the following method:
http://www.defcon1.org/html/postfix.html

I'm getting the message that I've pasted on the bottom of the page kicking to me on a regular basis from Cron. It looks like it's being generated by the following Cron command line:
# Save some entropy so that /dev/random can re-seed on boot.
*/11    *       *       *       *       operator /usr/libexec/save-entropy

The target directory in the e-mail message exists:
mail# cd /var/state
mail# ls -ls
total 2
drwxrwx---  2 root  wheel  512 Apr  6 12:44 saslauthd

The process appears to be running under root:
mail# ps -aux | grep saslauthd
root    24890  0.0  0.4  2808 1612  ??  Is   Mon12PM   0:00.00 saslauthd -a pam
root    24891  0.0  0.4  2808 1612  ??  I    Mon12PM   0:00.00 saslauthd -a pam

I changed the ownership of the saslauthd directory to root and wheel from cyrus and mail with no effect.

Question, is this a permissions problem or is it a problem with my installation of SASL2?

E-Mail Message:
--------------------------------------------------------------
Date: Tue, 7 Apr 2009 15:33:00 GMT
From: opera...@mail.mydomain.com (Cron Daemon)
To: opera...@mail.mydomain.com
Subject: Cron <opera...@mail> /usr/libexec/save-entropy
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin>
X-Cron-Env: <HOME=/>
X-Cron-Env: <LOGNAME=operator>
X-Cron-Env: <USER=operator>

saslauthd[33478] :main            : could not chdir to: /var/state/saslauthd
saslauthd[33478] :main            : chdir: Permission denied
saslauthd[33478] :main : Check to make sure the directory exists and is saslauthd[33478] :main : writeable by the user this process runs as.
--------------------------------------------------------------

Reply via email to