This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation.

Use POP3 on a remote catch-all mailbox for local delivery

From Group-Office Groupware and CRM Documentation
Revision as of 12:49, 21 January 2010 by Admin (Talk | contribs) (.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You might already have a remote POP-3 mailbox that handles all your mail. When you setup Group-Office in your office it can be very useful to save the remote mail in local mailboxes so you don't have to buy a lot of diskspace at your mail provider and you get optimal speed when reading the mail. If you already setup Group-Office with the postfix mailserver then you can set this up easily with fetchmail.

First setup yourdomain.com in Group-Office at the E-mail domains (postfixadmin) module. Configure all mailboxes.

After that install fetchmail:

apt-get install fetchmail

edit /etc/default/fetchmail and change:

START_DAEMON=yes

Create or edit /etc/fetchmailrc:

poll mailserverof.provider.com localdomains yourmaildomain.com
     envelope X-Envelope-To
     user catchall@yourdomain.com with pass catchall to * here smtphost 127.0.0.1

Change the permissions:

chmod 0710 /etc/fetchmailrc
chown root:root /etc/fetchmailrc

Now start the deamon:

/etc/init.d/fetchmail start