Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 1998 12:42:43 -0800 (PST)
From:      David Wolfskill <dhw@whistle.com>
To:        freebsd-questions@FreeBSD.ORG, scott@computeralt.com
Subject:   Re: Alias to null?
Message-ID:  <199811252042.MAA15101@pau-amma.whistle.com>
In-Reply-To: <4.1.19981125153444.033b84a0@mail.computeralt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>Date: Wed, 25 Nov 1998 15:38:46 -0500
>From: "Scott I. Remick" <scott@computeralt.com>

>I would like to set up a dummy account that, should any email be sent to
>it, it gets simply discarded and does not pile up.  However, it's important
>that POP3 access still work on this account... I just never want messages
>to be present to be picked up :) (long story).  Is there a way in
>/etc/aliases to alias the dummy account to /dev/null or similar?

So....  Sounds as if doing precisely what you suggest is in order:

In /etc/aliases:

dummy:	/dev/null

And create an empty mailbox:

# touch /var/mail/dummy
# chown dummy /var/mail/dummy
# chmod 0600 /var/mai/dummy


Looks to me as if that should come fairly close, anyway....

david
-- 
David Wolfskill		UNIX System Administrator
dhw@whistle.com		voice: (650) 577-7158	pager: (650) 371-4621

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811252042.MAA15101>