Fetchmail

From SME Server
Revision as of 13:13, 28 August 2009 by RayMitchell (talk | contribs) (detailed logging config)
Jump to navigationJump to search


Fetchmail for SME Server

Maintainer

Schirrm's Studio (software)

Description

  • Fetchmail retrieve mails from external mailboxes with many options.

Step-by-step silly HowTo for installation of Fetchmail on SMEserver.

It's intended for Linux-newbies.


Installation

1. Log in (with username root) to the SMEserver console.


2. Install Fetchmail:

yum --enablerepo=smecontribs install smeserver-fetchmail

You will get a y/N-question, answer y if it looks fine.


3. Instructions at the end of previous installation advices the following commands:
"signal-event post-upgrade" and "signal-event reboot"
But you can ignore that and move on


4. In the server-manager, part 'Collaboration' you should find a 'Mails Retrieval' option.

This let you access on the main page of the Fetchmail configuration.

Check installed version

yum info installed smeserver-fetchmail

Uninstall

yum remove smeserver-fetchmail

Additional information

For more info check Schirrm's HowTo here.

To enable detailed logging on a per account basis for troubleshooting purposes do the following:

From the Fetchmail management interface, select mail retrevial, select the required account, set the option for: Do you want to debug this account - YES

Look at the maillog log file a few hours later for possible clues.


To enable detailed logging in Fetchmail (and be able to monitor it after typing /etc/startmail), manually edit /etc/fetchmail and put fetchmail in verbose mode. Then start it with /etc/startmail and check the log with tail -f

Taken from this forum post.

FAQ

Q: What do these strange mails with '#********' from cron mean?
A: If you enabled the debug option for an account in the Mail Retrieval panel in the server-manager you will possibly receive mail from Cron Daemon with the subject "Cron <root@YOURSERVER> /etc/startmail". The mail contains patterns like this: #********. You will stop receiving this mails if you disable debugging for all configured users in the Mail Retrieval panel in the server-manager.

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-fetchmail component or use this link .

Tested software version

Host: SMEserver v7.1 with update 3 (7.1.3)

smeserver-fetchmail-1.3.5-01.noarch.rpm