[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8969.0. "Disable a user from receiving mails" by SNOFS1::IPSSG_FL () Wed Feb 26 1997 08:07

    
    On VMS, we can disable an interactive login user from receiving emails
    by using the Authorize utility and modifying the user record flags.
    
    On Digital UNIX V4.0B, how can we do this ?
    
    Any suggestions ??
T.RTitleUserPersonal
Name
DateLines
8969.1CFSCTC::SMITHTom Smith MRO1-3/D12 dtn 297-4751Wed Feb 26 1997 09:2511
    One way:   
    
    # touch /var/spool/mail/username
    # chmod ugo-w /var/spool/mail/username
    
    Senders will get a "service unavailable" error return.
    
    You can get arbitrarily fancy by playing with your sendmail.cf and/or
    aliases files.
    
    -Tom
8969.2use aliasesSEPPLT::MARKMark GarrettWed Feb 26 1997 22:5013
My prefered way is not to disable mail and alias all misc accounts to admin
then point admin at my account using aliases.

	To actually stop mail alias the user to /dev/null. For Digital UNIX
edit /var/adm/sendmail/aliases  add lines like

guest:	/dev/null

	then Run sendmail -bi to rebuild the alias db. Done.


	Cheers
		Mark :)
8969.3VAXCPU::michaudJeff Michaud - ObjectBrokerThu Feb 27 1997 02:0613
> My prefered way is not to disable mail and alias all misc accounts to admin
> then point admin at my account using aliases.

	like to read other peoples mail? shame shame

> 	then Run sendmail -bi to rebuild the alias db. Done.

	or run "newaliases" which I find easier to remember :-)

	Another alternative is to either use a .forward or
	an aliases file alias to route the mail to the vacation(1)
	or simliar program that sends mail a reply back to
	senders with a nice message about ....
8969.4SEPPLT::MARKMark GarrettThu Feb 27 1997 04:327
> 	like to read other peoples mail? shame shame

Yes I always like to read  mail from  root,sys,adm,bin,ftp,uucp ...  :)
I don't think I would call them people though :)

	Cheers
		mark :)