Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2024 12:17:22 -0500
From:      mike tancsa <mike@sentex.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   dma aliases to a file (/dev/null)
Message-ID:  <ceba522a-ffa1-43e1-b555-e9fe1927b1c8@sentex.net>

next in thread | raw e-mail | index | archive | help
Have a bit a hard time finding this via google and the man pages, but is 
it possible to have

bit-bucket: /dev/null

in the /etc/aliases file with DMA ?


# mail -v bit-bucket
Subject: testing to null

.
EOT
sendmail: invalid recipient `bit-bucket'

# grep bit-bu /etc/aliases
bit-bucket: /dev/null
dev-null: bit-bucket


If I change /dev/null to a valid user it works. It implies I cant 
redirect to a file or just discard mail ?  Is there a different DMA 
command / config to discard mail sent to a certain user ?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ceba522a-ffa1-43e1-b555-e9fe1927b1c8>