forwarding mail exim

yum install exim
mkdir /etc/exim/vhosts
vi /etc/exim/vhosts/linuxėyou.tk >>
info: [email protected]

vi /etc/exim/vhosts/linuxėyou.com >>

info: [email protected]

#Add virtual hosts
vi /etc/exim.conf >
domainlist local_domains = @ : localhost : localhost.localdomain : dsearch;/etc/exim/vhosts

#Create new router:
vi /etc/exim.conf >
virtual:
driver = redirect
domains = dsearch;/etc/exim/vhosts
data = ${lookup{$local_part}lsearch{/etc/exim/vhosts/$domain}}
no_more

service exim restart

Leave a Reply

Your email address will not be published. Required fields are marked *