How to stop some users sending mail outside ?

This is a discussion on How to stop some users sending mail outside ? within the alt.comp.mail.qmail forums, part of the Mail Servers and Related category; Hi, I have qmail qmail-1.03. I have 30 users . My bose want that 5 users can send mail ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.qmail

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-23-2005
learnq
 
Posts: n/a
Default How to stop some users sending mail outside ?

Hi,
I have qmail qmail-1.03. I have 30 users . My bose want that
5 users can send mail inside my organization but they are not allowed
to send mail outside my organization they also do not get mail from
outside .The other 15 users can send /receive maill outside& inside my
organization .Can I implement that with qmail ?
Plz help me .
Thanks .

Reply With Quote
  #2 (permalink)  
Old 12-23-2005
AK
 
Posts: n/a
Default Re: How to stop some users sending mail outside ?

learnq wrote:
> Hi,
> I have qmail qmail-1.03. I have 30 users . My bose want that
> 5 users can send mail inside my organization but they are not allowed
> to send mail outside my organization they also do not get mail from
> outside .The other 15 users can send /receive maill outside& inside my
> organization .Can I implement that with qmail ?
> Plz help me .
> Thanks .
>


It is not that difficult to implement a patch that would help in
allowing you to control who can and who cannot receive email from the
outside, the handling of who can and who can not send to the outside is
more difficult. First you would need to patch qmail-smtpd so that it
adds a distinctive header when the source of the transmission is outside
the LAN. i.e. when RELAYCLIENT is not set. Once that distinctive header
is in place, you could use a filter such as procmail or if you have
already setup the system with anti-spam mechanisms, you might be able to
do it there. Note: In general local users who send emails from the
outside would also fall into the category of email that will be denied
to these five.

I believe you had different constraints to implement qmail. can not go
back through those posts to reconstruct your current setup.

List your existing setup with patches and functionality.

AK
Reply With Quote
  #3 (permalink)  
Old 12-24-2005
learnq
 
Posts: n/a
Default Re: How to stop some users sending mail outside ?

hi,
Thanks for reply. Currently I have installed qmail without any patch .
I do not install any vius&spam
guard .Is there any alternative way that can do the same without
patching qmail ?

Reply With Quote
  #4 (permalink)  
Old 12-24-2005
AK
 
Posts: n/a
Default Re: How to stop some users sending mail outside ?

learnq wrote:
> hi,
> Thanks for reply. Currently I have installed qmail without any patch .
> I do not install any vius&spam
> guard .Is there any alternative way that can do the same without
> patching qmail ?
>


Are you using procmail to deliver the messages to the individuals? If
so, you can use procmail to control the delivery of messages sent from
the outside to your users.

Without patching qmail, you can not control which users can send where.
also unless you can control which mail servers the users use at any
one time, your ability to limit them from sending to the outside
addresses is also limited.

AK
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0