[Mimedefang] umask, mimedefang, clamd and spamassassin

David F. Skoll dfs at roaringpenguin.com
Mon Feb 2 10:42:34 EST 2015


On Mon, 2 Feb 2015 14:13:31 -0000
"Steve Hanselman" <steveh at brendata.co.uk> wrote:

> I've just run strace over a session and it would appear that
> spamassassin modifies the umask, which probably explains the issue (it
> also depends which tests you have enabled in spamassassin if you grep
> the tree).

What version of SpamAssassin?  I'm still on 3.3.x and it seems to me that
all the calls to umask are careful to restore the original umask
afterwards.

> I'll check the entire details later but I think that mimedefang needs
> to reset the umask after it has called spamassassin, this is the
> likely cause for a number of the lstat errors with clamd.

OK; I can look at doing that.

Regards,

David.



More information about the MIMEDefang mailing list