Author Topic: E-mail catch-all/multidrop box  (Read 126 times)

wirdo

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
E-mail catch-all/multidrop box
« 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.

doncamilo

  • Zen Samurai
  • ****
  • Posts: 336
  • Karma: +69/-1
    • View Profile
Re: E-mail catch-all/multidrop box
« Reply #1 on: November 19, 2019, 02:32:43 pm »
 :)

You can use a pigeonhole sieve script 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!
"That place... is strong with the
dark side of the Force.  A domain
of evil it is.  In you must go."

Yoda.