Sample Header Ad - 728x90

Can Postfix handle multiple address extensions like Qmail does (user-ext1-ext2@example.com)?

2 votes
1 answer
243 views
Qmail and Postfix support address extensions like username-ext1@example.com where emails will be delivered to username, if the delimiter is configured to -. Users can handle mails with .forward files in their home directory by default. (Or .qmail for Qmail.) Emails to username-ext1@example.com are handled by the .forward-ext1 file if it exists, otherwise .forward is used as fallback. For username-ext1-ext2@example.com Qmail tries .qmail-ext1-ext2, then .qmail-ext1 and finally .qmail. Postfix tries .forward-ext1-ext2 and then directly .forward without caring about .forward-ext1. **How can I get Postfix to handle multiple address extensions?** I want to catch all mails to username-ext1-*@example.com without parsing headers myself in .forward. – Did I miss something? (This would also be useful for users who want to have multiple VERP-style mailing lists with simple separate configurations.)
Asked by Robert Siemer (2445 rep)
Feb 5, 2018, 09:41 AM
Last activity: Mar 15, 2023, 08:56 AM