Answer the question
In order to leave comments, you need to log in
How to set up relayhost for one outgoing address?
Hello.
In general, a lot of different mail can go through postfix. It is necessary to send mail to an external mailer at a certain address ([email protected]) without affecting other addresses (*@example.ru), they are sent directly. There is a relayhost setting, but it redirects all mail.
What are the options?
Answer the question
In order to leave comments, you need to log in
Postfix has such a sender_dependent_relayhost_maps setting,
you can set it like this: [email protected] [gate.example.ru]
And it is this letter that will be sent to the external MTA
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question