unexpected delivery location

Noel noeldude at gmail.com
Wed Aug 23 22:56:59 EEST 2017


On 8/23/2017 2:53 PM, mj wrote:
>
> On 08/23/2017 06:03 PM, Noel wrote:
>> Don't use wildcard aliases.  They break recipient validation and
>> cause postfix to accept all addresses.
>>
>> Instead use 1-1 aliases, such as
>> user1 at olddomaon  user1 at newdomain
>> user2 at olddomaon  user2 at newdomain
>
> But we have 500+ addresses in ldap, surely there must be some
> 'automated' way to 'transform' any incoming mail sent to
> random at olddomain.com into random at newdomain.com?
>
> (and then have it processed regularly, so that bounces still work
> for non-existant addresses and such)
>
> MJ


Perhaps you can adjust your query or your database to return the
desired result.  Otherwise, use your scripting skills to generate a
file, then automate the procedure.



  -- Noel Jones



More information about the dovecot mailing list