[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: disable one users email?



Talon declaimed:
> Hi,
> 
> I would like to disable email for one particular account.
> How is this done? (Running woody and exim)
> 
> I believe I can stop an account from receiving email
> by creating a sym link:
> 
> # ln -s /dev/null /var/mail/username
This will (depending on how your system is configured) stop local mail
to their account, and prevent exim from forwarding mail to them. 

> 
> but how would I disable them from sending mail?
> 
You'll have to read the exim.conf documentation to find out how to
customize the TRANSPORTS CONFIGURATION section and customize the
local_delivery transport.

Note that these methods will only stop them from sending & receiving
mail using the account on that particular box, if they have internet
access they have any number ways to send & receive email using other
accounts unless you throttle their access back so much that they might
as well not have an account (IMO). I'd be glad to hear from more
experienced sysadmins on this, and I'm curious as to what's the problem
with a normal user having mail access.

HTH, Paul
-- 
Paul Mackinney
paul@mackinney.net



Reply to: