I found a couple web pages, but I still can’t get it to relay.
The second link is closer to the setup of the RH9 Iworx box because it has the config for using xinetd vs inetd in the first post.
I tried what it said, but I still get the:
“553 sorry, that domain isn’t allowed to be relayed thru this MTA (#5.7.1)”
Any other ideas on how to set this up?
Another Link: http://www.barriebremner.com/qmailxinetd.html
Sure, just do the following:
Edit the /etc/tcprules.d/tcp.smtp file
If the IP address you wanted to allow relaying for was 18.104.22.168, add the following line to this file:
tcprules tcp.smtp.cdb tcp.smtp.temp < tcp.smtp
That should do it,
So the interworx setup already has the tcpserver installed.
Wasn’t sure how that worked if you have TCPserver and xinetd installed and running simultaneously.
Going to try it now, I’ll let you know if it still doesn’t work.
EDIT - Works Great, Thanks again
Found another way to do this with Qmail by looking at an strace.
Just create the file /var/qmail/control/relayclients and just list your relay IPs in here.
Woah, this is an old one. Just wondering if there is some other way to do this now? I tried these steps on a new server I just moved to, but it’s still rejecting my email.
Nevermind, just had to manaully edit /service/smtp/run from: