Hello,
i can not seem not to get this right.
i want to do the following setup:
domain1.com transport to xx.xx.xx.01 through port 2525
domain2.com transport to xx.xx.xx.02 through port 25
can anyone guide me through this setup?
this was very simple in ESVA.
many thanks
non standard smtp port and multiple domains
-
- Posts: 3
- Joined: 08 Apr 2015 12:02
Re: non standard smtp port and multiple domains
We have not 'yet' configured anything in the menu's for this, but you can easily modify the transport file just like in esva.
Then at the bottom add your host like:
And run the postmap tool:
Code: Select all
sudo vi /etc/postfix/transport
Code: Select all
example.com smtp:bar.example:2025
Code: Select all
sudo postmap /etc/postfix/transport
Version eFa 4.x now available!
Re: non standard smtp port and multiple domains
*bump*
Useful information.
I have a few external domains that are picky about who they accept mail from. In their case, I cannot get them to accept our mail directly. However, we do use messagelabs to filter out the viruses from our incoming mail and they also act as an external smart host if we wish.
If we use standard ports, then we can:
(Just adding the notes here in case someone else finds this useful
keywords: smarthost by domain
Useful information.
I have a few external domains that are picky about who they accept mail from. In their case, I cannot get them to accept our mail directly. However, we do use messagelabs to filter out the viruses from our incoming mail and they also act as an external smart host if we wish.
If we use standard ports, then we can:
Then, when I send a mail to stupidlypicky.domain, efa will happily forward it to reallysmart.host for me8) Mail Settings
4) Transport Settings
n) Add new mail Domain
Please enter the domain you want add: <stupidlypicky.domain>
Now enter the destination server: <reallysmart.host>
(Just adding the notes here in case someone else finds this useful
keywords: smarthost by domain