Norton Allen:
[ Charset ISO-8859-1 unsupported, converting... ]
> I have a server with virtual_alias_domains and virtual_alias_maps.
> Aside from the required administrative aliases, I do not need to accept
> mail addressed to the server's hostname.
>
> Now I would like to add Majordomo lists to a couple of my virtual
> domains. From the Majordomo HowTo linked Postfix site we have:
>
> test: "|/var/majordomo/resend -l test test-list"
> test-list: :include:/var/majordomo/lists/test
> test-request: "|/var/majordomo/request-answer test"
> test-approval: owner-test
> test-owner: owner-test
> owner-test: jon
>
> In my case, this would be layered below the virtual aliases:
>
> [email protected]: test-my-virtual-domain
> ...
>
> with the local aliases becoming:
>
> test-my-virtual-domain: "|/var/majordomo/resend -l test
> test-my-virtual-domain-list"
> test-my-virtual-domain-list: :include:/var/majordomo/lists/test
In the pcre_table manpage is a very old example to block mail to
majordomo "internal-only" aliases. It would be used like this:
/etc/postfix/main.cf:
smtpd_recipient_restrictions =
permit_mynetworks
...
reject_unauth_destination
...
check_recipient_access pcre:/etc/postfix/pcre
/etc/postfix/smtpd_access.pcre:
# Protect your outgoing majordomo exploders
/^(?!owner-)(.*)-outgoing@(.*)/ 550 Use ${1}@${2} instead
You can adopt standard majordomo address convention, or you can
update the regular expression.
Wietse