1

For some reason I want to be able to send emails to literally nobody.

I mean that if I use mail nobody and send something, I want the email to be immediately discarded. Completely ignored.

How can I do that?

I tried making symlink in /var/mail/nobody pointing to /dev/null, but whenever I send something there I get "Undelivered Mail Returned to Sender".

Is there a better way?

Thanks.

(Forgive my poor English and noob unix skills)

1 Answer 1

5

Add an entry to /etc/aliases:

nobody: /dev/null

then run newaliases.

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .