(1) Create a system user and set password.
Here it is: linux
(2) Install postfix
#yum install postfix
(3) Made the following changes in the postfix configuration
mydestination = $myhostname, $mydomain, example.com
virtual_alias_maps = hash:/etc/postfix/virtual
(4) Specify the virtual mailbox in the file.
root@server]#tail -2 /etc/postfix/virtual
mail@example.com linux
VIRTUAL(5)
[root@server]#
Here it is: linux
(2) Install postfix
#yum install postfix
(3) Made the following changes in the postfix configuration
mydestination = $myhostname, $mydomain, example.com
virtual_alias_maps = hash:/etc/postfix/virtual
(4) Specify the virtual mailbox in the file.
root@server]#tail -2 /etc/postfix/virtual
mail@example.com linux
VIRTUAL(5)
[root@server]#
0 comments:
Post a Comment