+2

SMTP setup - Is this possible to do with Ajenti?

Mikeyman 11 years ago updated by kozma prytkov 10 years ago 2
Hello,
First of all, thank you for a great software, it looks awesome!

With this said, I have a question regarding the software and the SMTP service setup.
I would like to be able to to setup multiple domains (and multiple ips) using the control panel, and use the SMTP service for sending mail.

For example: Let's say that my first domain is http://www.mysite1.com with the IP 12.13.14.15 and that I’m sending out emails to my clients using this setup. They receive the emails just as I want, in other words from the ”mysite1.com” domain (and the 12.13.14.15 IP).

I would then like to setup an additional IP (for example 12.13.14.16) and domain (http://www.mysite2.com), and here it’s important that I'm able to send emails to another set of clients via the second domain ”mysite2.com” (and the second IP 12.13.14.16).

Another scenario is that it would be great if I could setup a 2 IPs under the same domain.

I have tried other control panels, and there have been a problem with them as the IP and domain name always resolves to the first IP and domain.

I would highly appreciate if someone could let me know if the above is possible.

Thanks!

Answer

Answer
Hi,

I can't exactly advise on configuration of SMTP server software because I'm no expert on this, but you certainly can specify different IPs for a website in Ajenti V (simply input the IPs as hostnames in Ports section).

If you're using Postfix, you could first configure interfaces: http://www.postfix.org/postconf.5.html#inet_interf... and then make sure that you're connecting to actual SMTP IP (first or second, whichever you want mail to come from), and not 127.0.0.1 or localhost, when sending mail from your website.

Answer
Hi,

I can't exactly advise on configuration of SMTP server software because I'm no expert on this, but you certainly can specify different IPs for a website in Ajenti V (simply input the IPs as hostnames in Ports section).

If you're using Postfix, you could first configure interfaces: http://www.postfix.org/postconf.5.html#inet_interf... and then make sure that you're connecting to actual SMTP IP (first or second, whichever you want mail to come from), and not 127.0.0.1 or localhost, when sending mail from your website.

Mikeyman - did you get any result in implementing your scenario?