Koozali.org: home of the SME Server

Fetchmail 4.01

Ken

Fetchmail 4.01
« on: December 15, 2000, 09:18:30 AM »
I created a script to pop out to my external accounts and down load the mail to my e-smith server.  Under 4.01 I installed Horde/Imp to view the mail in separate accounts.

The popping out to retrieve the mail works just fine.

However, following the e-smith rules for modifying templates I noticed a change since I installed Horde/Imp that the fetchmail is now a directory in:
/etc/e-smith/templates/etc    inside the fetchmail directory are four files::
20disabled  50ETRN 50multi-drop template-begin

In /etc I modified fetchmail to do a test for pop mail.  Then I modified
/etc/e-smith/templates-custom/etc/fetchmail/50multi-drop where I added my pop accounts.

In the e-smith web interface, under Email Retrieval, I set Email retrieval mode to
Multi-drop and setting times for occurences to pop.

When I click the save button.  I check /etc/fetchmail  and all the settings are back to the original install. (I lost my changes)

To get around the issue for now, I recreated the fetchmail with again, it now pops out as it should.

However I get e-mail messages roughly every 15 minutes:

/etc/fetchmail: -+#!/bin/sh: No such file or directory    from the Cron Daemon.

Can anyone explain what I could be doing wrong.  I also copied 50multi-drop to the templates directory as the /var/log/messages file indicates that is where it is reading from templates.

I have not tested this under 4.1 yet, I thought I should hold out.

Kenneth Lang

Ken

RE: Fetchmail 4.01
« Reply #1 on: December 15, 2000, 11:38:34 PM »
Ok, I figured out all my problems but I was wondering if someone can answer one question.  To make this work I modified /home/e-smith/services and added the line
fetchmail=enabled.

If this was not set previously, could it be because my e-smith is set up as a server and not a gateway server??

Ken




Ken wrote:

> I created a script to pop out to my external accounts and down
> load the mail to my e-smith server.  Under 4.01 I installed
> Horde/Imp to view the mail in separate accounts.
>
> The popping out to retrieve the mail works just fine.
>
> However, following the e-smith rules for modifying templates I
> noticed a change since I installed Horde/Imp that the fetchmail
> is now a directory in: /etc/e-smith/templates/etc    inside the
> fetchmail directory are four files:: 20disabled  50ETRN
> 50multi-drop template-begin
>
> In /etc I modified fetchmail to do a test for pop mail.  Then I
> modified
> /etc/e-smith/templates-custom/etc/fetchmail/50multi-drop where
> I added my pop accounts.
>
> In the e-smith web interface, under Email Retrieval, I set
> Email retrieval mode to Multi-drop and setting times for
> occurences to pop.
>
> When I click the save button.  I check /etc/fetchmail  and all
> the settings are back to the original install. (I lost my
> changes)
>
> To get around the issue for now, I recreated the fe....