Re: unexpected delivery location

2017-08-29 Thread lists
For the archives: On 23-8-2017 21:56, Noel wrote: 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. I ended up creating a file /etc/postfix/olddomain with this contents: /^([

Re: unexpected delivery location

2017-08-23 Thread mj
Hi, On 08/23/2017 09:56 PM, Noel wrote: 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. Thanks for the suggestion, I try something like that. Still feel that some simple con

Re: unexpected delivery location

2017-08-23 Thread Noel
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@olddomaon  user1@newdomain >> user2@olddomaon  user2@newdomain > > Bu

Re: unexpected delivery location

2017-08-23 Thread mj
Hi Noël, Thanks for your response! 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@olddomaon user1@newdomain user2@olddomaon user2@newdomain But we have 500+ a

Re: unexpected delivery location

2017-08-23 Thread Noel
On 8/23/2017 4:30 AM, lists wrote: > Hi, > > Not sure what the lack of replies means... As postfix is also > involved, should I better ask there? > > It seems a little bit in between postfix and dovecot... > > Just to clearify one thing I wrote: > > On 22-8-2017 16:23, lists wrote: >> We're running

Re: unexpected delivery location

2017-08-23 Thread lists
Hi, Not sure what the lack of replies means... As postfix is also involved, should I better ask there? It seems a little bit in between postfix and dovecot... Just to clearify one thing I wrote: On 22-8-2017 16:23, lists wrote: We're running dovecot 2.2.13, virtual users, with postfix. We ha

unexpected delivery location

2017-08-22 Thread lists
Hi, We're running dovecot 2.2.13, virtual users, with postfix. We have an olddomain and a new domainname. To 'translate' *@olddomain into *@newdomain, I have configured: cat /etc/postfix/canonical @olddomain.com @newdomain.com While this seems to work, lately we have noticed that dovecot