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.

Monday, July 23, 2007

Allow mail to be accepted by postfix

Starting with Postfix 2.0,by default it looks up the local_recipient_table for accepting messages. So by default it will not accept any connections past the "rcpt to" command if it is not valid.

To change this add the following line in the main.cf file:
/etc/postfix/main.cf
local_recipient_maps =

Wednesday, July 18, 2007

How to disable Outlook 2003 stationery

How to disable Outlook 2003 stationery


Create the following path:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\11.0\Common\MailSettings

Create a new "String Value" named "NewStationery" and leave the value blank (do not type anything in the value)

This will not grey out the options in outlook, but it will not allow the user to change it and save it.

It will look like they changed it, but once they compose a new message the stationery will be .

If you look back in the settings it will show

Sunday, July 1, 2007

Mount a windows share on Linux with samba

make sure smbfs is installed ( sudo apt-get install smbfs )

Test the windows shares:
smbclient -L -U

Make a directory for the mount point:
mkdir /mnt/name-of-mount-point

Mount the share:
mount -t smbfs -o username=,password= /mnt/name-of-mount-point

Create a symbolic link:
ln -s /mnt/name-of-mount-point /path-to-symlink



Kid proof linux system

http://www.sendmeon.com/childproofpc_manual