Using Nginx as proxy mail server

Hello!

Would it be possible to set up a Nginx server that will proxy emails to
a
cPanel server?

For example I set up a simple VPS server with IP 10.0.0.1 and then I set
my
domain’s MX record to mail.mydomain.com which points 10.0.0.1 so that
tiny
VPS server will send all emails to my cPanel server.

I know there is mail module for Nginx, but I don’t understand it very
well.

Thanks

Posted at Nginx Forum:

Hello,

why do you want to use nginx for that?
I’d suggest to use postfix with a minimal configuration. That’s what
postfix
is designed to do and there are some howtos.

regards, Axel

Am Donnerstag, 19. Februar 2015, 10:27:18 schrieb Guest13778:

Hello!

Would it be possible to set up a Nginx server that will proxy emails to a
cPanel server?

For example I set up a simple VPS server with IP 10.0.0.1 and then I set my
domain’s MX record to mail.mydomain.com which points 10.0.0.1 so that
tiny

Hey!

That’s a good point. Yes I read about postfix too, but I wasn’t very
sure,
but thank you for that idea.

Posted at Nginx Forum: