Re: Virtusertable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Mon, 2003-02-03 um 20.43 schrieb Thom Paine:
> I only want to accept mail for a few names, specifically this one, and a
> couple of others. Is there a way to tell sendmail to reject all the rest in
> the virtusertable? Or am I even trying to do it with the right file?

You may write in virtusertable

name1@domain1.com 	namenew@wheretodeliver
name2@domain1.com	namenew@wheretodeliver
%1@domain1.com		nobody

and in the same way regarding your domain2.

name1 and name2 will be delivered to the specified recipients, all other
will be routed to nobody.

In aliases you may define:

nobody: 	/dev/null

Using this approach the mail to adresses aou are not willing to accept
will be routed to /dev/null *without* any notification of the sender.


Peter





-- 
Peter Boy <pboy@barkhof.uni-bremen.de>
Univiversity of Bremen



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux