I host a number of virtual domains whose mail recipients are mapped to local, shell-based email accounts on my server. I have no "locals" file, and all my domains are listed in "esmtpacceptmailfor" and "hosteddomains". Since nothing exists in "locals", I cannot enable local filtering via localmailfilter(7).
The only difference between locals and hosteddomains is that the actual mailbox names must include @domain, in case of hosteddomains.
In all other respects, the accounts may be used in the same identical way. You should be able to create .mailfilters, and installed rcptfilter/smtpfilter files for either locals or hosteddomains-based accounts.
I keep forgetting the exact reason why I don't use "locals" ... it
Because with locals you cannot have a different mailbox for each local mailbox name. So that if both example.com and domain.com are in locals, [EMAIL PROTECTED] and [EMAIL PROTECTED] is the same exact mailbox, "foo". Using hosteddomains allows you to have separate "[EMAIL PROTECTED]" and "[EMAIL PROTECTED]" mailboxes.
pgp00000.pgp
Description: PGP signature
