<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Postfix configuration - Red Hat Linux 6.4 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6276155#M54469</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured postfix on a Red Hat Linux 6.4. I am trying to send an email from one server in the same domain to other server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From &lt;A href="mailto:root@servername.example.com" target="_blank"&gt;root@servername.example.com&lt;/A&gt; to&amp;nbsp;&lt;A href="mailto:root@servername2.example.com" target="_blank"&gt;root@servername2.example.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ mail -s "test" &lt;A href="mailto:root@servername2.example.com" target="_blank"&gt;root@servername2.example.com&lt;/A&gt; &amp;lt; /tmp/file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting "No route to host" error while trying this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nov 20 18:38:43&amp;nbsp;servername postfix/qmgr[7797]: 9CC97336: from=&amp;lt;&lt;A href="mailto:root@deherwsvlmr001.wsint.biz" target="_blank"&gt;root@servername.example.com&lt;/A&gt;&amp;gt;, size=1863, nrcpt=1 (queue active)&lt;BR /&gt;Nov 20 18:38:43 servername postfix/smtp[8449]: connect to servername.example.com:25: No route to host&lt;BR /&gt;Nov 20 18:38:43&amp;nbsp;servername postfix/smtp[8449]: 9CC97336: to=&amp;lt;&lt;A href="mailto:root@deherwsvlmr002.wsint.biz" target="_blank"&gt;root@&lt;/A&gt;servername.example.com&amp;gt;, relay=none, delay=2409, delays=2409/0.01/0/0, dsn=4.4.1, status=deferred (connect to servername2.example.com[10.XXX.XX.XX]:25 No route to host)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# postconf -n&lt;BR /&gt;alias_database = hash:/etc/aliases&lt;BR /&gt;alias_maps = hash:/etc/aliases&lt;BR /&gt;command_directory = /usr/sbin&lt;BR /&gt;config_directory = /etc/postfix&lt;BR /&gt;daemon_directory = /usr/libexec/postfix&lt;BR /&gt;data_directory = /var/lib/postfix&lt;BR /&gt;debug_peer_level = 2&lt;BR /&gt;default_privs = nobody&lt;BR /&gt;html_directory = no&lt;BR /&gt;inet_interfaces = $myhostname, localhost&lt;BR /&gt;inet_protocols = all&lt;BR /&gt;mail_owner = postfix&lt;BR /&gt;mailq_path = /usr/bin/mailq.postfix&lt;BR /&gt;manpage_directory = /usr/share/man&lt;BR /&gt;mydestination = $myhostname, localhost.$mydomain, localhost&lt;BR /&gt;mydomain = example.com&lt;/P&gt;&lt;P&gt;myhostname = servername.example.com&lt;BR /&gt;mynetworks = 10.XXX.XX.0/28, 127.0.0.0/8&lt;BR /&gt;myorigin = $mydomain&lt;BR /&gt;newaliases_path = /usr/bin/newaliases.postfix&lt;BR /&gt;queue_directory = /var/spool/postfix&lt;BR /&gt;readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES&lt;BR /&gt;sample_directory = /usr/share/doc/postfix-2.6.6/samples&lt;BR /&gt;sendmail_path = /usr/sbin/sendmail.postfix&lt;BR /&gt;setgid_group = postdrop&lt;BR /&gt;unknown_local_recipient_reject_code = 550&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know what could be the issue. I am not trying&amp;nbsp;to send&amp;nbsp;any email to an external domain. I just want to send email&amp;nbsp;between same domain and between TWO servers which are on the same subnet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;telnet is disabled and hence I cannot try telnet &amp;lt;remote host&amp;gt; 25.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raja&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Nov 2013 17:49:42 GMT</pubDate>
    <dc:creator>Raja_b02</dc:creator>
    <dc:date>2013-11-20T17:49:42Z</dc:date>
    <item>
      <title>Postfix configuration - Red Hat Linux 6.4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6276155#M54469</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have configured postfix on a Red Hat Linux 6.4. I am trying to send an email from one server in the same domain to other server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From &lt;A href="mailto:root@servername.example.com" target="_blank"&gt;root@servername.example.com&lt;/A&gt; to&amp;nbsp;&lt;A href="mailto:root@servername2.example.com" target="_blank"&gt;root@servername2.example.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ mail -s "test" &lt;A href="mailto:root@servername2.example.com" target="_blank"&gt;root@servername2.example.com&lt;/A&gt; &amp;lt; /tmp/file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting "No route to host" error while trying this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nov 20 18:38:43&amp;nbsp;servername postfix/qmgr[7797]: 9CC97336: from=&amp;lt;&lt;A href="mailto:root@deherwsvlmr001.wsint.biz" target="_blank"&gt;root@servername.example.com&lt;/A&gt;&amp;gt;, size=1863, nrcpt=1 (queue active)&lt;BR /&gt;Nov 20 18:38:43 servername postfix/smtp[8449]: connect to servername.example.com:25: No route to host&lt;BR /&gt;Nov 20 18:38:43&amp;nbsp;servername postfix/smtp[8449]: 9CC97336: to=&amp;lt;&lt;A href="mailto:root@deherwsvlmr002.wsint.biz" target="_blank"&gt;root@&lt;/A&gt;servername.example.com&amp;gt;, relay=none, delay=2409, delays=2409/0.01/0/0, dsn=4.4.1, status=deferred (connect to servername2.example.com[10.XXX.XX.XX]:25 No route to host)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# postconf -n&lt;BR /&gt;alias_database = hash:/etc/aliases&lt;BR /&gt;alias_maps = hash:/etc/aliases&lt;BR /&gt;command_directory = /usr/sbin&lt;BR /&gt;config_directory = /etc/postfix&lt;BR /&gt;daemon_directory = /usr/libexec/postfix&lt;BR /&gt;data_directory = /var/lib/postfix&lt;BR /&gt;debug_peer_level = 2&lt;BR /&gt;default_privs = nobody&lt;BR /&gt;html_directory = no&lt;BR /&gt;inet_interfaces = $myhostname, localhost&lt;BR /&gt;inet_protocols = all&lt;BR /&gt;mail_owner = postfix&lt;BR /&gt;mailq_path = /usr/bin/mailq.postfix&lt;BR /&gt;manpage_directory = /usr/share/man&lt;BR /&gt;mydestination = $myhostname, localhost.$mydomain, localhost&lt;BR /&gt;mydomain = example.com&lt;/P&gt;&lt;P&gt;myhostname = servername.example.com&lt;BR /&gt;mynetworks = 10.XXX.XX.0/28, 127.0.0.0/8&lt;BR /&gt;myorigin = $mydomain&lt;BR /&gt;newaliases_path = /usr/bin/newaliases.postfix&lt;BR /&gt;queue_directory = /var/spool/postfix&lt;BR /&gt;readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES&lt;BR /&gt;sample_directory = /usr/share/doc/postfix-2.6.6/samples&lt;BR /&gt;sendmail_path = /usr/sbin/sendmail.postfix&lt;BR /&gt;setgid_group = postdrop&lt;BR /&gt;unknown_local_recipient_reject_code = 550&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know what could be the issue. I am not trying&amp;nbsp;to send&amp;nbsp;any email to an external domain. I just want to send email&amp;nbsp;between same domain and between TWO servers which are on the same subnet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;telnet is disabled and hence I cannot try telnet &amp;lt;remote host&amp;gt; 25.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2013 17:49:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6276155#M54469</guid>
      <dc:creator>Raja_b02</dc:creator>
      <dc:date>2013-11-20T17:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Postfix configuration - Red Hat Linux 6.4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6276273#M54470</link>
      <description />
      <pubDate>Wed, 20 Nov 2013 19:49:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6276273#M54470</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2013-11-20T19:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Postfix configuration - Red Hat Linux 6.4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6277047#M54472</link>
      <description>&lt;P&gt;When the error message is "No route to host", the problem is usually at the IP routing level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A TCP traceroute might be helpful: run "traceroute -T -p 25 servername2.example.com".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your "mynetworks" setting of 10.XXX.XX.0/28 is correct for your local network segment, then there are three possible situations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the IP address of servername2.example.com is between 10.XXX.XX.[1 .. 14], then servername2 should be directly reachable by your server, and "No route to host" error would mean a serious error with your routing table or some mistake with iptables rules. The outputs of "route -n", "iptables -L -nv" and "iptables -L -nv -t nat" should be checked. If you find any settings that don't make sense for your network, they should be changed.&lt;/LI&gt;&lt;LI&gt;If the last part of the IP address of servername2.example.com is higher than .15, or the 10.XXX.XX part is different, then the connection must go through your gateway/router, and the "No route to host" error means that the router is telling you it does not know how to pass IP packets from your server to servername2.example.com. You would need to check the configuration of the router in that case.&lt;/LI&gt;&lt;LI&gt;the comedy option: if the last part of the IP address of servername2.example.com is exactly .15, you're trying to use the broadcast IP address of your local network segment as a regular host address, which is not a good idea.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Disabling telnet" usually means disabling telnet &lt;EM&gt;servers&lt;/EM&gt; and/or blocking the TCP port 23, to make any normal telnet connection attempts fail. Disabling a telnet &lt;EM&gt;client&lt;/EM&gt; is usually futile, since a minimal telnet client can probably be implemented with a small Perl script: an evil person can memorize the script and just type (or copy&amp;amp;paste) it to any system where the standard telnet client has been disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the telnet client is used with a different port number, it is usually used to test other TCP-based network services: in this case, it does not need the telnet server at all. The basic telnet protocol is so simple that it can be used to test the basic connectivity and even functionality of many TCP-based protocols like SMTP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have the netcat command (nc) available, you can use it for basic connectivity testing much like the telnet command: netcat is actually much more flexible for that purpose than the telnet client, as it has much more options useful for testing purposes. But if the telnet client has been disabled because of a security policy, then I would expect that netcat is forbidden too... assuming that the security policy is consistent, which may be too much to ask sometimes :-/&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2013 08:59:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6277047#M54472</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-11-21T08:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Postfix configuration - Red Hat Linux 6.4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6278611#M54474</link>
      <description>&lt;P&gt;Thank you MK, the issue is resolved now. I had to&amp;nbsp; ADD few IPTABLE entries for&amp;nbsp;SMTP to make this work. This is what I have implemented on Red Hat 6.4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;iptables -L&lt;BR /&gt;Chain INPUT (policy ACCEPT)&lt;BR /&gt;target&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prot opt source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; destination&lt;BR /&gt;ACCEPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all&amp;nbsp; --&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; state RELATED,ESTABLISHED&lt;BR /&gt;ACCEPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; icmp --&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anywhere&lt;BR /&gt;ACCEPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all&amp;nbsp; --&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anywhere&lt;BR /&gt;ACCEPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcp&amp;nbsp; --&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; state NEW tcp dpt:ssh&lt;BR /&gt;ACCEPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcp&amp;nbsp; --&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcp dpt:smtp state NEW,ESTABLISHED&lt;BR /&gt;REJECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all&amp;nbsp; --&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reject-with icmp-host-prohibited&lt;/P&gt;&lt;P&gt;Chain FORWARD (policy ACCEPT)&lt;BR /&gt;target&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prot opt source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; destination&lt;BR /&gt;REJECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; all&amp;nbsp; --&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reject-with icmp-host-prohibited&lt;/P&gt;&lt;P&gt;Chain OUTPUT (policy ACCEPT)&lt;BR /&gt;target&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; prot opt source&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; destination&lt;BR /&gt;ACCEPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcp&amp;nbsp; --&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcp spt:smtp state NEW,ESTABLISHED&lt;BR /&gt;ACCEPT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcp&amp;nbsp; --&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anywhere&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tcp dpt:smtp state NEW,ESTABLISHED&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 16:23:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6278611#M54474</guid>
      <dc:creator>Raja_b02</dc:creator>
      <dc:date>2013-11-22T16:23:52Z</dc:date>
    </item>
    <item>
      <title>Re: Postfix configuration - Red Hat Linux 6.4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6278619#M54475</link>
      <description>Thanks Steven, this is resolved now. I had to add few iptable entries in order to accept smtp connections</description>
      <pubDate>Fri, 22 Nov 2013 16:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6278619#M54475</guid>
      <dc:creator>Raja_b02</dc:creator>
      <dc:date>2013-11-22T16:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: Postfix configuration - Red Hat Linux 6.4</title>
      <link>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6280473#M54477</link>
      <description>&lt;P&gt;Just a few comments regarding your iptables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"iptables -L" gives incomplete information, so it's better to use "iptables -L -vn" instead.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, the third entry in your INPUT chain: in "iptables -L" listing, it looks like it would accept all traffic, causing the rest of the entries in that chain to be ignored.&lt;/P&gt;&lt;P&gt;But if your iptables ruleset is based on RHEL 6.x default iptables rules, the third entry is actually accepting traffic &lt;EM&gt;on loopback interface (lo) only.&lt;/EM&gt; "iptables -L -vn" listing will indicate this, but "iptables -L" will not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because the first entry in the INPUT chain is accepting all traffic with state RELATED or ESTABLISHED, there is no need to specify ESTABLISHED state on further entries in the INPUT chain. It is not harmful, just superfluous.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The idea is to process the first packet of each new connection using the full ruleset, then use the "RELATED,ESTABLISHED" rule as a short cut to accept all the subsequent packets in the same connection. That will minimize the amount of processing required, making your iptables more efficient.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since your OUTPUT chain has ACCEPT as its default policy and no REJECT or DROP entries anywhere in it, your OUTPUT rules for smtp traffic are effectively just traffic counters: the "spt:smtp" line will measure the data sent out as a response to incoming smtp connections, and the "dpt:smtp" line will measure the amount of data sent in outgoing connections to other SMTP servers. If you don't need to track the amount of smtp traffic this way, you could remove the last two entries.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2013 08:38:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/postfix-configuration-red-hat-linux-6-4/m-p/6280473#M54477</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2013-11-25T08:38:30Z</dc:date>
    </item>
  </channel>
</rss>

