by logan » Sep 14 07 11:45 am
If you were using NAT, allowing unauthenticated access for POP3 and SMTP will be as simple as creating a policy that does not require authenticate but only allows TCP port 25 and 110.
I have included a quick guide to allow unauthenticated access to email through NAT but require authentication for everything else from a default installation,
- Gatekeeper -> System tab -> Extended Networking -> Policies
- Stop the ENS from interacting with the System Policies by changing the default rights to "are ignored"
- Click Add to make a new policy, select "Must be authenticated" and click OK
At this point, noone should have unauthenticated access to the ENS. All you need to do now is create a new policy that overrides the authentication requirement for ports 25 and 110.
- Click Add to make a new policy. Leave this policy as "User may be unknown".
- Goto the Advanced tab of the policy properties.
- Select "Specify which requests this recipient has rights for".
- Click Add Filter
- Click Add Criterion
- Select
- > This criterion is met if
- > Server port number
- > equals
- > 25
-> Click Ok
- Click Add Filter
- Click Add Criterion
- Select
- > This criterion is met if
- > Server port number
- > equals
- > 110
- Click Ok, then OK, then Apply to finalise the change
Now when your client computers connect to a POP3 or SMTP server through NAT while unauthenticated, the request will be allowed rather than denied. If you have already created some policies in your Extended Networking Service, you may need to fiddle with this example a bit to make it work for you.
A very similar logic applies to the WGIC connection method aswell, so if you perfer to use the WGIC on your client computers, you should be able to use the above example in the WinSock redirector service. Require authentication for everything, then create a new policy that allows unauthenticated access to ports 25 and 110.
Note: If your clients are using domain names to connect to their mailservers, they must be able to perform DNS lookups through WinGate, so make sure that the DNS server is allowing unauthenticated access.