Ticket #366 (new defect)
@local_domains_maps doesn't work as expected, not needed?
| Reported by: | dmorton | Owned by: | dmorton |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.0.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The amavisd.conf file supplied has this line:
@local_domains_maps = ( [".$mydomain"] );
But it doesn't work as expected for me... I turned on autocreate, sent a message to a new account. I had removed the domain default for @dgrmm.net, but had dgrmm.net in the $mydomain variable, which I would expect to call it a local address.
In all fairness, I think this config item should not be present; the definitive answer for whether an address is local should be if we have a database entry other than @. to handle it.
Besides removing this from the config file, there is a bunch of code in maia_autocreate_user() that can be removed, as it would be impossible to autocreate a nonlocal(@.) user.

