Topic: Create blackhole mail address (e.g. noreply@example.com)
If one needs a mail address from which you will only send mail out, but don't wish to receive mail (e.g. you send a newsletter with noreply@example.com as sender address), you can do this rather easily:
- 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):
blackhole@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 blackhole@example.com ... that's all!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.