<?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>FAQforge &#187; postfix</title> <atom:link href="http://www.faqforge.com/tag/postfix/feed/" rel="self" type="application/rss+xml" /><link>http://www.faqforge.com</link> <description>Just another WordPress weblog</description> <lastBuildDate>Tue, 07 Sep 2010 19:06:55 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>How to enable port 587 (submission) in postfix</title><link>http://www.faqforge.com/linux/how-to-enable-port-587-submission-in-postfix/</link> <comments>http://www.faqforge.com/linux/how-to-enable-port-587-submission-in-postfix/#comments</comments> <pubDate>Mon, 26 Apr 2010 09:36:13 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[Email]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[postfix]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=458</guid> <description><![CDATA[Some internet access providers have port 25 disabled in their routers to prevent spam. If you run your own mailserver in a datacenter, you might have to enable the submission port (587) in postfix to be able to send emails from your local email client to your own mailserver. To enable port 587, edit the [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-enable-port-587-submission-in-postfix%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-enable-port-587-submission-in-postfix%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>Some internet access providers have port 25 disabled in their routers to prevent spam. If you run your own mailserver in a datacenter, you might have to enable the submission port (587) in postfix to be able to send emails from your local email client to your own mailserver.</p><p>To enable port 587, edit the file /etc/postfix/master.cf<br
/><p
class="command">vi /etc/postfix/master.cf</p><br
/> and remove the # in front of the line:<br
/><p
class="system">#submission inet n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; smtpd</p><br
/> so that it looks like this:<br
/><p
class="system">submission inet n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; smtpd</p><br
/> and restart postfix:<br
/><p
class="command">/etc/init.d/postfix restart</p></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-enable-port-587-submission-in-postfix/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Manage the postfix mailqueue with postsuper, postqueue und mailq</title><link>http://www.faqforge.com/linux/server/manage-the-postfix-mailqueue-with-postsuper-postqueue-und-mailq/</link> <comments>http://www.faqforge.com/linux/server/manage-the-postfix-mailqueue-with-postsuper-postqueue-und-mailq/#comments</comments> <pubDate>Fri, 04 Dec 2009 14:31:12 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[Email]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[postfix]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=339</guid> <description><![CDATA[Postfix provides with postsuper, postqueue and mailq some  shell utilitys to manage the mailqueue. Here are some examples for common tasks: List all messages that are in the mailqueue postqueue -p The output looks like this: root@server:/# postqueue -p -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 501CA23B43DB     2182 Thu Dec  3 14:24:39  test@yourdomain.com (Host or domain [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fserver%2Fmanage-the-postfix-mailqueue-with-postsuper-postqueue-und-mailq%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fserver%2Fmanage-the-postfix-mailqueue-with-postsuper-postqueue-und-mailq%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>Postfix provides with postsuper, postqueue and mailq some  shell utilitys to manage the mailqueue.</p><p>Here are some examples for common tasks:</p><p><strong>List all messages that are in the mailqueue</strong><br
/><p
class="command">postqueue -p</p></p><p>The output looks like this:<br
/><pre><p class="command">root@server:/# postqueue -p
-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
501CA23B43DB     2182 Thu Dec  3 14:24:39  test@yourdomain.com
(Host or domain name not found. Name service error for name=otherdomain.com type=MX: Host not found, try again)
info@otherdomain.com

-- 8 Kbytes in 1 Requests.

&lt;strong&gt;Delete a message by message ID&lt;/strong&gt;
&lt;p class=&quot;command&quot;&gt;postsuper -d MessageID</p></pre></p><p>replace MessageID with the ID of the message, e.g. 501CA23B43DB<br
/><pre><p class="command">root@server:/# postsuper -d 501CA23B43DB
postsuper: 501CA23B43DB: removed
postsuper: Deleted: 1 message

&lt;strong&gt;Remove emails by sender&lt;/strong&gt;
&lt;p class=&quot;command&quot;&gt;mailq | tail +2 | awk &#039;BEGIN { RS = &quot;&quot; }
# $7=sender, $8=recipient1, $9=recipient2
{ if ($7 == &quot;info@otherdomain.com&quot; &amp;amp;&amp;amp; $9 == &quot;&quot;)
print $1 }
&#039; | tr -d &#039;*!&#039; | postsuper -d -

