can not send email from your linux box ?

1. Check /var/log/mail.log and see what the error
2. If you see this “postdrop: warning: unable to look up public/pickup: No such file or directory”
Do this :
# /etc/init.d/sendmail stop

# mkfifo /var/spool/postfix/public/pickup

# /etc/init.d/postfix restart

3. If you get 550 verification error

edit file /etc/postfix/main.cf

Change the servername to full dns name for ex: servermail to servermail.yourdomain.com
verify servermail.yourdomain.com from public internet

Read More

New release – V3.6 is available for public

What’s new:
– Improve the performance , the time to complete the scan now is 50% faster than before.
– Fix some device id

Read More

Linux: Move mysql data files to new location

Want to change the default mysql data_dir  (/var/lib/mysql) to new location (new partition, new disk ?)

Steps to do:
1. stop mysql ( /etc/init.d/mysql stop)
2. copy your mysql data directory to new location ( mv /var/lib/mysql/ /newlocation/mysql/)
3. chown -R mysql:mysql /newlocation/mysql
4. edit file /etc/mysql/my.inf ( change data_dir location)
5. edit file /etc/apparmod.d/usr.sbin.mysqld (change /var/lib/mysql to your new location)
6. start mysql (/etc/init.d/mysql start)

Read More