Archive for the tag 'mail'

How to hide the user interface elements related to mail services from the Control Panel:

1. In the Server Administration Panel, go to Settings > Mail Server Settings (in the Mail group
2. Clear the Enable mail management functions in Panel checkbox.
3. Click OK.

Alternately, you can hide these elements by using the server_pref command line utility:

On Linux systems

/usr/local/psa/bin/server_pref -u -disable-mail-ui true

If you need to restore the mail management controls, you can do so either by going to Server Administration Panel > Settings > Mail Server Settings, and selecting the Enable mail management functions in Panel checkbox, or by using the command line utility:

On Linux systems

/usr/local/psa/bin/server_pref -u -disable-mail-ui false

Reference: http://parallels.net/

Delivering mail to local mail server if your DNS is hosted on remote Cpanel VSP

Login to WHM and go to “DNS Functions” and select “Edit a DNS Zone”

Select the zone to edit and then select the “Edit” button.

Once the next screen appears scroll down to the “Record Type” MX and change the value to mail.serverbuddies.com.

serverbuddies.com. 14400 IN MX 0 mail.serverbuddies.com.

Change the “Record Type” to “A” for mail and add the IP address of your local mailserver in the box to the right of the “CNAME” record type.

mail 14400 IN A 192.168.1.1

Now DNS server will instruct mail servers on the internet to deliver mail to your local mail server.

Edit the file /etc/localdomains and remove the domain name for which you want email delivered locally.

Edit the file /etc/remotedomains and add the domain name which we removed from /etc/localdomains

Now local (cpanel) mail server (Exim) will route all email originating from the local server to the remote mail server.

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

Enable Alternate Port other than 25 or 587 (via SSH) in Plesk

Make a copy of /etc/xinetd.d/smtp_psa. For this walkthrough the new filename created is smtp_nonstandard. A command like this should work:

cp /etc/xinetd.d/smtp_psa /etc/xinetd.d/smtp_nonstandard

Add these lines to the copy you just made:

vi /etc/xinetd.d/smtp_nonstandard

type = UNLISTED
port = 2525

and change the service name to match the name of the file. A sample smtp_nonstandard looks like this:

service = smtp_nonstandard
type = UNLISTED
socket_type = stream
protocol = tcp
port = 2525
wait = no
disable = no
user = root
instances = UNLIMITED
server = /var/qmail/bin/tcp-env
server_args = -Rt0 /var/qmail/bin/relaylock /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true

# Restart xinetd:

/etc/init.d/xinetd restart

# You should now be able to send mail through your server on port 2525. You may pick a different port if you use this method. We suggest choosing a high port number to avoid using commonly used ports on the internet.

Next »