We are running a public hotspot on our network (Zyxel G4100) which works very well at authenticating access via a printout with a randomly generated username and password. The AP is connected to the GREEN interface of the IPCOP box (v1.4.10) and the RED interface is connected directly to the router which in turn is connected to BT ADSL
I am having problems with clients using various email accounts who's SMTP settings differ from BT's SMTP server (smtp.btclick.com); this is resulting in 550 relay errors when they are sending emails.
are there any plugins or modifications that will allow me to re-route SMTP traffic on port 25 from the GREEN interface to BT's SMTP server on the Red interface in IPCOP without generating any 550 errors?
Any workaround would be greatly appreciated
As you may notice, I am a real newbie at this, I understand that I maybe able to modify the iptable thingies to reroute?!?, if so could you explain in idiot terms what I need to change and how to access it please
I read this elswhere:
I'm trying to redirect all mail packets (POP3 and SMTP) in the local network to a specific host. I'm trying with the following rules:
## Changes destination address of the smtp packets,
## port 25
iptables -v -t nat -A PREROUTING -p tcp --dport 25 -i eth0 -j DNAT --to 192.168.12.1:25
## Changes destination address of the pop3 packets,
## port 110
iptables -v -t nat -A PREROUTING -p tcp --dport 110 -i eth0 -j DNAT --to 192.168.1.197:110
it appears this cant be done because the source and destination addresses are both in the same subnet (GREEN). can it be done on the RED using BT's smtp's ip address?
bear in mind I have no idea where to find the file to edit :oops:
Im sorry if this is a stupid question and there is a simple solution, but im pulling my hair out with this one and my boss is currently aiming his foot at my ass :shock:
Re: Newbie IPCOP SMTP Question
12 years 5 months ago #12892