2009年12月21日 星期一

recipient_bcc multiple mail accounts

recipient_bcc file contents source to target e-mail account
exsample:
abc 123
def 456

it just one by one. how can set to multiple target account? aliases are the result.
change the default set of main.cf to easy management.

alias_maps = hash:/etc/aliases > alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/aliases > alias_database = hash:/etc/postfix/aliases

add aliases to aliases
exsample "porder" source account to "abc" "123" "def" "456" multiple target account
porder: abc ,123 ,def, 456

and cp /etc/aliases /etc/postfix/aliases
execute postalias to make .db

postalias hash:/etc/postfix/aliases

after that postfix restart to finish

沒有留言:

張貼留言