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

Re: deny email to a user question



> Is there a simple way to stop a user from being able
> to send and receive email?

Stopping the receiving is easy -- just create an empty file in
/var/mail/$username and change it's permissions to 444.

Dunno how to stop someone from sending mail.  Maybe an iptables rule
that uses the --m owner --uid-owner switches to block port 25 to
that user?  Course, if you're running potato, you've probably got a
2.2 kernel, so this isn't an option.

Chris
-- 
Christopher S. Swingley             phone: 907-474-2689
Computer / Network Manager          email: cswingle@iarc.uaf.edu
IARC -- Frontier Program            GPG and PGP keys at my web page:
University of Alaska Fairbanks      www.frontier.iarc.uaf.edu/~cswingle

 "They that can give up essential liberty to obtain a little temporary 
  safety deserve neither liberty nor safety."  -- Ben Franklin



Reply to: