Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying ports for transport maps #28

Open
deajan opened this issue Feb 19, 2025 · 0 comments
Open

Allow specifying ports for transport maps #28

deajan opened this issue Feb 19, 2025 · 0 comments

Comments

@deajan
Copy link

deajan commented Feb 19, 2025

As the title suggests, some configurations need specific ports for transport maps.
Adding those via eFa-Configure is prohibited:

[Domain] : somedomain.tld
Thank you...

Now enter the destination server

[Destination] : 192.168.231.6:255
        ERROR: The value 192.168.231.6:255 seems to be invalid
        ERROR: please re-enter the destination

I modified /etc/postfix/transport to something like below and postmapped the file manually, which works for me

###### START eFa ADDED DOMAINS ######
domain.org  smtp:[192.168.231.6]:26
domain.fr  smtp:[192.168.231.6]:26

Also works on eFa-Configure

--------------------------------------------------------------
---        Welcome to the eFa Configuration program        ---
---               https://www.efa-project.org              ---
--------------------------------------------------------------


Description:
All mail domains for which this system accepts mail need an destination server.
Below is the list of current smtp mail domains on this system.

  1) domain.org            192.168.201.6:26
  2) domain.fr         192.168.201.6:2525

n) Add new mail domain

e) Return to main menu

[eFa] :

So basically the script would just need an adjustment to have an optional port.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant