Qmail Black Hole -- Part II

2006-10-18 One-minute read

My previous attempt at sending mail to /dev/null was not successful. The following actually works for me. I created a new spameater account and have the extension address sent there. In /etc/qmail/users/assign:\=me-extension:spameater:UID:GID:/home/spameater:::Once this was in place I ran ‘qmail-newu’. So far, so good. The next step was to create a black hole .qmail file in /home/spameater:\# Throw messages away undeliveredTo test this I did the following as a regular user:``` mail -s “Qmail Black Hole” me-extension@domain.com < /dev/null