On 2020-05-27 Laura Smith wrote: > Is it somehow possilble to make use of discard(8) to /dev/null certain > addresses in a virtual mailbox setup (e.g. virtual_alias_maps etc.) ? > Or can discard(8) only be applied to "real" receipients
You can define a virtual alias for a local "mailbox" /dev/null. Virtual aliases work for both virtual domains and virtual mailbox domains. ----8<---- # /etc/postfix/virtual ... discardt...@example.org tr...@example.com ... ---->8---- ----8<---- # /etc/aliases ... trash: /dev/null ... ---->8---- Replace "example.org" with your virtual mailbox domain and "example.com" with the local domain of the mail server. Regards Ansgar Wiechers -- "Abstractions save us time working, but they don't save us time learning." --Joel Spolsky