It should be possible to use AWS ec2 nano at about $1.50 / month to provide solid email service for loads clients, and at what is it (10cents a GB?) I can offer them tons of email space, and let Mailgun and/or AWS SES do the heavy lifting of virus and spam filtering.
I am running Iredmail's configuration on a ubuntu 16.04 amazon AWS ec2 VPS instance. (Make sure to disable the antivirus and spamfilter, this makes the entire instance powered under 200megabytes of RAM, lightweight and FAST. And because mailgun is going to do our scanning for us.)
1st. I have successfully sent and received email from the AWS ec2 instance without using mail gun.
2nd. I have successfully sent to email@example.com and MAILGUN forward the email to another eg. firstname.lastname@example.org (so I know it works and I'm not crazy!)
NOW -- Here's where I need help:
3rd. The final step. I need to catch email@example.com with mailgun and forward them to my private mail server, where they will be sorted and placed into each user's mail boxes-- from there they can login with IMAP or webmail and read and send emails.
I tried forwarding to the server IP and to the server name e.g. mx.example.com (and created a mx.example.com MX 10 mx.example.com record) and forwarding to either address does not work! (My mail.log file does not even throw an error, it's a complete disconnect!)
What am I doing wrong?