Benutzer-Werkzeuge

Webseiten-Werkzeuge


ubuntu:fetchmail

Ubuntu: Fetchmail

Fetchmail ist ein Programm, welches Mails via POP3 oder IMAP abholen und dann per SMTP oder LMTP weiterleiten kann.

Installation

# aptitude install fetchmail

Konfiguration

/etc/fetchmailrc
set daemon 180
set syslog
set postmaster postmaster@meine-domain.de


poll pop.gmx.net proto pop3 uidl port 995:
   user any@gmx.net, with password 'xxxxxxxx', is user@meine-domain.de here ssl keep norewrite;

Als Daemon starten:

/etc/default/fetchmail
# This file will be used to declare some vars for fetchmail
#
# Uncomment the following if you don't want localized log messages
# export LC_ALL=C

# If you want to specify any additional OPTION to the start
# scripts specify them here
# OPTIONS=...

# Declare here if we want to start fetchmail. 'yes' or 'no'
START_DAEMON=yes

Migration

Neben der Installation auf dem Zielsystem müssen folgende Schritte unternommen:

  1. Das Konfigurationsfile vom Quellsystem übernehmen (/etc/fetchmailrc)
  2. Die Datenbank der bereits abgeholten Mails übernehmen (/var/lib/fetchmail/.fetchids)
  3. Den Dienst neustarten
ubuntu/fetchmail.txt · Zuletzt geändert: von Sebastian Hetzel

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki