From f5bcfa2e22db6cba141c890ae1948e5a39a87f0c Mon Sep 17 00:00:00 2001 From: worldworm <13227454+worldworm@users.noreply.github.com> Date: Wed, 11 Jan 2023 01:57:11 +0100 Subject: [PATCH] docs: FAQ - Add note for `devnull` alias gotcha when using a catchall rule (#2949) * updates docs faq devnull with sub-catch-all --- docs/content/faq.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/content/faq.md b/docs/content/faq.md index 09ef6c4c..dc8e1cad 100644 --- a/docs/content/faq.md +++ b/docs/content/faq.md @@ -257,6 +257,15 @@ Considering you want to delete all the e-mails received for `baduser@example.com baduser@example.com devnull ``` +!!! important + If you use a catch-all rule for the main/sub domain, you need another entry in `docker-data/dms/config/postfix-virtual.cf`: + + ```cf + @mail.example.com hello@example.com + baduser@example.com devnull + devnull@mail.example.com devnull + ``` + ### How do I have more control about what SPAMASSASIN is filtering? By default, SPAM and INFECTED emails are put to a quarantine which is not very straight forward to access. Several config settings are affecting this behavior: