开发者

Postfix collect all recieved mails in one account

开发者 https://www.devze.com 2023-03-29 13:55 出处:网络
I need to catch all mails sent to \"@example.com\" and redirect them to a single mail account. So if a mail was开发者_如何学C sent to test@example.com or testtest@example.com, both mails should be re

I need to catch all mails sent to "@example.com" and redirect them to a single mail account.

So if a mail was开发者_如何学C sent to test@example.com or testtest@example.com, both mails should be redirected to allmails@example.com.

I couldnt find a way yet to solve this problem - anyways i'm new to postfix and arent sure in which part of the documentation to look for this.


Put

@example.com  catchallaccount

into /etc/postfix/virtual and make sure there's a

virtual_alias_maps = hash:/etc/postfix/virtual

in /etc/postfix/main.cf

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号