By nick366147
Hi Here is my setup
DNS MX 1 mail.domain1.com A mail.domain1.com A @ ipaddress
Postfix
myhostname = mail.domain1.com virtual_alias_domains = domain1.com domain2.com domain3.com virtual_alias_maps = hash:/etc/postfix/virtual alias_database = hash:/etc/aliases mydestination = localhost, localhost.localdomain, , localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
my /etc/postfix/virtual: @domain1.com xxx@mail.com @domain2.com xxx@mail.com @domain3.com xxx@mail.com
Its not working so I must be doing something wrong.
Any advice would be much aprreciated
thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Did you add MX records to the rest of the domains? You also need to run “newaliases” and restart postfix.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.