LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 11-18-2004, 12:47 AM   #1
gbarny
Member
 
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, 01:17 AM   #2
gbarny
Member
 
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 "spammer@blah.com" which returns a failure notice to the sender but still would be interested in finding out the correct method.
 
Old 11-18-2004, 01:30 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,507

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
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.
 
  


Reply


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 03:16 AM
using multiple email programs for one email account kshaffer Linux - Software 1 01-07-2005 05:00 PM
Creating A Second Email Address For Email Account On Sendmail treedstang Linux - Software 1 04-27-2004 10:31 PM
Email account ... JMK Linux - Newbie 2 03-12-2004 04:54 AM
Single POP Account karunesh Linux - General 0 03-01-2002 05:59 AM


All times are GMT -5. The time now is 08:06 AM.

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