1

Topic: Maybe use Dovecot to move to gmail

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): Latest
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi,
I'm trying to solve a deliverability issue. GMail is refusing messages from my server. There is probably quite spammy content that's being forwarded along with good messages.

To solve this deliverability issue, I'd like to IMAP move all messages received for N aliases to a single gmail inbox.

I'd like to know if it's possible to configure Dovecot to move messages from a local address to a GMail inbox? I realize this may be a Dovecot list question, but I'm asking here first.

My other solution is to install TBird, configure it for N+1 accounts, create filters for N accounts that IMAP move new messages to a single gmail inbox.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Maybe use Dovecot to move to gmail

I'm looking into  imapsync

3

Re: Maybe use Dovecot to move to gmail

- As @jchimene, imapsync should work.
- Another possible solution is doveadm-sync. https://wiki.dovecot.org/Tools/Doveadm/Sync

4

Re: Maybe use Dovecot to move to gmail

ZhangHuangbin wrote:

- As @jchimene, imapsync should work.
- Another possible solution is doveadm-sync.

It turns out I need IMAP sync to IMAP sync. It's not something that Dovecat can do all by its lonesome, as it has no way (afaict) to connect to an external IMAP server. TFM describes local mailboxes only.

imapsync is really nice. Extensively documented, and it acually works as described on the label (so far). It likes to run interactively, but it's happy to be used via systemd.