<?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 Re: Inbound mail and IPtables in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/inbound-mail-and-iptables/m-p/114549#M31825</link>
    <description>&lt;P&gt;I found the solution of my problem&lt;/P&gt;&lt;PRE&gt;sudo iptables -t nat -A PREROUTING -p tcp --dport 25 -j REDIRECT --to-port 2525&lt;/PRE&gt;</description>
    <pubDate>Thu, 21 May 2020 14:30:22 GMT</pubDate>
    <dc:creator>opsys</dc:creator>
    <dc:date>2020-05-21T14:30:22Z</dc:date>
    <item>
      <title>Inbound mail and IPtables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/inbound-mail-and-iptables/m-p/114547#M31823</link>
      <description>&lt;P&gt;Hello everybody&lt;/P&gt;&lt;P&gt;Excuse me if it is a dumb question but I'm new in this forum.&lt;/P&gt;&lt;P&gt;I'm setting a Alfresco community server with Ubuntu 18.4 for testing and so far so good.&lt;/P&gt;&lt;P&gt;I have a problem for inbound mail (outbound is fine). The inbound is working BUT only via telnet and with a specific&amp;nbsp; port (2525).&lt;/P&gt;&lt;P&gt;I configured the inbound like that :&lt;/P&gt;&lt;PRE&gt;#Inbound
email.server.enabled=true
email.inbound.enabled=true
email.server.port=2525
email.server.domain= mydomain.com
#email.inbound.unknownUser=anonymous&lt;/PRE&gt;&lt;P class="western"&gt;I then tested with :&lt;/P&gt;&lt;PRE&gt;telnet mydomain.com 2525 
ehlo mydomain.com
mail from: &amp;lt;testuser@anotherdomain.com&amp;gt; 
rcpt to: &amp;lt;aliasoffolder@mydomain.com&amp;gt;
data
this is a test
.
quit&lt;/PRE&gt;&lt;P&gt;I can find the test email delivered in the proper folder&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it is just impossible to do the same with port 25 (thus with a standard email client going thru a normal SMTP server)&lt;/P&gt;&lt;P&gt;So far there are no firewalls in the server or router.&lt;/P&gt;&lt;P&gt;I understand that Tomcat cannot bind to port 25 and consquently a NAT redirection is needed.&lt;/P&gt;&lt;P&gt;The problem seems to come from the command :&lt;/P&gt;&lt;PRE&gt;sudo iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 25 -j REDIRECT --to-port 2525&lt;/PRE&gt;&lt;P&gt;I wonder if this is enough ?&lt;/P&gt;&lt;P&gt;Alternatively can Tomcat use port 25 ?&lt;/P&gt;&lt;P&gt;Thanks a lot in advance for some help, I'm getting mad with that problem...&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 21:23:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/inbound-mail-and-iptables/m-p/114547#M31823</guid>
      <dc:creator>opsys</dc:creator>
      <dc:date>2020-05-19T21:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Inbound mail and IPtables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/inbound-mail-and-iptables/m-p/114548#M31824</link>
      <description>&lt;P&gt;I found the problem. The right command is :&lt;/P&gt;&lt;PRE&gt;sudo iptables -t nat -A PREROUTING -p tcp --dport 25 -j REDIRECT --to-port 2525&lt;/PRE&gt;&lt;P&gt;I use the inbound as such :&lt;/P&gt;&lt;P&gt;I created a folder with email alias "dropbox"&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a regular mail server and standard email. I created a rule in the mailbox that says :&lt;/P&gt;&lt;P&gt;if object contain "dropbox" then transfer to&amp;nbsp; dropbox@mydomain.com&lt;/P&gt;&lt;P&gt;So when somenone needs to send some files by email, he just put the word "dropbox" in the object and it's automatically received in my dropbox folder.&lt;/P&gt;&lt;P&gt;The body of the mail is in another document but is not very useful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2020 14:08:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/inbound-mail-and-iptables/m-p/114548#M31824</guid>
      <dc:creator>opsys</dc:creator>
      <dc:date>2020-05-21T14:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Inbound mail and IPtables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/inbound-mail-and-iptables/m-p/114549#M31825</link>
      <description>&lt;P&gt;I found the solution of my problem&lt;/P&gt;&lt;PRE&gt;sudo iptables -t nat -A PREROUTING -p tcp --dport 25 -j REDIRECT --to-port 2525&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 May 2020 14:30:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/inbound-mail-and-iptables/m-p/114549#M31825</guid>
      <dc:creator>opsys</dc:creator>
      <dc:date>2020-05-21T14:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Inbound mail and IPtables</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/inbound-mail-and-iptables/m-p/114550#M31826</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81779"&gt;@opsys&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;So glad you solved your problem. Thanks also for posting your solution - helpful to other users.&lt;/P&gt;
&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 09:45:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/inbound-mail-and-iptables/m-p/114550#M31826</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-05-22T09:45:23Z</dc:date>
    </item>
  </channel>
</rss>

