<?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>Fri, 03 Feb 2012 13:47:23 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Enhanced e-mail SPAM protection in ISPConfig 3</title><link>http://www.faqforge.com/linux/enhanced-e-mail-spam-protection-in-ispconfig-3/</link> <comments>http://www.faqforge.com/linux/enhanced-e-mail-spam-protection-in-ispconfig-3/#comments</comments> <pubDate>Mon, 21 Nov 2011 10:22:41 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[CentOS]]></category> <category><![CDATA[Controlpanels]]></category> <category><![CDATA[Debian]]></category> <category><![CDATA[Distributions]]></category> <category><![CDATA[Email]]></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=1312</guid> <description><![CDATA[The command below enables a stricter SPAM handling for postfix on ISPConfig 3 servers. In Detail: Reject sender hostnames with invalid syntax Reject sender hostnames that are no fully qualified domains (e.g. reject &#8220;server1&#8243; but allow server1.domain.tld) Reject sender domains that have no DNS records Check sender IP addresses against realtime blacklists. First make a [...]]]></description> <content:encoded><![CDATA[<p>The command below enables a stricter SPAM handling for postfix on ISPConfig 3 servers.</p><p>In Detail:</p><ul><li>Reject sender hostnames with invalid syntax</li><li>Reject sender hostnames that are no fully qualified domains (e.g. reject &#8220;server1&#8243; but allow server1.domain.tld)</li><li>Reject sender domains that have no DNS records</li><li>Check sender IP addresses against realtime blacklists.</li></ul><p>First make a backup of the postfix main.cf file in case that you want to reverse the changes later:</p><p
class="command">cp -pf /etc/postfix/main.cf /etc/postfix/main.cf.bak</p><p>Then execute this command to enable the additional spam protection functions (the command is one line!).</p><p
class="command">postconf -e &#8216;smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_unauth_destination, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_rbl_client cbl.abuseat.org,reject_rbl_client dul.dnsbl.sorbs.net,reject_rbl_client ix.dnsbl.manitu.net, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination&#8217;</p><p>Then restart postfix:</p><p
class="command">/etc/init.d/postfix restart</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/enhanced-e-mail-spam-protection-in-ispconfig-3/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Send all outgoing email trough one IP address in postfix</title><link>http://www.faqforge.com/linux/send-all-outgoing-email-trough-one-ip-address-in-postfix/</link> <comments>http://www.faqforge.com/linux/send-all-outgoing-email-trough-one-ip-address-in-postfix/#comments</comments> <pubDate>Tue, 25 Oct 2011 13:59:05 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Basics]]></category> <category><![CDATA[CentOS]]></category> <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[bind]]></category> <category><![CDATA[postfix]]></category> <category><![CDATA[smtp_bind_address]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=1028</guid> <description><![CDATA[When a server has more then one IP address, then postfix will use all IP addresses randomly to send out emails. This can cause your emails to be listed as SPAM on other servers because the sending IP does not match the reverse IP of the server hostname. The solution is to bind postfix to [...]]]></description> <content:encoded><![CDATA[<p>When a server has more then one IP address, then postfix will use all IP addresses randomly to send out emails. This can cause your emails to be listed as SPAM on other servers because the sending IP does not match the reverse IP of the server hostname. The solution is to bind postfix to the primary IP address of the server.</p><p>Edit the postfix main.cf file:</p><p
class="command">vi /etc/postfix/main.cf</p><p>and add the line:</p><p
class="command">smtp_bind_address = 192.168.0.1</p><p>were 192.168.0.1 has to be replaced with the primary IP address of the server. Then restart postfix:</p><p
class="command">/etc/init.d/postfix restart</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/send-all-outgoing-email-trough-one-ip-address-in-postfix/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Fix for OpenSuSE error: postfix/master: fatal: 0.0.0.0:smtps: Servname not supported for ai_socktype</title><link>http://www.faqforge.com/linux/fix-for-opensuse-error-postfixmaster-fatal-0-0-0-0smtps-servname-not-supported-for-ai_socktype/</link> <comments>http://www.faqforge.com/linux/fix-for-opensuse-error-postfixmaster-fatal-0-0-0-0smtps-servname-not-supported-for-ai_socktype/#comments</comments> <pubDate>Thu, 06 Oct 2011 09:00:06 +0000</pubDate> <dc:creator>Till</dc:creator> <category><![CDATA[Email]]></category> <category><![CDATA[Linux & Unix]]></category> <category><![CDATA[Server]]></category> <category><![CDATA[OpenSuSE]]></category> <category><![CDATA[postfix]]></category><guid
isPermaLink="false">http://www.faqforge.com/?p=734</guid> <description><![CDATA[You might see the error: postfix/master[5309]: fatal: 0.0.0.0:smtps: Servname not supported for ai_socktype On a OpenSuSE server when you enable smtps in postfix master.cf file. The reason for the error is that the definition of the smtps port in /etc/services is missing. Solution Edit the /etc/services file vi /etc/services and add the following lines: smtps [...]]]></description> <content:encoded><![CDATA[<p>You might see the error:</p><p
class="system">postfix/master[5309]: fatal: 0.0.0.0:smtps: Servname not supported for ai_socktype</p><p>On a OpenSuSE server when you enable smtps in postfix master.cf file. The reason for the error is that the definition of the smtps port in /etc/services is missing.</p><p><strong>Solution</strong></p><p>Edit the /etc/services file</p><p
class="command">vi /etc/services</p><p>and add the following lines:</p><p
class="system">smtps 465/tcp # Secure SMTP<br
/> smtps 465/udp # Secure SMTP</p><p>Then restart postfix</p><p
class="command">/etc/init.d/postfix restart</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/fix-for-opensuse-error-postfixmaster-fatal-0-0-0-0smtps-servname-not-supported-for-ai_socktype/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <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[<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</p><p
class="command">vi /etc/postfix/master.cf</p><p>and remove the # in front of the line:</p><p
class="system">#submission inet n      &#8211;       n       &#8211;       &#8211;       smtpd</p><p>so that it looks like this:</p><p
class="system">submission inet n      &#8211;       n       &#8211;       &#8211;       smtpd</p><p>and restart postfix:</p><p
class="command">/etc/init.d/postfix restart</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-enable-port-587-submission-in-postfix/feed/</wfw:commentRss> <slash:comments>4</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- &#8211;Size&#8211; &#8212;-Arrival Time&#8212;- -Sender/Recipient&#8212;&#8212;- 501CA23B43DB     2182 Thu Dec  3 14:24:39  test@yourdomain.com (Host or domain [...]]]></description> <content:encoded><![CDATA[<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></p><p
class="command">postqueue -p</p><p>The output looks like this:</p><p
class="command">root@server:/# postqueue -p<br
/> -Queue ID- &#8211;Size&#8211; &#8212;-Arrival Time&#8212;- -Sender/Recipient&#8212;&#8212;-<br
/> 501CA23B43DB     2182 Thu Dec  3 14:24:39  test@yourdomain.com<br
/> (Host or domain name not found. Name service error for name=otherdomain.com type=MX: Host not found, try again)<br
/> info@otherdomain.com</p><p>&#8211; 8 Kbytes in 1 Requests.</p><p><strong>Delete a message by message ID</strong></p><p
class="command">postsuper -d MessageID</p><p>replace MessageID with the ID of the message, e.g. 501CA23B43DB</p><p
class="command">root@server:/# postsuper -d 501CA23B43DB<br
/> postsuper: 501CA23B43DB: removed<br
/> postsuper: Deleted: 1 message</p><p><strong>Remove emails by sender</strong></p><p
class="command">mailq | tail +2 | awk &#8216;BEGIN { RS = &#8220;&#8221; }<br
/> # $7=sender, $8=recipient1, $9=recipient2<br
/> { if ($7 == &#8220;info@otherdomain.com&#8221; &amp;&amp; $9 == &#8220;&#8221;)<br
/> print $1 }<br
/> &#8216; | tr -d &#8216;*!&#8217; | postsuper -d -</p><p>replace &#8220;info@otherdomain.com&#8221; with the sender email address.</p><p><strong>Remove emails by recipient</strong></p><p
class="command">mailq | tail +2 | awk &#8216;BEGIN { RS = &#8220;&#8221; }<br
/> # $7=sender, $8=recipient1, $9=recipient2<br
/> { if ($8 == &#8220;you@yourdomain.com&#8221; &amp;&amp; $9 == &#8220;&#8221;)<br
/> print $1 }<br
/> &#8216; | tr -d &#8216;*!&#8217; | postsuper -d -</p><p>replace you@yourdomain.com with the recipient email address.</p><p><strong>Remove emails by sender hostname</strong></p><p
class="command">mailq | grep senderhostname | awk ‘{ print $1′} | postsuper -d -</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:</p><p
class="command">postsuper -h ALL</p><p>to move the messages back to the incoming queue, use the command:</p><p
class="command">postsuper -r ALL</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[<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:</p><p
class="command">vi /etc/postfix/master.cf</p><p>and remove the # in front of the smtps line. Example for Debain 5, change the line:</p><p
class="command">#smtps     inet  n       -       -       -       -       smtpd</p><p>to:</p><p
class="command">smtps     inet  n       -       -       -       -       smtpd</p><p>and restart postfix:</p><p
class="command">/etc/init.d/postfix restart</p> ]]></content:encoded> <wfw:commentRss>http://www.faqforge.com/linux/how-to-enable-port-465-smtps-in-postfix-mailserver/feed/</wfw:commentRss> <slash:comments>6</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 &#8211;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[<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:</p><p
class="command">/etc/init.d/postfix stop<br
/> rpm -e &#8211;nodeps postfix</p><p>Download the postfix source RPM and install it:</p><p
class="command">cd /tmp<br
/> wget http://mirror.rackspace.com/CentOS/5.3/os/SRPMS/postfix-2.3.3-2.1.el5_2.src.rpm<br
/> rpm -i postfix-2.3.3-2.1.el5_2.src.rpm</p><p>Edit the spec file to enable MySQL support.</p><p
class="command">vi /usr/src/redhat/SPECS/postfix.spec</p><p>and change the line:</p><p
class="system">%define MYSQL 0</p><p>to:</p><p
class="system">%define MYSQL 1</p><p>Install a few prerequisites before we build the new postfix RPM package</p><p
class="command">yum install pcre-devel mysql-devel</p><p>Build the postfix RPM with MySQL support:</p><p
class="command">rpmbuild -ba /usr/src/redhat/SPECS/postfix.spec</p><p>and install it.</p><p
class="command">cd /usr/src/redhat/RPMS/x86_64<br
/> rpm -i postfix-2.3.3-2.1.x86_64.rpm</p><p>Start postfix and configure it to be started at boot time:</p><p
class="command">/etc/init.d/postfix start<br
/> chkconfig &#8211;levels 235 postfix on</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>4</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[<p>If you get an error like:</p><p
class="system">Aug 21 12:41:03 webb4 postfix/sendmail[11234]: fatal: web1_user(12967): queue file write error</p><p>in your mail log, then the vale for message_size_limit in postfix main.cf is too low. Edit postfix main.cf:</p><p
class="command">vi /etc/postfix/main.cf</p><p>and set the message size limit to a higher value. E.g.</p><p
class="system">mesage_size_limit = 900000000</p><p>and restart postfix:</p><p
class="command">/etc/init.d/postfix restart</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: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/5 queries in 0.010 seconds using disk: basic
Object Caching 1260/1260 objects using disk: basic

Served from: www.faqforge.com @ 2012-02-04 23:17:14 -->
