Tuesday, February 22, 2011

Mount NTFS on centos

http://wiki.centos.org/TipsAndTricks/NTFS

yum install fuse fuse-ntfs-3g
mkdir /windowsXP
vi /etc/fstab
Press i to insert new line and go to end of file
/dev/sda1       /mymnt/win   ntfs-3g  ro,umask=0222,defaults 0 0 
press escape and type :wq to quit
to mount, enter 
mount /windowsXP
Done!

Thursday, February 17, 2011

cpanel error logs

/usr/local/cpanel/logs/access_log

/usr/local/cpanel/logs/*

/usr/local/cpanel/logs/access_log

/usr/local/apache/logs/error_log

Thursday, February 10, 2011

Send Email out Finally

Finally, i use postfix to relay mail to another server
i use

relayhost = [other.host]:587 and mail server works perfectly on postfix.

don't forget to add ip address into other host server otherwise they will not refuse to send your email. :)
this is great example.
other server using exim (cpanel) and i use their function to add trusted server ip address into list.

now i want to use sendmail instead of postfix. keep searching and found this:

want to try 1st. :)

Edit (2Feb2012): working setting on Sendmail


define(`SMART_HOST', `relay:your.relay.comain.com')dnl
define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl
put this on 3 lines together ref: http://www.sendmail.org/faq/section3#3.39 http://www.elandsys.com/resources/sendmail/
Related Posts Plugin for WordPress, Blogger...