On Fri, 2005-10-28 at 17:12 +0100, Nick Gilbert wrote: > > You have to allow relaying for the IP you are sending from. Just > > because the From domain is listed in rcpthosts doesn't mean the To > > domain is going to be allowed. > > How do I do that? I don't seem to have any files in qmail/control which > look like they're supposed to contains IP addresses. > > > You can allow relaying with smtp-auth, pop before smtp or by > > specifically allowing your IP to relay. > > I've never managed to get smtp-auth to work. It only seems to work with > vpopmail domains and not proper local domains. It does seem to support > it, but no username and password I give it seems to work. >
In the /home/vpopmail/etc/tcp.smtp add a line such as this to allow anyone from the range 192.168.1.0/24 to relay. 192.168.1.:allow,RELAYCLIENT="",NODNSCHECK="",RBLSMTPD="",QMAILQUEUE="/var/qmail/bin/qmail-queue" then run qmailctl cdb to rebuild the file. Shane
