This can be accomplished by adding the domains you wish to receive mail for in the /etc/mail/local-host-names file. It is important that the sendmail server can resolve these domain names through DNS.
Example:
/etc/mail/local-host-names
# local-host-names - include all aliases for your machine here.
domain1.com
domain2.com
domain3.com
No comments:
Post a Comment