<?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>Mail Server &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/category/sys-admin/mail-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Fri, 27 May 2011 05:59:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>Sending A Message to All Users On Linux System</title>
		<link>https://lifelinux.com/sending-a-message-to-all-users-on-linux-system/</link>
					<comments>https://lifelinux.com/sending-a-message-to-all-users-on-linux-system/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Fri, 27 May 2011 05:49:07 +0000</pubDate>
				<category><![CDATA[Mail Server]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[alert to all users]]></category>
		<category><![CDATA[send message to all users]]></category>
		<category><![CDATA[send to all user]]></category>
		<category><![CDATA[wall -g]]></category>
		<category><![CDATA[wall command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=832</guid>

					<description><![CDATA[<p>To send a message to all users on linux system, you can use wall command, which sends a message to everybody logged in with their mesg permission set to yes. The message can be given as an argument to wall, or it can be sent to wall&#8217;s standard input. When using the standard input from [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/sending-a-message-to-all-users-on-linux-system/">Sending A Message to All Users On Linux System</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>To send a message to all users on linux system, you can use <strong>wall command</strong>, which sends a message to everybody logged in with their mesg permission set to yes. The message can be given as an argument to wall, or it can be sent to wall&#8217;s standard input. When using the standard input from a terminal, the message should be terminated with the EOF key (usually Control-D).<br />
<span id="more-832"></span></p>
<h3>Examples</h3>
<p>To send a message &#8220;Alert ! Web server under DOS attack !&#8221;, type the following command</p>
<pre>$ wall
Alert ! Web server under DOS attack !</pre>
<p>When the message content is complete, press Control-D (CTRL+D) to send message to all users.</p>
<p>To display message &#8220;Alert ! Web server under DOS attack !&#8221; to all admin group member use wall command with &#8220;–g&#8221; option as follows:</p>
<pre>$ wall -g admin
Alert ! Web server under DOS attack !</pre>
<p>When the message content is complete, press Control-D (CTRL+D) to send message to all users.</p>
<g:plusone href="https://lifelinux.com/sending-a-message-to-all-users-on-linux-system/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/sending-a-message-to-all-users-on-linux-system/">Sending A Message to All Users On Linux System</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/sending-a-message-to-all-users-on-linux-system/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Flush Sendmail Queue In Linux</title>
		<link>https://lifelinux.com/how-to-flush-sendmail-queue-in-linux/</link>
					<comments>https://lifelinux.com/how-to-flush-sendmail-queue-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Mon, 16 May 2011 00:40:04 +0000</pubDate>
				<category><![CDATA[Mail Server]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[/var/spool/mqueue]]></category>
		<category><![CDATA[Check pending mail]]></category>
		<category><![CDATA[delete sendmail queue]]></category>
		<category><![CDATA[find command]]></category>
		<category><![CDATA[Flush Sendmail Queue]]></category>
		<category><![CDATA[mailq command]]></category>
		<category><![CDATA[sendmail restart]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=574</guid>

					<description><![CDATA[<p>Check pending mail To check how many pending mail, type the following command # mailq This will give you example output like this: /var/spool/mqueue (2 requests) -----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient----------- p4BHPCuP002174 105 Thu May 12 00:25 mualaco (host map: lookup (nixonbox.com): deferred) pedromelon@nixonbox.com p4B8uNPZ023735 1000 Wed May 11 15:56 saigonlab (host map: lookup (gmail.com.vn): deferred) [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-flush-sendmail-queue-in-linux/">How To Flush Sendmail Queue In Linux</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><h3>Check pending mail</h3>
<p>To check how many pending mail, type the following command</p>
<pre>
# mailq
</pre>
<p><span id="more-574"></span><br />
This will give you example output like this:</p>
<pre>
 /var/spool/mqueue (2 requests)
-----Q-ID----- --Size-- -----Q-Time----- ------------Sender/Recipient-----------
p4BHPCuP002174      105 Thu May 12 00:25 mualaco
                 (host map: lookup (nixonbox.com): deferred)
                                         pedromelon@nixonbox.com
p4B8uNPZ023735     1000 Wed May 11 15:56 saigonlab
                 (host map: lookup (gmail.com.vn): deferred)
                                         tranhai.ht.83@gmail.com.vn
                Total requests: 2
</pre>
<p>There are several techniques to delete sendmail queue</p>
<h3>Manually removed pending mails</h3>
<p>Type the following commands</p>
<pre>
# rm -rf /var/spool/mqueue
# rm -rf /var/spool/clientmqueue
</pre>
<p>Final, restart mail service with the following command</p>
<pre>
# /etc/init.d/sendmail restart
</pre>
<p>Output like this</p>
<pre>
Shutting down sm-client:                                   [  OK  ]
Shutting down sendmail:                                    [  OK  ]
Starting sendmail:                                         [  OK  ]
Starting sm-client:                                        [  OK  ]
</pre>
<p>You can also use find command to remove &#8220;Deferred: Connection refused&#8221; queues</p>
<pre>
# find /var/spool/mqueue -type f -exec grep "Deferred: Connection refused" {} \; -exec rm -rf {} \;
</pre>
<g:plusone href="https://lifelinux.com/how-to-flush-sendmail-queue-in-linux/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-flush-sendmail-queue-in-linux/">How To Flush Sendmail Queue In Linux</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-flush-sendmail-queue-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Manage Postfix Mailbox Size</title>
		<link>https://lifelinux.com/how-to-manage-postfix-mailbox-size/</link>
					<comments>https://lifelinux.com/how-to-manage-postfix-mailbox-size/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sun, 15 May 2011 01:10:05 +0000</pubDate>
				<category><![CDATA[Mail Server]]></category>
		<category><![CDATA[default mailbox]]></category>
		<category><![CDATA[hard disk space]]></category>
		<category><![CDATA[Mail server]]></category>
		<category><![CDATA[mailbox size limit]]></category>
		<category><![CDATA[Postfix]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=548</guid>

					<description><![CDATA[<p>How do you managing the mailbox size for users configured with the Postfix mail server ?. And how to avoid &#8220;error writing message: File too large&#8221; ? Setup new mailbox size limit Login as root and type the following command to edit main.cf vi /etc/postfix/main.cf Default, the limit for any local mailbox or maildir is [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-manage-postfix-mailbox-size/">How to Manage Postfix Mailbox Size</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>How do you managing the mailbox size for users configured with the Postfix mail server ?. And how to avoid &#8220;<span style="color: #ff0000;">error writing message: File too large</span>&#8221; ?<span id="more-548"></span></p>
<h3>Setup new mailbox size limit</h3>
<p>Login as root and type the following command to edit main.cf</p>
<pre>vi /etc/postfix/main.cf</pre>
<p>Default, the limit for any local mailbox or maildir is 50 MB but,  this can easily be changed with by using this directive in the main.cf file.</p>
<pre>mailbox_size_limit=102400000</pre>
<p>This changes the mailbox limit to 100 MB.  Or you can make it umlimited by using a &#8220;0&#8221;.</p>
<pre>mailbox_size_limit=0</pre>
<h3>Setup new message size limit</h3>
<p>Default message size is 1 MB, example changes the message size limit to 2MB. Open file /etc/postfix/main.cf and add/modify/set values as follows</p>
<pre>message_size_limit = 2048000</pre>
<h3>Review the current settings</h3>
<p>If you would like to review the current settings on your Postfix server use this command</p>
<pre>postconf -d | grep size_limit</pre>
<p>Sample outputs</p>
<pre>body_checks_size_limit = 51200
bounce_size_limit = 50000
header_size_limit = 102400
mailbox_size_limit = 102400000
message_size_limit = 2048000</pre>
<g:plusone href="https://lifelinux.com/how-to-manage-postfix-mailbox-size/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-manage-postfix-mailbox-size/">How to Manage Postfix Mailbox Size</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-manage-postfix-mailbox-size/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
