Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2006 14:55:29 -0500
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        David Banning <david+dated+1164829184.7896cd@skytracker.ca>
Subject:   Re: question on virtusertable - sendmail
Message-ID:  <200611241455.30008.lists@jnielsen.net>
In-Reply-To: <20061124193944.GA4950@skytracker.ca>
References:  <20061124193944.GA4950@skytracker.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 24 November 2006 14:39, David Banning wrote:
> I have several times where I have no user setup in virtusertable but
> the mail is still delivered to the user. If I delete the user
> then the mail bounces - I want to keep the user and still have
> the mail bounce - how would I do that?

Create a virtusertable entry for each user at the relevant domain you DO 
want to receive mail, then add a catchall entry:

bob@domain.com	bob
tom@domain.com	tom
@domain.com		bounce

You can define "bounce" in /etc/mail/aliases, or just leave it undefined 
(since it will probably bounce anyway).

JN



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