sendmail: how do i reject emails to user man?

I run Linux and dont want the default users (bin,
man, at, nobody, ...) to receive email.

This mail shall not be forwarded to root or so,
but bounced to the sender with a

550 <man@incognito.ch>... User unknown.

Is there an easy way to achive this?
(I am not willing to learn R$+<@$=w.>$:$>96 $1<@ ${ms} >gwrrrksmth)

jxf@gmx.ch
ttyrasAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ttyrasAuthor Commented:
Edited text of question.
0
ahoffmannCommented:
get sendmail 8.9.x from http://www.sendmail.org and check docs about
  FEATURE(redirect)
or probably a cleaner solution, but needs C-programming:
  Restricting use of Email
0
harrysCommented:
Redirect them to an unexistant account.
eg.
/etc/aliases
man: no_account
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

ttyrasAuthor Commented:
So, da eure Antworten alles Schrott waren, beantworte ich die Frage jetzt selber. Und zwar auf deutsch. Bääh. :*P

In der /etc/sendmail.cf muß man im Abschnitt SLocal_check_rcpt eine
solche Zeile anfügen:

Rman      $#error $@ 5.1.3 $: "Sorry, this user does not accept any mail from you"

Direkt hinter Rman muß ein TAB stehen.


So, dafür hätte ich jetzt gern 200 Punkte!

tty
0
harrysCommented:
Tja ttyras , wenns nicht gegangen ist, warum akzeptierst du dann die Antwort?

cu harry

ps: bei mir ging das ;-)
0
ahoffmannCommented:
> wenns nicht gegangen ist, warum akzeptierst du dann die Antwort?
damit du zu deinen Punkten kommst ;-)
0
harrysCommented:
>damit du zu deinen Punkten kommst ;-)
Dafuer kann ich mir auch nix kaufen :-)

btw. wenn hier soviele Krauts rumhaengen, warum gibts dann keine deutschsprachigen Foren?
0
ahoffmannCommented:
> btw. wenn hier soviele Krauts rumhaengen, warum gibts dann keine deutschsprachigen Foren?

weil jeder der da eine Frage stellen würde potentiell die meisten experts von Antworten ausschließt, in D fehlen ja angeblich 100.000 IT-Spezialisten

BTW. bevorzuge ich  "debugging problems" statt "Probleme gedebug(g)t werden" (oder müßte man besser "Probleme entwantzen/entkäfern" sagen? , was beides nicht sinnverwandt übersetzt wäre:-)))
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking

From novice to tech pro — start learning today.