====== 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 ===== 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: # 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: - Das Konfigurationsfile vom Quellsystem übernehmen (''/etc/fetchmailrc'') - Die Datenbank der bereits abgeholten Mails übernehmen (''/var/lib/fetchmail/.fetchids'') - Den Dienst neustarten