replace &quot;info@otherdomain.com&quot; with the sender email address.

&lt;strong&gt;Remove emails by recipient&lt;/strong&gt;
&lt;p class=&quot;command&quot;&gt;mailq | tail +2 | awk &#039;BEGIN { RS = &quot;&quot; }
# $7=sender, $8=recipient1, $9=recipient2
{ if ($8 == &quot;you@yourdomain.com&quot; &amp;amp;&amp;amp; $9 == &quot;&quot;)
print $1 }
&#039; | tr -d &#039;*!&#039; | postsuper -d -

replace you@yourdomain.com with the recipient email address.

&lt;strong&gt;Remove emails by sender hostname&lt;/strong&gt;
&lt;p class=&quot;command&quot;&gt;mailq | grep senderhostname | awk ‘{ print $1′} | postsuper -d -</p></pre></p><p>replace the word &#8220;senderhostname&#8221; with the hostname of the email sender.</p><p>If your server has very high load and you want to temporarily move all message from the incoming queue to the hold queue, use the command:<br
/><p
class="command">postsuper -h ALL</p></p><p>to move the messages back to the incoming queue, use the command:<br
/><p
class="command">postsuper -r ALL</p></p><p>Instead of the word &#8220;ALL&#8221; you can also provide a specific message ID to move only one message to or from the hold queue. Message in the hold queue will not processed by postfix until they were requeued with postsuper -r.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/server/manage-the-postfix-mailqueue-with-postsuper-postqueue-und-mailq/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to enable port 465 (smtps) in postfix mailserver</title><link>http://www.faqforge.com/linux/how-to-enable-port-465-smtps-in-postfix-mailserver/</link> <comments>http://www.faqforge.com/linux/how-to-enable-port-465-smtps-in-postfix-mailserver/#comments</comments> <pubDate>Wed, 28 Oct 2009 07:54:24 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[Email]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[Mailserver]]></category> <category><![CDATA[postfix]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=271</guid> <description><![CDATA[More and more internet access providers are closing port 25 to reduce spam except for connections to their own mailservers. If you run your own mailserver and have problems to connect to it on port 25, you can enable port 465 (smtps) in postfix as a workaround. Edit the /etc/postfix/master.cf file: vi /etc/postfix/master.cf and remove [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-enable-port-465-smtps-in-postfix-mailserver%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fhow-to-enable-port-465-smtps-in-postfix-mailserver%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>More and more internet access providers are closing port 25 to reduce spam except for connections to their own mailservers. If you run your own mailserver and have problems to connect to it on port 25, you can enable port 465 (smtps) in postfix as a workaround. Edit the /etc/postfix/master.cf file:<br
/><p
class="command">vi /etc/postfix/master.cf</p></p><p>and remove the # in front of the smtps line. Example for Debain 5, change the line:<br
/><p
class="command">#smtps     inet  n       -       -       -       -       smtpd</p></p><p>to:<br
/><p
class="command">smtps     inet  n       -       -       -       -       smtpd</p></p><p>and restart postfix:<br
/><p
class="command">/etc/init.d/postfix restart</p></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-enable-port-465-smtps-in-postfix-mailserver/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Install postfix with MySQL support on CentOS 5.3 (64Bit)</title><link>http://www.faqforge.com/linux/install-postfix-with-mysql-support-on-centos-5-3-64bit/</link> <comments>http://www.faqforge.com/linux/install-postfix-with-mysql-support-on-centos-5-3-64bit/#comments</comments> <pubDate>Mon, 21 Sep 2009 13:14:59 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Email]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[postfix]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=213</guid> <description><![CDATA[The following article explains the steps to compile postfix MTA with MySQL support on CentOS 5.3 as e.g. needed for ISPConfig 3. Remove the postfix package from CentOS which does not has MySQL support: /etc/init.d/postfix stop rpm -e --nodeps postfix Download the postfix source RPM and install it: cd /tmp wget http://mirror.rackspace.com/CentOS/5.3/os/SRPMS/postfix-2.3.3-2.1.el5_2.src.rpm rpm -i postfix-2.3.3-2.1.el5_2.src.rpm [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Finstall-postfix-with-mysql-support-on-centos-5-3-64bit%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Finstall-postfix-with-mysql-support-on-centos-5-3-64bit%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>The following article explains the steps to compile postfix MTA with MySQL support on CentOS 5.3 as e.g. needed for ISPConfig 3.</p><p>Remove the postfix package from CentOS which does not has MySQL support:<br
/><pre><p class="command">/etc/init.d/postfix stop
rpm -e --nodeps postfix</p></pre><br
/> Download the postfix source RPM and install it:<br
/><pre><p class="command">cd /tmp
wget http://mirror.rackspace.com/CentOS/5.3/os/SRPMS/postfix-2.3.3-2.1.el5_2.src.rpm
rpm -i postfix-2.3.3-2.1.el5_2.src.rpm</p></pre><br
/> Edit the spec file to enable MySQL support.<br
/><p
class="command">vi /usr/src/redhat/SPECS/postfix.spec</p><br
/> and change the line:<br
/><p
class="system">%define MYSQL 0</p><br
/> to:<br
/><p
class="system">%define MYSQL 1</p><br
/> Install a few prerequisites before we build the new postfix RPM package<br
/><p
class="command">yum install pcre-devel mysql-devel</p><br
/> Build the postfix RPM with MySQL support:<br
/><p
class="command">rpmbuild -ba /usr/src/redhat/SPECS/postfix.spec</p><br
/> and install it.<br
/><pre><p class="command">cd /usr/src/redhat/RPMS/x86_64
rpm -i postfix-2.3.3-2.1.x86_64.rpm</p></pre><br
/> Start postfix and configure it to be started at boot time:<br
/><pre><p class="command">/etc/init.d/postfix start
chkconfig --levels 235 postfix on</p></pre></p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/install-postfix-with-mysql-support-on-centos-5-3-64bit/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Postfix: &#8220;queue file write error&#8221;</title><link>http://www.faqforge.com/linux/controlpanels/ispconfig2/postfix-queue-file-write-error/</link> <comments>http://www.faqforge.com/linux/controlpanels/ispconfig2/postfix-queue-file-write-error/#comments</comments> <pubDate>Fri, 21 Aug 2009 11:01:10 +0000</pubDate> <dc:creator>admin</dc:creator> <category><![CDATA[Debian]]></category> <category><![CDATA[Email]]></category> <category><![CDATA[ISPConfig 2]]></category> <category><![CDATA[ISPConfig 3]]></category> <category><![CDATA[Ubuntu]]></category> <category><![CDATA[postfix]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=169</guid> <description><![CDATA[If you get an error like: Aug 21 12:41:03 webb4 postfix/sendmail[11234]: fatal: web1_user(12967): queue file write error in your mail log, then the vale for message_size_limit in postfix main.cf is too low. Edit postfix main.cf: vi /etc/postfix/main.cf and set the message size limit to a higher value. E.g. mesage_size_limit = 900000000 and restart postfix: /etc/init.d/postfix [...]]]></description> <content:encoded><![CDATA[<div
class="tweetmeme_button" style="float: right; margin-left: 10px;"> <a
href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fpostfix-queue-file-write-error%2F"><br
/> <img
src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.faqforge.com%2Flinux%2Fcontrolpanels%2Fispconfig2%2Fpostfix-queue-file-write-error%2F&amp;source=tweetmeme&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br
/> </a></div><p>If you get an error like:<br
/><p
class="system">Aug 21 12:41:03 webb4 postfix/sendmail[11234]: fatal: web1_user(12967): queue file write error</p></p><p>in your mail log, then the vale for message_size_limit in postfix main.cf is too low. Edit postfix main.cf:<br
/><p
class="command">vi /etc/postfix/main.cf</p></p><p>and set the message size limit to a higher value. E.g.<br
/><p
class="system">mesage_size_limit = 900000000</p></p><p>and restart postfix:<br
/><p
class="command">/etc/init.d/postfix restart</p></p><p>If there is no message_size_limit set in main.cf, just add the line.</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/controlpanels/ispconfig2/postfix-queue-file-write-error/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 12/29 queries in 0.018 seconds using disk

Served from: www.faqforge.com @ 2010-09-09 17:44:38 -->