<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="ARTICLE @ XOOPS powered by FeedCreator" -->
<rss version="0.91">
    <channel>
        <title>Power Hoster :: Article</title>
        <description><![CDATA[Article XML]]></description>
        <link>http://www.powerhoster.com/domainhosting/modules/article/view.article.php/1367/c8</link>
        <lastBuildDate>Sun, 12 Feb 2012 12:15:21 +1800</lastBuildDate>
        <generator>ARTICLE @ XOOPS powered by FeedCreator</generator>
        <image>
            <url>http://www.powerhoster.com/domainhosting/modules/article/images/logo.png</url>
            <title>Power Hoster :: Article</title>
            <link>http://www.powerhoster.com/domainhosting/modules/article/</link>
            <width>80</width>
            <height>15</height>
            <description>Article XML</description>
        </image>
        <language>en</language>
        <managingEditor>support at powerhoster dot com</managingEditor>
        <webMaster>support at powerhoster dot com</webMaster>
        <category>Hosting Article</category>
        <item>
            <title>What If I&amp;#039;ve Reached the SMTP Limit on my Virtual Dedicated/Dedicated Server?</title>
            <link>http://www.powerhoster.com/domainhosting/modules/article/view.article.php/1367/c8</link>
            <description><![CDATA[Category: Virtual Dedicated Linux<br />Keywords: SMTP Limit<br /><br /><p><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">There is a daily limit of 1,000 outbound emails from your dedicated/virtual dedicated server. There are several other reasons besides "standard email" that can cause you to reach this daily restriction. The following are a few things you can check:</font></p><p class="display" title="bounce"><a href="http://help.securepaynet.net/topic/83/article/1456?prog_id=powerhoster#bounce"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">Verify That Your Domain Name is Not Sending Out Bouncebacks.</font></a></p><p class="stretcher-container" style="haslayout: false"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">The default Plesk setting is to bounce email sent to non-existent users. This means that if your domain is coolexample.com, and someone sends an email to a non-existent user (ex: <a href="mailto:johndoe@coolexample.com" title="johndoe@coolexample.com">johndoe@coolexample.com</a>), it is defaulted to send a message back saying "This user does not exist". If your domain receives a lot of incoming mail to non-existent users, the daily limit can be hit in no time.</font></p><p class="stretcher-container" style="haslayout: false"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">The solution is to modify your mail preferences to reject mail sent to non-existent users. To reject mail sent to non-existent users in Plesk: </font></p><div class="stretcher-container" style="haslayout: false"><ol><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">From the Plesk control panel click <strong>Domains</strong>. </font></li><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">Click <strong>Select Domain</strong>, then click <strong>Mail</strong>. </font></li><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">Click <strong>Preferences</strong> and then click the <strong>Reject</strong> radio button, and click <strong>OK</strong>.</font></li></ol></div><p class="note"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2"><strong>NOTE:</strong>You will need to do this for all domains on the server.</font></font></p><p class="display" title="relay"><a href="http://help.securepaynet.net/topic/83/article/1456?prog_id=powerhoster#relay"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">Test Your Server for an Open Relay. </font></a></p><div class="stretcher" style="display: none"><p class="stretcher-container" style="haslayout: false"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">An open mail relay is a SMTP server that is configured in such a way that it allows anyone on the Internet to send email through it. You can use the tool at </font><a href="http://www.abuse.net/relay.html"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2"><a href="http://www.abuse.net/relay.html" title="http://www.abuse.net/relay.html" target="_blank">http://www.abuse.net/relay.html</a></font></a><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2"> to test for an open relay. To close an open relay:</font></p><div class="stretcher-container" style="haslayout: false"><ul><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2"><strong>Plesk:</strong><br />On a Linux server with Plesk, you will want to log into Plesk as the admin account and click <strong>Server</strong> > <strong>Mail</strong>. Make sure that you have either chosen <strong>Closed</strong>or <strong>Authentication Required</strong> next to the <strong>Relay</strong> option. </font></font></li><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2"><strong>cPanel:</strong><br />Servers with cPanel are configured as closed relays by default. If you suspect there is an open relay configured, you can run the following commands using SSH:<br /><code>/scripts/fixrelayd</code><br /><code>/etc/rc.d/init.d/antirelayd restart</code><br /><code>service exim restart</code> </font></font></li></ul></div></div><p class="display" title="logs"><a href="http://help.securepaynet.net/topic/83/article/1456?prog_id=powerhoster#logs"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">Consult the Email Logs &amp; Mail Utilities on Your Server.</font></a></p><p class="note" style="display: none; haslayout: false"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2"><strong>NOTE:</strong>For Plesk (Linux), cPanel, &amp; Simple Control Panel, you will want to use SSH as your main means of troubleshooting. If you do not have an SSH client, you can download Putty free </font></font><a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">here</font></a><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">. For Plesk (Windows), you will want to log into the server using Remote Desktop. For more information on accessing your sever with Remote Desktop see </font><a href="http://help.securepaynet.net/topic/123/article/134?prog_id=powerhoster"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">Accessing Your Windows Dedicated Server using Remote Desktop Connection</font></a></p><div class="stretcher-container" style="display: none; haslayout: false"><ul><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2"><strong>Plesk/Linux Servers:</strong><br /><code>/usr/local/psa/var/log/maillog</code> (Qmail log)<br /><code>/var/qmail/bin/qmail-qstat</code> (View the amount of messages currently in your outbound queue)<br /><code>/var/qmail/bin/qmail-qread</code> (List out all messages in your outbound queue)<br /><code>find /var/qmail/queue -name XXXX | xargs cat | less</code> (Read the entire contents of an email, including headers, where XXXX is the ~8 digit ID specified on the /var/qmail/bin/qmail-qread command) </font></font></li><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2"><strong>cPanel:</strong><br /><code>/var/log/exim_mainlog</code><br /><code>/var/log/exim_paniclog</code><br /><code>/var/log/exim_rejectlog</code><br /><code>/var/log/maillog</code> <code>exim -bpr | grep "&lt;" | wc -l</code> (View the amount of messages currently in your outbound queue)<br /><code>exim -bp</code> (List out all messages in your outbound queue)<br />cPanel also has a graphical mail queue layout that you can view inside WebHost Manager by going to <strong>Email</strong> > <strong>Mail Queue Manager</strong>. </font></font></li><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2"><strong>Simple Control Panel:</strong><br /><code>/var/log/maillog</code> (Postfix Log)<br /><code>mailq</code> (List out all messages in your outbound queue)<br /><code>postcat -q $mailq_message_number | more</code> (Read the contents of an email in your outbound queue) </font></font></li><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2"><strong>Plesk Windows Servers:</strong><br />All mail related messages are stored in text files on the server. To view messages in the outbound queue, browse to:<br />C:%Plesk Directory%PleskMail ServersMail EnableQueuesSMTPOutgoing<br />C:%Plesk Directory%PleskMail ServersMail EnableQueuesSMTPInbound (for incoming)<br />Right click on any of these files and open in Notepad. </font></font></li></ul></div><p class="note" style="display: none"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2"><strong>NOTE:</strong>Your mail logs may also detail vulnerabilities in any scripts that you have installed that send mail. Injection attacks are common against scripts that do not check header data. A trend that indicates an injection attack is a large number of addresses in the BCC field of emails in your queue.</font></font></p><p class="display" title="exim"><a href="http://help.securepaynet.net/topic/83/article/1456?prog_id=powerhoster#exim"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">Check Exim Mail Settings in cPanel</font></a></p><p class="stretcher-container" style="display: none; haslayout: false"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">On cPanel servers, make sure you have <code>:fail:</code> instead of <code>:blackhole:</code> for your Exim mail settings. An article at </font><a href="http://www.configserver.com/free/fail.html"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2"><a href="http://www.configserver.com/free/fail.html" title="http://www.configserver.com/free/fail.html" target="_blank">http://www.configserver.com/free/fail.html</a></font></a><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2"> details the differences between the two settings.</font></p><p class="stretcher-container" style="display: none; haslayout: false"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">To set the default mail behavior to <code>:fail:</code>, you will want to execute the following command through SSH:</font></p><p class="hacker" style="display: none; haslayout: false"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2">echo "defaultmailaction=fail" >> /var/cpanel/cpanel.config</font></font></p><p class="stretcher-container" style="display: none; haslayout: false"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">If your domains are set to <code>:fail:</code>, and your logs still show suspicious traffic that leads to continuous relay usage, then you most likely have problems with the Exim Callout system.</font></p><p class="stretcher-container" style="display: none; haslayout: false"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">By default, exim.conf is set to use callouts to verify the existence of email senders. This means that every time an email is sent to your server from a new address, Exim connects to the relay server during the RCPT callout command. This places an entry into the Exim "mainlog" and uses a SMTP relay.</font></p><p class="stretcher-container" style="display: none; haslayout: false"><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">You can disable this feature by following these steps:</font></p><div class="stretcher-container" style="display: none; haslayout: false"><ol><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">Log into WebHost Manager </font></li><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">Click on <strong>Exim Configuration Editor</strong> under the <strong>Service Configuration</strong> area of the left-hand toolbar. </font></li><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">In the second gray area titled <strong>Options</strong> you will see 4 checkboxes </font></li><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif" size="2">Uncheck the third checkbox <strong>Use callouts to verify the existence of email senders</strong> </font></li><li><font face="Verdana, Geneva, Arial, Helvetica, sans-serif"><font size="2">Click <strong>Save</strong></font></font></li></ol></div><br />]]></description>
            <author>Jane83</author>
            <pubDate>Thu, 01 Jan 1970 00:00:00 +1800</pubDate>
        </item>
    </channel>
</rss>

