Koozali.org: home of the SME Server

Disable email-only for a single user

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Disable email-only for a single user
« on: March 08, 2010, 05:12:20 AM »
Is it possible to disable email for a single user? This user will be able to access the network resources, but no email or webmail.

Thanks,

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Disable email-only for a single user
« Reply #1 on: March 08, 2010, 07:29:05 AM »
AFAIK no, but, please, explain the problem, not your solution.
thank you

Offline larieu

  • ****
  • 214
  • +0/-0
Re: Disable email-only for a single user
« Reply #2 on: March 08, 2010, 12:25:03 PM »
for me one of clear moments when you need this kind of user it will be in this scenarios:

I have one department which need to manage large files with an external party
(for example marketing department and third party printing facility to print quite large promo sheets - A0)

for this I need to make an user for external party with read/write access to ftp
in "standard" approach you create the user (ftpexternuser_n) and that user is "known by both party's (marketing department and external people) and they use it as FTP user only
in my approach I put all mails which go to this user to be forwarded to my address - in this way I can "pick" any reply or missuses of that resource

it will be nice to have one "role playing" menu to select if the user has access to FTP, LDAP, SAMBA, Ibay's..
something like "user panel access"

another usage for this kind of "limited user" is
I want to have one email address for one department IMAP not group - that department is spread in several buildings and need to receive emails and each one take control only on some of this or first available to serve the oldest mail

for example you have one warehouse with more buildings (1,2...n) and to be easy for customers - before they want to came to pick up goods - they send one email to warehose@yourdomain.net and say that he will arrive at 14 00 and he has to take his goods
each section of the ware house can do his part of the job

or in another situation you have one email as problems@yourdomain.net
to this email you will link several departments - and each one respond to problems linked with department activity.

this are probably several scenarios when you'll need "reduced/limited" users on your server
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline brick

  • ***
  • 78
  • +0/-0
Re: Disable email-only for a single user
« Reply #3 on: March 08, 2010, 01:27:48 PM »
disable webmail?


Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Disable email-only for a single user
« Reply #4 on: March 08, 2010, 01:31:22 PM »
Hi,
I want this user to logon to the domain and access the shared folders, since we use the NCSA for web access he also can surf the internet.
But he can't use the webmail or email (Our opening page set on the browsers is the Horde Webmail page).
Everybody else, of course can.

Thanks,

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Disable email-only for a single user
« Reply #5 on: March 08, 2010, 01:40:22 PM »
Is it possible to disable email for a single user? This user will be able to access the network resources, but no email or webmail.

Is this to block incoming and outgoing mail ? or Just incoming emails.

Easier solution is not to set up an email client with the server settings :) If they are a user and have restricted profiles they won't also know the correct settings.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Disable email-only for a single user
« Reply #6 on: March 08, 2010, 02:12:13 PM »
Is this to block incoming and outgoing mail ? or Just incoming emails.

Easier solution is not to set up an email client with the server settings :) If they are a user and have restricted profiles they won't also know the correct settings.
Oh yes, they do! That's why I want to disabled it.
I have the email set to internal visibility only, but my main problem is they're accessing via Horde.

Thanks,

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Disable email-only for a single user
« Reply #7 on: March 08, 2010, 02:19:44 PM »
I have the email set to internal visibility only, but my main problem is they're accessing via Horde.

Template this file:

/var/qmail/control/badmailfrom

And enter the email address, then that person can log in to webmail but will not be able to send emails.

Does this help ?
« Last Edit: March 08, 2010, 02:23:52 PM by byte »
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline Franco

  • *
  • 1,171
  • +0/-0
    • http://contribs.org
Re: Disable email-only for a single user
« Reply #8 on: March 08, 2010, 02:40:23 PM »
Yes, it will help a lot!!!!

Thanks,

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Disable email-only for a single user
« Reply #9 on: March 12, 2010, 01:03:11 PM »
Franco, byte

Quote
Template this file:
/var/qmail/control/badmailfrom

Keep in mind this will only block the sending of email from the specified address entered in badmailfrom ie the default webmail return address. If the user changes their return address in the webmail options, then they will still be able to send.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Disable email-only for a single user
« Reply #10 on: March 12, 2010, 02:13:33 PM »
Keep in mind this will only block the sending of email from the specified address entered in badmailfrom ie the default webmail return address. If the user changes their return address in the webmail options, then they will still be able to send.

Ah, quite right. I forgot about that. Thanks.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!