Thursday, July 26, 2007

mandrake msec

msec is mandrakes security script. It runs in the hourly cron jobs.

To see what the script does go run "msec -o print=1" (man msec)

To change permissions that msec sets, edit /usr/share/msec/perm.* ( you can see which perm file to edit when you run "msec -o print=1"

I needed to change /var/spool/ chmod 1777 mail/ for IMAP to work.

From:
http://app.linux.org.mt/article/killspam

Note that Mandrake Linux will try to set the permissions back automatically to the default values through the msec program. To control this, edit the files /usr/share/msec/perm.*, find the line for /var/spool/mail, and set the permission to 1777.

No comments: