Create A Mail Server With Iredmail Amazon

Posted on by  admin

Here's the setup:

  • iRedMail server setup to send and receive emails. (send hand crafted emails)

  • MailGun service to send emails. (send automated computer generated mail)

Sending mail from MailGun to mail servers other than my iRedMail server instance, are accepted.

With

How to: Set up an SMTP mail relay using Amazon Simple Email Service 2012-05-10 Whether you need an SMTP server to relay mail for a particular application like WordPress, server monitoring software, a ticketing system, or even a copy machine Amazon has a service that is much easier to configure and use than setting up an SMTP server on a spare. How to setup a email address for a domain on Amazon EC2? Ask Question 8. I was unaware of the Amazon mail requests form. You'll first have to allocate and assign an Elastic IP to your mail server, since this removes the fluidity problem. Be sure to set up monitoring, since if your mail server goes down your Elastic IP will be left. H on Creating your own Mail Server (Amazon ec2, Postfix, Dovecot, Postgresql, Amavis, Spamassassin, Apache, and Squirrelmail) PART 1; Eric on Creating your own Mail Server (Amazon ec2, Postfix, Dovecot, Postgresql, Amavis, Spamassassin, Apache, and Squirrelmail) PART 2.

Sending mail to my iRedMail server from MailGun, are rejected with status code 450.

Mail

Paste below shows a MailGun log entry of an email, sent by MailGun, to my iRedMail server instance.

How can I resolve this issue?

If you have any suggestions regarding the setup, please feel free to criticise constructively

Omar ChehabOmar Chehab

1 Answer

The error returned is caused by Sender Address Verification. The recipient server performs a callback to the MX records of the Sender address to verify the envelope.mail-from address <bounce+595546.eb6855-omar=managemun.org@mg.managemun.org>.

In this case, the recipient server attempts the callback to 'mg.managemun.org' but fails due to the subdomain not having MX records. Ideal size pressure cooker. Therefore, by adding Mailgun's MX records to your subdomain, mg.managemun.org, the MX lookups of those email servers will succeed, and the servers will accept your messages. The two MX records for Mailgun are or can be referenced here:

Value : mxa.mailgun.org
Priority: 10

Create A Mail Server With Iredmail Amazon Account

Create a mail server with iredmail amazon customer service

Value : mxb.mailgun.org
Priority: 10

**Disclaimer I work at Mailgun

NolanNolan
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Create A Mail Server With Iredmail Amazon Free

Not the answer you're looking for? Browse other questions tagged emailmailguniredmail or ask your own question.

Comments are closed.