Koozali.org: home of the SME Server

Single outside network to SMTP

Steven Beasley

Single outside network to SMTP
« on: January 31, 2003, 08:19:31 PM »
I'd like to allow a single outside network to use our local e-smith 5.6 SMTP server.  I've attempted to set the network's NAT'd address and subnet as a Local Network, but once that's set, it seems to prevent ANY access to the server from that specified network.

Network Address = NAT'd address (66.89.51.210)
Subnet = subnet provided by ISP (255.255.255.248)
Router = e-smith local IP (192.168.22.100)

Is there a way, possibly by modifying the SMTP config that I can allow this one network NAT address to send mail via e-smith's SMTP server?

I understand I can use pop before smtp, but would prefer to not have all of our clients at that network host switch their mail settings.

Please advise...

Thanks
-Steven

Bill Talcott

Re: Single outside network to SMTP
« Reply #1 on: January 31, 2003, 10:13:11 PM »
Nathan's pop-before-smtp script won't work on >=5.5. You'd need to use Damien's RPMs.

Nathan's script added the IPs from POP connections to the SMTP's list of allowed hosts. It doesn't work on >=5.5 because mailfront doesn't have a list like that. There may be some sort of list somewhere, but Nathan couldn't get his script to work, so I don't think it'd be easy to do. I know you'd rather not do it, bu the easiest way is probably just to switch over to authenticated connections over SSL (which is more secure anyway).