3 ms·
> You can also even keep Gmail as your MX server! Just move messages off of it as soon as they arrive. It's just a mailbox, after all Do you have more informat
by RunningDroid 4y ago
> You can also even keep Gmail as your MX server! Just move messages off of it as soon as they arrive. It's just a mailbox, after all
Do you have more information about this?
I've been looking to do something similar so that I can have my mail sorted into folders without setting up the same rules on multiple clients. (Gmail's sorting doesn't seem to support some of the sorting I'm currently doing in Thunderbird)
- iam-TJ 4y agoI've been hosting and operating my own MTA MX with Postfix since 2005. I have Postfix set to use "MailDir" format storage (one file per email) and then use Procmail filters to direct emails into per-sender or per-topic specific folders when they arrive on the server - nothing needed to be done in the email client. Dovecot provides the IMAP4 client interface. Thunderbird connects via IMAP4. Each domain has its own user home directory so for each there is a /home/${domain_name}/Maildir/ directory as the base for storing emails, and each IMAP4 folder has an associated directory. Snippet: $ ls -1da Maildir/.Technology.FOSS.Projects.Linux* Maildir/.Technology.FOSS.Projects.Linux Maildir/.Technology.FOSS.Projects.LinuxContainers Maildir/.Technology.FOSS.Projects.Linux.drbd Maildir/.Technology.FOSS.Projects.Linux.kernel Maildir/.Technology.FOSS.Projects.Linux.linaro.dev Maildir/.Technology.FOSS.Projects.Linux.linux-i2c Maildir/.Technology.FOSS.Projects.Linux.linux-input Maildir/.Technology.FOSS.Projects.Linux.linux-pci Maildir/.Technology.FOSS.Projects.Linux.linux-usb Here's an extended snippet example from $HOME/.procmailrc that directs deliveries into the correct directory (IMAP4 folder): :0H * ^List-id: .*linux-usb\.vger\.kernel\.org $HOME/Maildir/.Technology.FOSS.Projects.Linux.linux-usb/ :0H * ^List-id: .*linux-wireless\.vger\.kernel\.org $HOME/Maildir/.Technology.FOSS.Projects.Linux.linux-wireless/ :0H * ^List-id: .*yaffs\.lists\.aleph1\.co\.uk $HOME/Maildir/.Technology.FOSS.Projects.Linux.yaffs/ :0H * ^List-id: .*util-linux\.vger\.kernel\.org $HOME/Maildir/.Technology.FOSS.Projects.Linux.util-linux/ ### LinuxContainers :0H * ^List-id: .*lxc-devel\.lists\.linuxcontainers\.org $HOME/Maildir/.Technology.FOSS.Projects.LinuxContainers/ ### Linaro :0H * ^List-id:.*linaro-dev\.lists\.linaro\.org $HOME/Maildir/.Technology.FOSS.Projects.Linux.linaro.dev/ :0H * ^List-id:.*linaro-kernel\.lists\.linaro\.org $HOME/Maildir/.Technology.FOSS.Projects.Linux.linaro.kernel/