Sender using multiple from addresses

An application I’m using to send emails only allows a single outgoing server configuration (only one set of authentication email and password details).

I need the application to be able to send out emails with different from addresses. I can configure the different from addresses but I still have to use the same authentication email and password details.

Mailinabox won’t allow that account to use other emails as the from address. I know that there is an option with aliases to allow the sender to use different from email addresses, but I’m not using aliases, the email addresses I want to use are real mail boxes and not aliases.

Eg. I want to be able to send emails that are from even though the smtp connection to the mailinabox server is logged in as

Is there a way I can allow this ?

I found the answer on a postfix forum. It’s here for anyone interested:

1 Like