Review your favorite Linux distribution.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 11-18-2004, 01:47 AM   #1
Registered: Jul 2003
Location: Aust
Distribution: Suse
Posts: 41

Rep: Reputation: 15
block email functions on single account

I am using Solaris 5.8 as a mail server

i have about 50 mail accounts on the box including mine and they all work with out problem. My question is that I don't use my account for email and only as a login, but I get a lot of spam (1000's by the time I get around to cleaning it), I know i can just change the account name and delete the old account, thus solving the problem, but I was wondering if I can just block the email aspect of the username and only use it as a login?

Thanks in advance
Old 11-18-2004, 02:17 AM   #2
Registered: Jul 2003
Location: Aust
Distribution: Suse
Posts: 41

Original Poster
Rep: Reputation: 15
I found a-round-about way by adding a .forward with a bogus email address like "" which returns a failure notice to the sender but still would be interested in finding out the correct method.
Old 11-18-2004, 02:30 AM   #3
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,724

Rep: Reputation: 434Reputation: 434Reputation: 434Reputation: 434Reputation: 434
Instead of deleting your account, I guess just changing your username (e.g. gbarny1 vs gbarny) in /etc/passwd while keeping you uid the same would stop the mail delivery to happen, and keep your home dir still functional.
There are probably other solutions by configuring your MTA (I guess sendmail), but trying out changes in sendmail.conf is risky on a living system.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cyrus email account linux account nobu Linux - Enterprise 0 10-31-2005 04:16 AM
using multiple email programs for one email account kshaffer Linux - Software 1 01-07-2005 06:00 PM
Creating A Second Email Address For Email Account On Sendmail treedstang Linux - Software 1 04-27-2004 11:31 PM
Email account ... JMK Linux - Newbie 2 03-12-2004 05:54 AM
Single POP Account karunesh Linux - General 0 03-01-2002 06:59 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration