Page 1 of 1

Change Listening SMTP port???

Posted: 16 May 2015 00:48
by wolfegang76
Hello all,

I too am a bit new to this EFA; grabbed the Virtual Appliance which is really slick by the way. Good stuff!

Version: Virtual Appliance 3.0.0.7... VMware

Everything is configured fine, BUT...

I am forced to use an alternate SMTP port which is coming inbound to my SMTP gateway/EFA... (ISP blocks 25 :(( )

The port I have been using as my Exchange connector is 26026...

How, or more importantly, WHERE do I go within the EFA (what config file(s) do I need to edit to change which port it is listening on for SMTP traffic. I have searched hi and low on this board before registering. I see alot of posts referencing the transport, but I want to alter the port that this EFA listens on for SMTP traffic..

I can telnet to :25 all day long and connect just fine, however, that won't work for me. I need it to listen on 26026.

Pretty simple really...

Any help would be GREATLY appreciated!!!!!!!

Cheers,

--wolfegang76--

Re: Change Listening SMTP port???

Posted: 16 May 2015 00:52
by wolfegang76
Replying to my own post here:

But I found this:

**************************************************

To change the smtp port no. in postfix,edit the master.cf file and change the given below value

vi /etc/postfix/master.cf
smtp inet n – n – – smtpd

change smtp word to your desired port no. Here I am changing it to 9267

9267 inet n – n – – smtpd

Now restart the postfix

/etc/init.d/postfix restart

Check the port no. status with netstat command

[root@localhost postfix]# netstat -tanp|grep 9267
tcp 0 0 0.0.0.0:9267 0.0.0.0:* LISTEN 9788/master
[root@localhost postfix]#

***************************************************

I am assuming that this is not the only place to set the new port number for SMTP....
Again, I'm on stand by and any help will be greatly appreciated!
--wolfegang

Re: Change Listening SMTP port???

Posted: 17 May 2015 14:39
by shawniverson
That looks correct.

I'll add a feature request to allow port changes in the future.

Re: Change Listening SMTP port???

Posted: 17 May 2015 14:41
by shawniverson

Re: Change Listening SMTP port???

Posted: 17 May 2015 17:33
by wolfegang76
Awesome, thank you so much!

Re: Change Listening SMTP port???

Posted: 18 May 2015 00:35
by wolfegang76
So, YES, this DOES THE TRICK!

Additionally, one will need to also edit firewall settings on the EFA appliance as well.

Then, I simply made a few changes on my sonicwall NSA 240 and BOOM!

Works like a champ!

To test my spam filter, I inserted this: XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X

into the body of the email.

We are golden!

A big thank you to shawniversion for help with this! The virtual appliance really makes the implementation of this system SOOO much easier!

Good stuff. It is running just great on vSphere 6.0.

=wolfegang

Re: Change Listening SMTP port???

Posted: 18 May 2015 02:56
by shawniverson
:dance: :dance: :dance: