I'm trying to find the correct/best practice method for setting up a black hole email address for such items as "noreply" addresses when sending alerts from monitoring devices etc.
I have come across a couple of tutorials which has instructions such as: ---------------------------------------------------- " edit the /etc/postfix/aliases file and add there as bottom line: devnull: /dev/null - rebuild the aliases.db file with the command: newaliases - edit the /etc/postfix/virtual file and add as bottom line (replace the example.com domain with your main virtual domain): blackh...@example.com devnull - rebuild virtual.db file with the command: postmap /etc/postfix/virtual Now create a mail user or alias that is forwarded to blackh...@example.com ... that's all!" ---------------------------------------------------- So I don't really want to create a user on the system unless its really necessary so how would I alias it, is that not already done when editing /etc/postfix/aliases.p, all I really want is a specific address in the mail domain to silently accept and drop any mail sent to it. Error in log isRecipient address rejected: User unknown in local recipient table; from=<> to=nore...@domain.com Thanks,