<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>David Laube&#039;s Blog &#187; Email</title>
	<atom:link href="http://www.dlaube.com/category/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dlaube.com</link>
	<description>Every linux user has a /home directory.</description>
	<lastBuildDate>Wed, 28 Feb 2024 17:04:21 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0</generator>
<meta xmlns="http://www.w3.org/1999/xhtml" name="robots" content="noindex,follow" />
	<item>
		<title>Cpanel &#8211; incorrect email disk space used</title>
		<link>http://www.dlaube.com/2010/08/cpanel-incorrect-email-disk-space-used/</link>
		<comments>http://www.dlaube.com/2010/08/cpanel-incorrect-email-disk-space-used/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 15:28:02 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.dlaube.com/?p=351</guid>
		<description><![CDATA[Control Panel -&#62; Email -&#62; Add/Remove/Manage Accounts -&#62; Show Disk Space Used When there are inconsistencies with Cpanel&#8217;s email disk space usage, you should verify the actual disk space being utilized by: (1) du -sh /home/username/mail/userdomain.com/user/ tail -1 /home/username/mail/domain.com/user/maildirsize (2) Compare the utilized disk space reported by the first du command with the bytes shown [...]]]></description>
				<content:encoded><![CDATA[<p>Control Panel -&gt; Email -&gt; Add/Remove/Manage Accounts -&gt; Show Disk Space Used</p>
<p>When there are inconsistencies with Cpanel&#8217;s email disk space usage, you should verify the actual disk space being utilized by:</p>
<p>(1)</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family: monospace;">du -sh /home/username/mail/userdomain.com/user/
tail -1 /home/username/mail/domain.com/user/maildirsize</pre>
</div>
</div>
<p>(2) Compare the utilized disk space reported by the first du command with the bytes shown in the user&#8217;s maildirsize file. If the totals reported are different delete or rename the maildirsize file (/home/username/mail/domain.com/user/maildirsize). Next, logout and then back in again within the user&#8217;s control panel and go to Control Panel -&gt; Email -&gt; Add/Remove/Manage Accounts -&gt; Show Disk Space Used</p>
<p></br></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dlaube.com/2010/08/cpanel-incorrect-email-disk-space-used/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Increasing log retention in qmail&#8217;s qmail-smtpd</title>
		<link>http://www.dlaube.com/2010/04/increasing-log-retention-in-qmails-qmail-smtpd/</link>
		<comments>http://www.dlaube.com/2010/04/increasing-log-retention-in-qmails-qmail-smtpd/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 18:07:01 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Qmail]]></category>

		<guid isPermaLink="false">http://www.dlaube.com/?p=117</guid>
		<description><![CDATA[The default qmail toaster install wont give you much in terms of log data past a 20-30 minutes on a production mail server. It quickly becomes advantageous to increase the duration of log data. You will want to set the &#8220;s&#8221; and &#8220;n&#8221; options in multilog to accomplish this. Open up your /service/qmail-smtpd/log/run file and [...]]]></description>
				<content:encoded><![CDATA[<p>The default qmail toaster install wont give you much in terms of log data past a 20-30 minutes on a production mail server. It quickly becomes advantageous to increase the duration of log data. You will want to set the &#8220;s&#8221; and &#8220;n&#8221; options in multilog to accomplish this. </p>
<p>Open up your /service/qmail-smtpd/log/run file and change;</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family: monospace;">
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd
</pre>
</div>
</div>
<p>to this&#8230;</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family: monospace;">
#!/bin/sh
#The "s16777215" option sets the size of the log file and the "n80" denotes the number of log file to keep on hand.
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t s16777215 n80 /var/log/qmail/smtpd
</pre>
</div>
</div>
<p>Then you will need to restart multilog via supervise with the following command:<br />
svc -h /service/qmail-send/log</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dlaube.com/2010/04/increasing-log-retention-in-qmails-qmail-smtpd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Dovecot] &#8211; Inotify instance limit for user exceeded, disabling?</title>
		<link>http://www.dlaube.com/2010/02/dovecot-inotify-instance-limit-for-user-exceeded-disabling/</link>
		<comments>http://www.dlaube.com/2010/02/dovecot-inotify-instance-limit-for-user-exceeded-disabling/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 01:54:29 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Qmail]]></category>

		<guid isPermaLink="false">http://dlaube.com/?p=102</guid>
		<description><![CDATA[Today I noticed a bunch of errors in the dovecot log stating &#8220;[Dovecot] &#8211; Inotify instance limit for user exceeded, disabling&#8221;. Apparently Inotify is used to notify the client immediately after new message has been received. This typically happens after the IMAP client uses the IDLE command. The solution: [root@SERVER ~]# cat /proc/sys/fs/inotify/max_user_instances 128 [root@SERVER [...]]]></description>
				<content:encoded><![CDATA[<p>Today I noticed a bunch of errors in the dovecot log stating &#8220;[Dovecot] &#8211; Inotify instance limit for user exceeded, disabling&#8221;.  Apparently Inotify is used to notify<br />
the client immediately after new message has been received. This typically happens after the IMAP client uses the IDLE command.</p>
<p>The solution:</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">
[root@SERVER ~]# cat /proc/sys/fs/inotify/max_user_instances
128
[root@SERVER ~]# echo "256" > /proc/sys/fs/inotify/max_user_instances
[root@SERVER ~]#
</pre>
</div>
</div>
<p>Dovecot shouldn&#8217;t need to be restarted, but you can choose to do so&#8230;. or can you?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dlaube.com/2010/02/dovecot-inotify-instance-limit-for-user-exceeded-disabling/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>.qmail-default files with nonexistent catchall</title>
		<link>http://www.dlaube.com/2010/02/qmail-default-files-with-nonexistent-catchall/</link>
		<comments>http://www.dlaube.com/2010/02/qmail-default-files-with-nonexistent-catchall/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 15:46:40 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Qmail]]></category>

		<guid isPermaLink="false">http://dlaube.com/?p=46</guid>
		<description><![CDATA[On servers where a catchall has been setup using the qmailadmin web interface, it is possible for postmasters to delete an email account that was setup as a catchall account (in this case; johnsmith@example.com). When this occurs, the .qmail-default file is not updated. Assuming said catchall was already designated prior to removal, mail is accepted [...]]]></description>
				<content:encoded><![CDATA[<p>On servers where a catchall has been setup using the qmailadmin web interface, it is possible for postmasters to delete an email account that was setup as a catchall account (in this case; johnsmith@example.com). When this occurs, the .qmail-default file is not updated. Assuming said catchall was already designated prior to removal, mail is accepted for any-random-user@example.com and messages are deferred when delivery to /home/vpopmail/domains/P/earthwire.com/johnsmith is attempted. <strong>This can cause the qmail queue to grow over time when you have many users with this scenario.</strong></p>
<p>A problem /home/vpopmail/domains/P/example.com/.qmail-default file:</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">
| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/P/earthwire.com/johnsmith
</pre>
</div>
</div>
<p>
What a nonexistent qmail user directory deferral looks like;</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">
/var/log/qmail/current:
@400000004b72cd931e35f0ac delivery 5362496: deferral: client_connect:_connect_failed:_2/user_does_not_exist,_but_will_deliver_to_/home/vpopmail/domains/P/example.com/johnsmith//can_not_open_new_email_file_errno=2_file=/home/vpopmail/domains/P/example.com/johnsmith/Maildir/tmp/1265814921.29239.qmailserver.maildomain.com,S=3149/system_error/
</pre>
</div>
</div>
<p>
A quick solution(s):</p>
<li>Login to qmailadmin and change the catchall to postmaster or another user that exists.</li>
<p>OR</p>
<li>Edit the /home/vpopmail/domains/P/example.com/.qmail-default so the user account path points to postmaster or another user that exists.
<p>
]]></content:encoded>
			<wfw:commentRss>http://www.dlaube.com/2010/02/qmail-default-files-with-nonexistent-catchall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qmailadmin feedback</title>
		<link>http://www.dlaube.com/2010/02/qmailadmin-feedback/</link>
		<comments>http://www.dlaube.com/2010/02/qmailadmin-feedback/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:05:14 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Qmail]]></category>

		<guid isPermaLink="false">http://dlaube.com/?p=13</guid>
		<description><![CDATA[Thanks. It&#8217;s working now. You have my sympathy for having to support the qmailadmin web interface. I assume I have yours for having to use it&#8230; -Random Client]]></description>
				<content:encoded><![CDATA[<blockquote><p>Thanks. It&#8217;s working now.</p>
<p>
You have my sympathy for having to support the qmailadmin web<br />
interface. I assume I have yours for having to use it&#8230; <img src="http://www.dlaube.com/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley" /></p>
<p>
-Random Client</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.dlaube.com/2010/02/qmailadmin-feedback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exim problem</title>
		<link>http://www.dlaube.com/2010/01/exim-problem/</link>
		<comments>http://www.dlaube.com/2010/01/exim-problem/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 18:48:56 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://dlaube.com/?p=3</guid>
		<description><![CDATA[While attempting to send outgoing mail through our exim relays, our Qmail mailbox was saying: @400000004b60848425285634 delivery 12799: deferral: Connected_to_216.120.xxx.xxx_but_connection_died._Possible_duplicate!_(#4.4.2)/ On the relay : 2010-01-27 13:25:31 1NaCa3-0000zJ-AT demime acl condition: error while creating mbox spool file 2010-01-27 13:25:34 1NaCa3-0000zJ-AT H=smtp-2.******.net [216.120.xxx.xxx] F=&#60;sherry@domain.com&#62; temporarily rejected after DATA This was resolved by clearing out the 30,000+ directories [...]]]></description>
				<content:encoded><![CDATA[<p>While attempting to send outgoing mail through our exim relays, our Qmail mailbox was saying:
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">
@400000004b60848425285634 delivery 12799: deferral: Connected_to_216.120.xxx.xxx_but_connection_died._Possible_duplicate!_(#4.4.2)/<p>
On the relay :
2010-01-27 13:25:31 1NaCa3-0000zJ-AT demime acl condition: error while creating mbox spool file
2010-01-27 13:25:34 1NaCa3-0000zJ-AT H=smtp-2.******.net [216.120.xxx.xxx] F=&lt;sherry@domain.com&gt; temporarily rejected after DATA
</pre>
</div>
</div>
<p>
This was resolved by clearing out the 30,000+ directories in /var/spool/exim/scan on the exim relay server left over from clamd scanning.</p>
<div class="wp_syntax">
<div class="code">
<pre class="text" style="font-family:monospace;">
/etc/rc.d/init.d/exim stop; cd /var/spool/exim/scan;  find ./ -type d -exec rm -rf {} \; /etc/rc.d/init.d/exim </pre>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.dlaube.com/2010/01/exim-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
