Z
Z
Ziptar2018-03-18 14:30:46
linux
Ziptar, 2018-03-18 14:30:46

How to configure Postfix as a two-way relay?

It is necessary that postfix accept messages from a specific gmail box and send them on behalf of the domain mailbox to the Internet.
Gmail -> Postfix-relay -> Internet
There are no big problems with this, it is solved by screwing sasl-auth
Next, it is necessary that postfix accept letters for the domain and forward them to gmail. Storing emails is unnecessary and even undesirable, so no pop3/imap.
Internet -> Postfix-relay -> Gmail
But I can't find anything intelligible about this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akelsey, 2018-03-20
@Ziptar

In main.cf
in virtual:
then

postmap /etc/postfix/virtual
service postfix reload

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question