Archive for June, 2010

How can I get access to a Windows file system

By default, Linux supports direct read/write access to FAT16 and FAT32 file system that Microsoft Windows uses, but not to an NTFS file system.

To access an NTFS file system on Linux.

Install a third party software named kernel-module-ntfs. We can get the rpm package from
http://sourceforge.net/projects/linux-ntfs/files

The kernel-ntfs kernel module will be load automatically by default when server reboot next time. Then you can mount your ntfs file system manually. We can load the kernel module by modprobe and use lsmod to confirm it’s installed

modprobe kernel-ntfs
lsmod | grep ntfs

Install a third party software named ntfs-3g and fuse.

Please access http://www.tuxera.com/community/ntfs-3g-download/ to get ntfs-3g and fuse.

NTFS-3G is a stable, read/write NTFS driver for Linux, Mac OS X, FreeBSD, NetBSD, OpenSolaris, QNX, Haiku, and other operating systems. It provides safe handling of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows Server 2008 and Windows 7 NTFS file systems.

After successfully install, you can run command such as:

mount -t ntfs-3g /dev/sda2 /mnt
SBDavid

The /etc/modules.conf file

The /etc/modules.conf file

modules.conf - configuration file for loading kernel modules

The configuration file consists of a set of lines.
All empty lines, and all text on a line after a ‘#’, will be ignored.
Lines may be continued by ending the line with a ‘\’.

Example:

alias eth0 e1000

Driver for the Intel/Pro 1000 Network card which uses the e1000 driver.

The /etc/modules.conf file should only be modified if the system requires a driver that will be loaded during the boot sequence. The behavior of modprobe(8) (and depmod(8) ) can be modified by the (optional) configuration file /etc/modules.conf.

Checking your outgoing mail server (Is Port 25 blocked?)

Many email clients and services use port 25 for SMTP to send out emails. However an ISP (Internet Service Provider) may block port 25 in order to prevent spamming by its customers. Here is how you can check to see if port 25 is blocked on your network.

1. Type the following command:

telnet serverbuddies.com 25

2. View Results:
If port 25 is not blocked you will get a successful 220 response (text may vary).

telnet serverbuddies.com 25
Trying 67.228.43.85…
Connected to serverbuddies.com.
Escape character is ‘^]’.
220-box.serverbuddies.com ESMTP Exim 4.69 #1 Mon, 07 Jun 2010 02:23:15 -0500
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.

If port 25 is blocked you will get a connection error or no response at all.

Trying 67.228.43.85…
telnet: connect to address 67.228.43.85: Connection refused
telnet: Unable to connect to remote host

hotmail and yahoo mail spam flagging issue

If you have more than one domain on your server it is better to use our SPF Record to fix this issue.

For example:

Server is sending mail as mail.serverbuddies.com but when the receiving mail server performs a reverse PTR lookup, it finds serverbuddies.com MISMATCH The solution would then be to tell qmail that it is sending mail as domain.com instead of mail.serverbuddies.com.

Here is the fix.

echo serverbuddies.com > /var/qmail/control/me
SBDavid

Remove MailMan from Plesk

Remove MailMan from Plesk

Login to your Dedicated-Virtual Server using SSH as the root user. Now lets run the command to find what version of mailman is currently installed.

rpm -q mailman

You should find results similar to the following

mailman-2.1.1-5
mailman-2.1.1-7.legacy

Now we will use rpm to uninstall

rpm -e mailman-2.1.1-5
rpm -e mailman-2.1.1-7.legacy

« Prev - Next »