Zentyal Forum, Linux Small Business Server

Zentyal Server => Email and Groupware => Topic started by: wirdo on November 18, 2019, 04:14:19 pm

Title: E-mail catch-all/multidrop box
Post by: wirdo on November 18, 2019, 04:14:19 pm
Hi Guys,

We're currently in the process of migrating multiple servers over to zentyal commercial but I'm running into a (hopfully small) issue.
One of the servers is currently picking up all e-mail from info@domain.com and distributes it to all users on the server.

So what I have to configure is: An external POP account that picks up all e-mail from info@domain.com.
Zentyal should then look at the mail, if it's for bob@domain.com it should put it in the mailbox with user bob.

Is this something that is possible?

Thanks.
Title: Re: E-mail catch-all/multidrop box
Post by: doncamilo on November 19, 2019, 02:32:43 pm
 :)

You can use a pigeonhole sieve script https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples (https://wiki2.dovecot.org/Pigeonhole/Sieve/Examples)

Here you can see a e-mail forwarding example:

Code: [Select]
if header :contains "subject" ["order", "buy"] {
  redirect "orders@company.dom";
}

Cheers!