Koozali.org: home of the SME Server

fetchmail: command not found

Offline darmasanthi

  • ****
  • 139
  • +0/-0
fetchmail: command not found
« on: July 12, 2011, 01:40:53 PM »
Dear All,
I found this error messages:

Code: [Select]
[root@server~]# fetchmail -?
-bash: fetchmail: command not found

this is the version of fetchmail:

Code: [Select]
[root@server ~]# yum info installed smeserver-fetchmail
Loading "installonlyn" plugin
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Loading "protect-packages" plugin
Installed Packages
Name   : smeserver-fetchmail
Arch   : noarch
Version: 1.3.6
Release: 21.el4.sme
Size   : 453 k
Repo   : installed
Summary: sme module to generate fetchmail poll

Description:
 sme server enhancement to make fetchmail more useable



regards,
darmasanthi


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: fetchmail: command not found
« Reply #1 on: July 12, 2011, 06:27:53 PM »
this is the version of fetchmail:

Code: [Select]
[root@server ~]# yum info installed smeserver-fetchmail

No, that is the version of smeserver-fetchmail installed. It appears you do not have fetchmail installed.

Code: [Select]
rpm -q fetchmail

will verify.

Code: [Select]
yum install fetchmail

will correct the problem.

However, you still have a mystery as to how 'fetchmail' came to be not installed - did you perhaps do:

Code: [Select]
rpm -e fetchmail

at some stage?

You should also report a bug against smeserver-fetchmail. It should have 'Requires: fetchmail' in its rpm spec file.