-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thaths wrote:
| Hi
|
| I have a strange requirement. For several reasons I am forced to
| restrict outgoing email on qmail. Some users on the system must be
| able to send email to any global email address. All the others must be
| allowed only to send email within the domai. My users are managed with
| vpopmail.
|

1. Set up smtp auth and allow only smtp auth relaying (there's an AUTH +
TLS patch that you can use).  Don't set up /etc/tcp.smtp.cdb to relay
for your LAN IPs.

2. Grant auth usernames and passwords for only your authorized users

3. These guys can send and receive using smtp auth to outgoing addresses

4. Other guys, who dont have smtp auth, can still use the same
mailserver to send mail, but in effect they can only send mail to a
domain that's defined as local on your mailserver (that is, your office
domain).  Mail to any other domain will be bounced back to them as
relaying denied, as they dont have auth privileges to relay through your
server.

This is, of course, assuming that they dont use some other smtp server
(say setup sendmail or whatever on their desktop and deliver direct to
MX from behind your NAT .. for which you'd have to block port 25 both
ways at your firewall, except to your mailserver's IP).  Or they could
ssh into the mailserver and fire up pine or mutt there .. that again is
an access control issue for you.

        srs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Key at http://www.hserus.net/pgp.txt

iD8DBQFCXm+VRB4r9e3t77kRApQAAJ9hjdwszxhMHH1IPUYi2meZzNBBsQCfWs5H
wvqd3BA5u5JAR4NMRhYz1FQ=
=JwbR
-----END PGP SIGNATURE-----


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-india-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to