<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="ARTICLE @ XOOPS powered by FeedCreator" -->
<feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en">
    <title>Power Hoster :: Article</title>
    <tagline>Article XML</tagline>
    <link rel="alternate" type="text/html" href="http://www.powerhoster.com/domainhosting/modules/article/view.article.php/1367/c8"/>
    <id>http://www.powerhoster.com/domainhosting/modules/article/view.article.php/1367/c8</id>
    <modified>2012-02-12T13:15:55+18:00</modified>
    <author>
        <name>support at powerhoster dot com</name>
    </author>
    <generator>ARTICLE @ XOOPS powered by FeedCreator</generator>
    <entry>
        <title>What If I&amp;#039;ve Reached the SMTP Limit on my Virtual Dedicated/Dedicated Server?</title>
        <link rel="alternate" type="text/html" href="http://www.powerhoster.com/domainhosting/modules/article/view.article.php/1367/c8"/>
        <created>1970-01-01T00:00:00+18:00</created>
        <issued>1970-01-01T00:00:00+18:00</issued>
        <modified>1970-01-01T00:00:00+18:00</modified>
        <id>http://www.powerhoster.com/domainhosting/modules/article/view.article.php/1367/c8</id>
        <author>
            <name>Jane83</name>
        </author>
        <summary>Category: Virtual Dedicated Linux&lt;br /&gt;Keywords: SMTP Limit&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;There is a daily limit of 1,000 outbound emails from your dedicated/virtual dedicated server. There are several other reasons besides &quot;standard email&quot; that can cause you to reach this daily restriction. The following are a few things you can check:&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;display&quot; title=&quot;bounce&quot;&gt;&lt;a href=&quot;http://help.securepaynet.net/topic/83/article/1456?prog_id=powerhoster#bounce&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;Verify That Your Domain Name is Not Sending Out Bouncebacks.&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;stretcher-container&quot; style=&quot;haslayout: false&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;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: &lt;a href=&quot;mailto:johndoe@coolexample.com&quot; title=&quot;johndoe@coolexample.com&quot;&gt;johndoe@coolexample.com&lt;/a&gt;), it is defaulted to send a message back saying &quot;This user does not exist&quot;. If your domain receives a lot of incoming mail to non-existent users, the daily limit can be hit in no time.&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;stretcher-container&quot; style=&quot;haslayout: false&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;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: &lt;/font&gt;&lt;/p&gt;&lt;div class=&quot;stretcher-container&quot; style=&quot;haslayout: false&quot;&gt;&lt;ol&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;From the Plesk control panel click &lt;strong&gt;Domains&lt;/strong&gt;. &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;Click &lt;strong&gt;Select Domain&lt;/strong&gt;, then click &lt;strong&gt;Mail&lt;/strong&gt;. &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;Click &lt;strong&gt;Preferences&lt;/strong&gt; and then click the &lt;strong&gt;Reject&lt;/strong&gt; radio button, and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;p class=&quot;note&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;strong&gt;NOTE:&lt;/strong&gt;You will need to do this for all domains on the server.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;display&quot; title=&quot;relay&quot;&gt;&lt;a href=&quot;http://help.securepaynet.net/topic/83/article/1456?prog_id=powerhoster#relay&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;Test Your Server for an Open Relay. &lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;stretcher&quot; style=&quot;display: none&quot;&gt;&lt;p class=&quot;stretcher-container&quot; style=&quot;haslayout: false&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;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 &lt;/font&gt;&lt;a href=&quot;http://www.abuse.net/relay.html&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;&lt;a href=&quot;http://www.abuse.net/relay.html&quot; title=&quot;http://www.abuse.net/relay.html&quot; target=&quot;_blank&quot;&gt;http://www.abuse.net/relay.html&lt;/a&gt;&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt; to test for an open relay. To close an open relay:&lt;/font&gt;&lt;/p&gt;&lt;div class=&quot;stretcher-container&quot; style=&quot;haslayout: false&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;strong&gt;Plesk:&lt;/strong&gt;&lt;br /&gt;On a Linux server with Plesk, you will want to log into Plesk as the admin account and click &lt;strong&gt;Server&lt;/strong&gt; &gt; &lt;strong&gt;Mail&lt;/strong&gt;. Make sure that you have either chosen &lt;strong&gt;Closed&lt;/strong&gt;or &lt;strong&gt;Authentication Required&lt;/strong&gt; next to the &lt;strong&gt;Relay&lt;/strong&gt; option. &lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;strong&gt;cPanel:&lt;/strong&gt;&lt;br /&gt;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:&lt;br /&gt;&lt;code&gt;/scripts/fixrelayd&lt;/code&gt;&lt;br /&gt;&lt;code&gt;/etc/rc.d/init.d/antirelayd restart&lt;/code&gt;&lt;br /&gt;&lt;code&gt;service exim restart&lt;/code&gt; &lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;p class=&quot;display&quot; title=&quot;logs&quot;&gt;&lt;a href=&quot;http://help.securepaynet.net/topic/83/article/1456?prog_id=powerhoster#logs&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;Consult the Email Logs &amp;amp; Mail Utilities on Your Server.&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;note&quot; style=&quot;display: none; haslayout: false&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;strong&gt;NOTE:&lt;/strong&gt;For Plesk (Linux), cPanel, &amp;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 &lt;/font&gt;&lt;/font&gt;&lt;a href=&quot;http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;here&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;. 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 &lt;/font&gt;&lt;a href=&quot;http://help.securepaynet.net/topic/123/article/134?prog_id=powerhoster&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;Accessing Your Windows Dedicated Server using Remote Desktop Connection&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;stretcher-container&quot; style=&quot;display: none; haslayout: false&quot;&gt;&lt;ul&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;strong&gt;Plesk/Linux Servers:&lt;/strong&gt;&lt;br /&gt;&lt;code&gt;/usr/local/psa/var/log/maillog&lt;/code&gt; (Qmail log)&lt;br /&gt;&lt;code&gt;/var/qmail/bin/qmail-qstat&lt;/code&gt; (View the amount of messages currently in your outbound queue)&lt;br /&gt;&lt;code&gt;/var/qmail/bin/qmail-qread&lt;/code&gt; (List out all messages in your outbound queue)&lt;br /&gt;&lt;code&gt;find /var/qmail/queue -name XXXX | xargs cat | less&lt;/code&gt; (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) &lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;strong&gt;cPanel:&lt;/strong&gt;&lt;br /&gt;&lt;code&gt;/var/log/exim_mainlog&lt;/code&gt;&lt;br /&gt;&lt;code&gt;/var/log/exim_paniclog&lt;/code&gt;&lt;br /&gt;&lt;code&gt;/var/log/exim_rejectlog&lt;/code&gt;&lt;br /&gt;&lt;code&gt;/var/log/maillog&lt;/code&gt; &lt;code&gt;exim -bpr | grep &quot;&amp;lt;&quot; | wc -l&lt;/code&gt; (View the amount of messages currently in your outbound queue)&lt;br /&gt;&lt;code&gt;exim -bp&lt;/code&gt; (List out all messages in your outbound queue)&lt;br /&gt;cPanel also has a graphical mail queue layout that you can view inside WebHost Manager by going to &lt;strong&gt;Email&lt;/strong&gt; &gt; &lt;strong&gt;Mail Queue Manager&lt;/strong&gt;. &lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;strong&gt;Simple Control Panel:&lt;/strong&gt;&lt;br /&gt;&lt;code&gt;/var/log/maillog&lt;/code&gt; (Postfix Log)&lt;br /&gt;&lt;code&gt;mailq&lt;/code&gt; (List out all messages in your outbound queue)&lt;br /&gt;&lt;code&gt;postcat -q $mailq_message_number | more&lt;/code&gt; (Read the contents of an email in your outbound queue) &lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;strong&gt;Plesk Windows Servers:&lt;/strong&gt;&lt;br /&gt;All mail related messages are stored in text files on the server. To view messages in the outbound queue, browse to:&lt;br /&gt;C:%Plesk Directory%PleskMail ServersMail EnableQueuesSMTPOutgoing&lt;br /&gt;C:%Plesk Directory%PleskMail ServersMail EnableQueuesSMTPInbound (for incoming)&lt;br /&gt;Right click on any of these files and open in Notepad. &lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;p class=&quot;note&quot; style=&quot;display: none&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;&lt;strong&gt;NOTE:&lt;/strong&gt;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.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;display&quot; title=&quot;exim&quot;&gt;&lt;a href=&quot;http://help.securepaynet.net/topic/83/article/1456?prog_id=powerhoster#exim&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;Check Exim Mail Settings in cPanel&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class=&quot;stretcher-container&quot; style=&quot;display: none; haslayout: false&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;On cPanel servers, make sure you have &lt;code&gt;:fail:&lt;/code&gt; instead of &lt;code&gt;:blackhole:&lt;/code&gt; for your Exim mail settings. An article at &lt;/font&gt;&lt;a href=&quot;http://www.configserver.com/free/fail.html&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;&lt;a href=&quot;http://www.configserver.com/free/fail.html&quot; title=&quot;http://www.configserver.com/free/fail.html&quot; target=&quot;_blank&quot;&gt;http://www.configserver.com/free/fail.html&lt;/a&gt;&lt;/font&gt;&lt;/a&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt; details the differences between the two settings.&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;stretcher-container&quot; style=&quot;display: none; haslayout: false&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;To set the default mail behavior to &lt;code&gt;:fail:&lt;/code&gt;, you will want to execute the following command through SSH:&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;hacker&quot; style=&quot;display: none; haslayout: false&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;echo &quot;defaultmailaction=fail&quot; &gt;&gt; /var/cpanel/cpanel.config&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;stretcher-container&quot; style=&quot;display: none; haslayout: false&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;If your domains are set to &lt;code&gt;:fail:&lt;/code&gt;, and your logs still show suspicious traffic that leads to continuous relay usage, then you most likely have problems with the Exim Callout system.&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;stretcher-container&quot; style=&quot;display: none; haslayout: false&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;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 &quot;mainlog&quot; and uses a SMTP relay.&lt;/font&gt;&lt;/p&gt;&lt;p class=&quot;stretcher-container&quot; style=&quot;display: none; haslayout: false&quot;&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;You can disable this feature by following these steps:&lt;/font&gt;&lt;/p&gt;&lt;div class=&quot;stretcher-container&quot; style=&quot;display: none; haslayout: false&quot;&gt;&lt;ol&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;Log into WebHost Manager &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;Click on &lt;strong&gt;Exim Configuration Editor&lt;/strong&gt; under the &lt;strong&gt;Service Configuration&lt;/strong&gt; area of the left-hand toolbar. &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;In the second gray area titled &lt;strong&gt;Options&lt;/strong&gt; you will see 4 checkboxes &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot; size=&quot;2&quot;&gt;Uncheck the third checkbox &lt;strong&gt;Use callouts to verify the existence of email senders&lt;/strong&gt; &lt;/font&gt;&lt;/li&gt;&lt;li&gt;&lt;font face=&quot;Verdana, Geneva, Arial, Helvetica, sans-serif&quot;&gt;&lt;font size=&quot;2&quot;&gt;Click &lt;strong&gt;Save&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;br /&gt;</summary>
    </entry>
</feed>

