Good morning - I'm testing EFA to see it it meets my organization's needs. I'm well versed in Postfix, so I can ssh in and make these changes manually, but is there a way to add a non-standard port to the transport mail server when creating the transport setting? I tried with just a : and the port number, but that doesn't work.
Personally, I have no problem manually adding the info via ssh - but I can't imagine I'm the only site that needs this, and making it "easier" for those not as familiar with ssh could be useful.
Thanks!
Danita
Non-standard port for transport
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Non-standard port for transport
Hello Danita,
Give me some time to research this for you.
I know you will also need to open up the port in the firewall as the firewall is active on E.F.A.
We can certainly add a config option once we figure out how this is done.
Give me some time to research this for you.
I know you will also need to open up the port in the firewall as the firewall is active on E.F.A.
We can certainly add a config option once we figure out how this is done.
Re: Non-standard port for transport
Okay - but this is not so that EFA listens on a different port - this is so EFA delivers to a different port - it looks like this is the transport file:
mydomain.com smtp:[192.168.1.1]:26
for example. Then mail that is destined for mydomain.com would be SENT to 192.168.1.1 on port 26 rather than on port 25
Thanks for pointing out the firewall though - I was trying to connect to mysql from my Mac, and kept getting refused, even though I had set mysql to allow from my IP address - I probably just need to have the firewall allow me through!
Danita
mydomain.com smtp:[192.168.1.1]:26
for example. Then mail that is destined for mydomain.com would be SENT to 192.168.1.1 on port 26 rather than on port 25
Thanks for pointing out the firewall though - I was trying to connect to mysql from my Mac, and kept getting refused, even though I had set mysql to allow from my IP address - I probably just need to have the firewall allow me through!
Danita
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Non-standard port for transport
Ah, I see.
Looks like you need to do this in main.cf, not transports
relayhost = [192.168.1.1]:26
Looks like you need to do this in main.cf, not transports
relayhost = [192.168.1.1]:26
Re: Non-standard port for transport
If you have multiple domains, you would need to do it in transports if they all receive mail from different locations though - it's working fine btw!
Danita
Danita
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Non-standard port for transport
Just to clarify for our readers...
you need a relayhost entry in main.cf to specify the port
and
you need an entry in transports as well
You can have multiple entries
you need a relayhost entry in main.cf to specify the port
and
you need an entry in transports as well
You can have multiple entries