Hello everyone, i have 2 servers one ispconfig and one WHM. i want to relay all emails of WHM through ispconfig smtp. Is it possible?
ISPConfig has documentation on sending e-mail from ISPConfig system via a relay host. But I do not remember doing this the other way round. Have you tried reading ISPConfig Manual? I guess it is possible, you set up sending to relay on WHM the usual way, then configure ISPConfig system to accept the e-mails and send them out, but it may be ISPConfig panel has no support for setting this up, it would need to be done manually.
The easiest way is to add the IP address of the WHM server in the mynetworks line in /etc/postfix/main.cf on the ISPConfig server. Then you must configure the WHM server to use the ISPConfig system as relay host.
Thanks gentlemen, @till that's what i did, but while searching online i read somewhere so i thought was missing something. Thanks all
Hello, I was looking through the documentation (3.1 purchased PDF file) and did a search for smarthost but nothing comes up. I have an on-prem SMEServer that I would like to use my ISPConfig server as its smarthost. Thanks, Roger
If you want the ISPConfig system to use a relay host, see System > server config > mail, relay host settings. If you want another host to send trough ISPConfig, then you either create a mailbox in ISPConfig and use the login details of that mailbox on the other server to authenticate for email sending. Or, if you want to use the ISPConfig server to relay emails without requiring authentication, then all you have to do is to add the IP of the other server in the mynetworks line in postfix main.cf file and restart postfix.
OK, so no config within the ISPConfig GUI, just enter the IP into postfix's main.cf. Understood. Thanks!