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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 . |
|
|||
|
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 |
|
|||
|
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 |