From owner-freebsd-questions Wed Nov 25 12:55:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA09885 for freebsd-questions-outgoing; Wed, 25 Nov 1998 12:55:24 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from bar.pilsnet.sunet.se (bar.pilsnet.sunet.se [192.36.125.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA09852 for ; Wed, 25 Nov 1998 12:55:14 -0800 (PST) (envelope-from dufberg@sunet.se) Received: from localhost (dufberg@localhost) by bar.pilsnet.sunet.se (8.8.8/8.8.8) with SMTP id VAA11984; Wed, 25 Nov 1998 21:54:45 +0100 (MET) Date: Wed, 25 Nov 1998 21:54:45 +0100 (MET) From: Mats Dufberg To: David Wolfskill cc: freebsd-questions@FreeBSD.ORG, scott@computeralt.com Subject: Re: Alias to null? In-Reply-To: <199811252042.MAA15101@pau-amma.whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 25 Nov 1998, David Wolfskill wrote: > >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 Most (?) POP servers requires "dummy" to be a valid user, it doesn't need any shell (set /bin/false) or home directory (don't make any and set it to /dev/null). ------------------------------------------------------------------------- Mats Dufberg KTHNOC, KTH, S-100 44 Stockholm, Sweden Telefon/Phone: +46-8+790 83 46 Fax: +46-8-10 25 10 Email: dufberg@sunet.se SUNET:s www-katalog: http://www.sunet.se/sweden/main-sv.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message