service spamassassin start
useradd testuser
su - testuser
cat /usr/share/doc/spamassassin-3.3.0/sample-spam.txt | spamc

Sep 17 10:35:49 localhost spamd[20600]: spamd: setuid to testuser succeeded
Sep 17 10:35:49 localhost spamd[20600]: spamd: creating default_prefs: /home/testuser/.spamassassin/user_prefs Sep 17 10:35:49 localhost spamd[20600]: config: cannot create /home/testuser/.spamassassin/user_prefs: 2 Sep 17 10:35:49 localhost spamd[20600]: spamd: failed to create readable default_prefs: /home/testuser/.spamassassin/user_prefs Sep 17 10:35:49 localhost spamd[20600]: spamd: processing message <[email protected]> for testuser:503

This command fails to create the ~/.spamassassin directory, but it does successfully create .razor and .pyzor directories.

cat /usr/share/doc/spamassassin-3.3.0/sample-spam.txt | spamassassin

This command succeeds in creating ~/.spamassassin.

spamassassin-3.2.5 behaved this way as well, so this is not a regression. Should this be considered a bug?

Warren Togami
[email protected]

Reply via email to