Answer the question
In order to leave comments, you need to log in
MTA relay with recipient filter?
Good day, Khabrovites!
There is a mail server inside the network on which postfix spins, which stores a list of users in a mysql database.
The task is to install a mail relay that looks at the Internet and accepts only those messages that are addressed to users from postfix, well, and deliver letters from postfix users to external servers. I can upload a list of users with a cron and in any form deliver it to the mail relay.
If anyone has faced such a task - recommend a solution based on some MTA (postfix, sendmail, exim) or can you tell me the key moment of the config - checking users according to the sql-query list or something else.
If there are non-public answers or guesses-suggestions, I will be glad if you write a private message.
Answer the question
In order to leave comments, you need to log in
You can make the external server access the SQL of the internal ... well, or even master-slave SQL - slave on the external server.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question