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

Re: virtusertable




charles@lunarmedia.net wrote:
> 
> If I would like mail being delivered to a specific "non-real" user account
> to be dropped to /dev/null, *without* having any type of logging action
> going on, what would be the best way?
> 
> I tried adding:
> 
> @spamdomain.com         /dev/null
> 
> within my /etc/mail/virtusertable, and I get syslog messages for each
> incoming mail saying that sendmail cannot write directly to a file.

If that file's anything like aliases, use a pipe like "| cat >
/dev/null" (with the quotes).  If that still fails, make a shell script
that does that, and just pipe to it.

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.