Answer the question
In order to leave comments, you need to log in
Postfix forward all incoming mail to another mailbox
Good time. I have configured postfix for distribution. There is a need to forward all incoming mail to a box on another mail server.
Let me explain: the nashdomen.ru domain is configured for mailing; various options can be used as outgoing addresses, for example:
[email protected]
[email protected]
[email protected]
, etc.
It is necessary to make sure that all incoming letters to the addresses
[email protected]
[email protected]
[email protected]
, etc.
Forwarded to the address [email protected]
Google offered several options, I summarized and got this
В файл main.cf
recipient_bcc_maps = hash:/etc/postfix/recipient_bcc
В файл recipient_bcc
*@nashdomen.ru [email protected]
поле чего
postmap /etc/postfix/recipient_bcc
postfix reload
Answer the question
In order to leave comments, you need to log in
"*" before "@" is not needed.
It is written in http://www.postfix.org/postconf.5.html#recipient_bcc_maps .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question