Turnkey Linux - Redmine

When using confconsole and the Mail Relay setup option, I'm unable to enter an internal mail relay using the custom option.  I enter the internal IP, leave the port as 25 and the username and password blank because this relay doesn't require authentication.  I receive:

Could not connect with supplied parameters.  Please check config and try again.

This mail relay is working without issue for other servers using null username and password.  I'm not familiar enough with postfix to know how to work beyond what may be a limitation of confconsole's mail relay setup.  I would be grateful for suggestions.

Forum: 

The solution was to add the following line to /etc/postfix/main.cf:

relayhost = [10.0.0.50]

In other words, just specify the IP address of your internal mail relay that doesn't require authentication.  Using a different port might look like:

relayhost = [10.0.0.50]:465

Jeremy Davis's picture

Sorry for slow response. But great to hear that you worked it out!

FWIW there is an open Confconsole feature request to support adding a mail relay without authentication. But obviously we haven't addressed it yet. Thanks for the additional info and the bump! :)

Add new comment