OG Mailinglist fetching mail over POP on a shared VPS host

Last updated on
30 April 2025

This is a step by step guide on how to be able to integrate og_mailinglist in your shared environment to fetch email from a (remote) POP3 account.

Please note, that it is easier to use OG Mailinglist Mailgun integration instead. And if you have root access (as is required here), you could also use Exim, Postfix or Qmail directly.

Requirements:

  1. Root access
  2. Organic Groups and OG Mailinglist installed
  3. Google Apps or Gmail account
  4. Fetchmail installed on your VPS

Steps:

  1. Place og_mailinglist/og_mailinglist_postfix_transport.php in a convinient place.
  2. Create a .fetchmailrc and replace user:pass:domain with your login data:

set no bouncemail
poll pop.gmail.com
with proto POP3
envelope "X-Envelope-To:"
user 'user@domain #or gmail.com'
there with password 'pass'
is * here
mda "/path/to/og_mailinglist/og_mailinglist_postfix_transport.php"
options
no keep
no rewrite
ssl
sslcertck
sslcertpath /etc/ssl/certs

When calling the fetchmail -v you'll see if fetchmail is able to get the mails from your Gmail account.

Help improve this page

Page status: Not set

You can: