in sendmail 8.0.3 or above,  set /etc/mail/access to discard for that
user:

username DISCARD

 then restart sendmail.  the access.db should be automatically rebuilt for
you.


On Fri, 9 Jun 2000, John Aldrich wrote:

> IS there a way to get Sendmail to forward mail for certain
> email addresses to /dev/null? I tried telling Sendmail to
> pipe mail for [EMAIL PROTECTED] to /dev/null in both virtual user
> table and in /etc/aliases, but when I tried to send myself
> a test message, Sendmail refused.
> I'd *like* to have Sendmail accept mail, but promptly dump
> it to /dev/null (or the equivalent.)
> Could I make a user "null" with a mailbox symlinked to
> /dev/null, perhaps?
>       Thanks...
>       John
> 

Reply via email to