Re: user unknown in virtual mailbox table

2018-05-03 Thread Alfredo De Luca
Hi Willi. Thanks for your reply. About the 3rd site..don't worry as it was a mistake trying to change stuff on email. I will provide more logs and info asap. Cheers On Thu, May 3, 2018 at 10:19 AM wilfried.es...@essignetz.de < wilfried.es...@essignetz.de> wrote: > Ok. Now i'm really shure it's

Re: user unknown in virtual mailbox table

2018-05-03 Thread wilfried.es...@essignetz.de
Ok. Now i'm really shure it's clear. But, what is the third mentioned domain "mydomain2.it"? (in your Mail from 28.04.2018 17:11) Please give the thoughts from my last mail a try: >> Where comes @mydomain1.com from? Thinks you provided doesn'g give an >> idea. Maybe from extending "areluca" from

Re: user unknown in virtual mailbox table

2018-04-30 Thread Alfredo De Luca
Hi Wilfried. Sorry for the delay. So... we used to have as company mydomain1.com then we became mydomain2.com. The email are still mydomain1.com but we translate them through postfix on mydomain2.com. I see... It's a bit of mess and I agree but for now can't do anything about the double domain.

Re: user unknown in virtual mailbox table

2018-04-26 Thread wilfried.es...@essignetz.de
Am 25.04.2018 um 19:44 schrieb Alfredo De Luca: > Hi guys. any clue on this issue? Not really, only some thougt: Testing arel...@mydomain1.com returns "user unknown" Testing arel...@mydomain2.com returns arel...@mydomain1.com Where comes @mydomain1.com from? Thinks you provided doesn'g gi

Re: user unknown in virtual mailbox table

2018-04-25 Thread Alfredo De Luca
Hi guys. any clue on this issue? /Alfredo On Fri, 20 Apr 2018, 17:24 Alfredo De Luca, wrote: > Hi all. I had a run with postmap and these are the founding > > so we have mydomain1.com which is the original domain.and > mydomain2.com which is the actual domanin of our company. > So when

Re: user unknown in virtual mailbox table

2018-04-20 Thread Alfredo De Luca
Hi all. I had a run with postmap and these are the founding so we have mydomain1.com which is the original domain.and mydomain2.com which is the actual domanin of our company. So when I do the following - postmap -q arel...@mydomain1.comregexp:./domain_rewriting ldap:./ ldap-virtual-m

Re: user unknown in virtual mailbox table

2018-04-20 Thread Viktor Dukhovni
> On Apr 20, 2018, at 8:03 AM, @lbutlr wrote: > > The biggest issue between regex (POSIX) and PCRE is that POSIX regex is > greedy. that is, it matches the longest possible left, while PCRE matches the > shortest possible left. That's false (example uses a Bash in-line file): $ postmap -

Re: user unknown in virtual mailbox table

2018-04-20 Thread @lbutlr
On 2018-04-20 (05:07 MDT), Wietse Venema wrote: > > Also, be aware that many examples 'on the web' use PCRE which > is subtly different from regexp. The biggest issue between regex (POSIX) and PCRE is that POSIX regex is greedy. that is, it matches the longest possible left, while PCRE matches

Re: user unknown in virtual mailbox table

2018-04-20 Thread Wietse Venema
Alfredo De Luca: > Hi all. Any clue/suggestions? > > virtual_mailbox_domains = $config_directory/vdomains.txt > > virtual_mailbox_maps = regexp:$config_directory/domain_rewriting Test your regexp table like this: $ postmap -q u...@example.com regexp:$config_directory/domain_rewriting Or better,

Re: user unknown in virtual mailbox table

2018-04-20 Thread Alfredo De Luca
Hi all. Any clue/suggestions? Cheers On Thu, Apr 19, 2018 at 2:51 PM, Alfredo De Luca wrote: > Hi all. Here is my postfix config.of course with domains and ip > changed. > > I had a look also on the ldap section and given what are the > reccommandation here (http://www.postfix.org/LDAP_REA

Re: user unknown in virtual mailbox table

2018-04-19 Thread Alfredo De Luca
Hi all. Here is my postfix config.of course with domains and ip changed. I had a look also on the ldap section and given what are the reccommandation here (http://www.postfix.org/LDAP_README.html#config) it seems to be that ldap queries when we received an unknow user with a different domain f

Re: user unknown in virtual mailbox table

2018-04-18 Thread Alfredo De Luca
Thanks guys. I ll provide more info later. I checked on my configuration and we have the following for the virtual_mailbox_maps: virtual_mailbox_maps = regexp:$config_directory/domain_rewriting ldap:$config_directory/ldap-virtual-maps.cf ** /^(.*)@mydomain1.com$/${1}@mydomain2.it ** *http:/

Re: user unknown in virtual mailbox table

2018-04-18 Thread /dev/rob0
On Wed, Apr 18, 2018 at 04:15:19PM +0200, Alfredo De Luca wrote: > We have 2 domain managed by postfix. > > When I send an email to an not existing user in the first donain I > got back an email user unknown... "User unknown in virtual mailbox table" means the domain was found in virtual_mailbox

RE: user unknown in virtual mailbox table

2018-04-18 Thread Fazzina, Angelo
You will get more help if you provide helpful info. http://www.postfix.org/DEBUG_README.html#mail -ANGELO FAZZINA ITS Service Manager: Spam and Virus Prevention Mass Mailing G Suite/Gmail ang...@uconn.edu University of Connecticut, ITS, SSG, Server Systems 860-486-9075 From: owner-postfix-us