Topic: Postfix: address_verify_map / smtpd_proxy_filter
We just installed iredmail in test environment. What I have seen so far are two issues which me might discuss:
- If we use this setup to relay email for a customer, we do not have a database of their valid email addresses, so we just relay everything. Postfix has a feature called "address_verify_map". I would suggest to use this.. any other opinions?
- Content filtering with amavis is right now done with the statement "content_filter = smtp-amavis:[127.0.0.1]:10024" in main.cf. This may lead to backscatter since you have to accept mail before checking it. Postfix has a feature called "smtpd_proxy_filter" (to set in master.cf) like that:
smtp inet n - n - 20 smtpd
This holds the connection open and rejects mail if SpamAssassin gets a negative scan result...
Just my 5 cents..