3 ms·
You could use IMAP to push the emails to the Gmail account (either by dropping them to a maildir and periodically syncing, or using a script to push as they are
by icebraining 8y ago
You could use IMAP to push the emails to the Gmail account (either by dropping them to a maildir and periodically syncing, or using a script to push as they are received, e.g. https://stackoverflow.com/a/11973425 https://stackoverflow.com/a/11973425)
- cm2187 8y agoHa ha. Imap hacked into a mail delivery system. Except that it requires to trust the guy who runs the forwarding server with your gmail credentials.
- tankenmate 8y agoNot necessarily, you can use Oauth2 tokens extension on gmail; that way you don't need to hand over your password(s). Mind you it does nothing to protect you against the token bearer fooling with your mailbox.
- nothrabannosir 8y agoThat’s horrible :p I love it. Unfortunately not a realistic solution if you want to offer forwarding to your users without holding their hand and assuming even more config and management woes. This was a shared host, with a domain, and a bunch of user accounts. In theory, every user does 'echo me@ilovemomma.com > ~/.forward' on first login and they’re all set! Old school UNIX elegance. But in practice, it marks the start of a slow descent into the spam swamp.