Random delivery

Andreas Born andreas.born at abotech.de
Sun Dec 31 23:53:28 EET 2017


Jorge Bastos wrote:
> I have account info at domain.tld and when an email is received, I want to
> forward it to several accounts, always in this order:
> 
> ð  Email1 at domain.tlf
> ð  Email2 at domain.tld
> ð  Email3 at domain.tld
> 
> And when it reached email3 at domain.tld it starts again with email1 at domain.tld
> 
> Would something like this be possible?

If you use the sql driver for userdb lookups, you could do this by means
of your mysql lookup query. Just implement a counter and adapt the
appropriate INBOX setting für the "mail" variable in the result set.





More information about the dovecot mailing list