Transport settings 587

General eFa discussion
Post Reply
Citabria79
Posts: 24
Joined: 02 Mar 2019 17:04

Transport settings 587

Post by Citabria79 »

Hi,

I want to transfer processed mail from eFa to a mailbox server, but this mail server is only listening on TCP/587. When using the web interface you can't specify a port, like for example 123.123.123.123:587. But I tried with altering the /etc/postfix/transport file manually by adding :587 on the entries originally added by eFa. I did run postmap and even restarted postfix. I also tried with with and without "[ ]", but both methods fail.

The first method reports: "Fatal: valid hostname or network address required in server description." And the without brackets I get "Recipient address rejected: Access denied (in reply to RCPT TO command))"

Is there a way to fix this?

Side note: I am unable to use the hostname for my mailbox server in the transport settings for my domain. All through the server is correctly in the hosts file of the eFa server with a valid FQDN, it still resolves the external IP. I think this is a side effect of the recursion. Still there might be a relation with the above issue, and I rather would use a FQDN i.o. an IP. If there would be a solution for this, other then disabling recursion... please let me know.

Thanks!
Citabria79
Posts: 24
Joined: 02 Mar 2019 17:04

Re: Transport settings 587

Post by Citabria79 »

I solved the second part by adding a file /etc/unbound/conf.d/localforward.conf and forwarding the local zone to a local dns server. It now resolves the local mail server on the local IP.

The second part I worked around by lowering the TLS setting on the local mail server from require to may and opening the TCP/25 port between the eFa server and the local mail server. But I would prefer to have the TLS setting to require, so if a solution is available to transport mail from eFa to the local mail server on 587/TCP i.o 25/TCP, I would be interested to know...

Thanks!
Post Reply