Not sure how to solve: multiple email domains
pwhooftman last edited by pwhooftman
Recently i re-installed Kopano Core 8.6.2 & Kopano Webapp after a crash.
Collecting mail from remote providers now only works for my main mail domain, not any additional domains.
I use multiple emaildomains, but in this example i will limit it to 2.
UCS Invention server with Kopano Core, Kopano Webapp & Z-push.
In de Administration part of my public email provider, i have setup a forwarding rule so any mail sent to @domain1.net is forwarded to email@example.com, and any mail sent to @domain2.net is forwarded to firstname.lastname@example.org.
In the user settings mail retrieval settings of user 1, i have set up that it polls email@example.com (imap.googlemail.com).
In the user settings mail retrieval settings of user 2, i have set up that it polls firstname.lastname@example.org (imap.googlemail.com).
Mail which is retrieved for user 1 (which was originally sent to i.e. email@example.com and then forwarded to firstname.lastname@example.org) is delivered correctly to the Kopano mailbox of user1
Mail which is sent to email@example.com and then forwarded to firstname.lastname@example.org) is not delivered to the Kopano mailbox of user2. The domain2 is rewritten to the primary domain in mail.log. I have pasted the mail.log lines for the succesfull delivery, and for the failed delivery
Nov 23 19:42:04 server postfix/lmtp: 0BE4F31D02B4: to=<email@example.com>, relay=127.0.0.1[127.0.0.1]:2003, delay=0.63, delays=0.13/0.03/0.03/0.44, dsn=2.1.5, status=sent (250 2.1.5 firstname.lastname@example.org Ok)
Nov 23 19:42:30 server postfix/smtpd: NOQUEUE: reject: RCPT from localhost[127.0.0.1]: 550 5.1.1 <email@example.com>: Recipient address rejected: User unknown in virtual mailbox table; from=<NoReplyTo@logius.nl> to=<firstname.lastname@example.org> proto=ESMTP helo=<server.domain1.net>
Note that the domain part in the email address is rewritten to domain1, while it weas originally sent to domain2. Because i have no user2 configured with an email address email@example.com, the user cannot be found.
I don’t know where to start looking, in my previous kopano setup, the only thing i had to do was set mail/relayauth to yes, and set mail/relayhost. Sending mail outside my server works fine.
pwhooftman last edited by
I have found a work around: add a secondary emailaddress firstname.lastname@example.org to user2.