[Eisfair_dev] fetchmail: post-connection command failed with status 255

Marcus Roeckrath marcus.roeckrath at gmx.de
Di Apr 5 16:46:13 CEST 2016


Hallo Matthias,

Matthias Prill wrote:

>> Wo kommt die Fehlermeldung? /var/log/fetchmail.log?
> Ja:
> 
> fetchmail: post-connection command failed with status 255
> fetchmail: pre-connection command failed with status 255
> fetchmail: Query status=5 (SYNTAX)
> 
>> Wie lauten die kompletten Meldungen eines fehlerhaften Polls
>> in /var/log/fetchmail.log?
> 
> fetchmail: post-connection command failed with status 255
> fetchmail: pre-connection command failed with status 255
> fetchmail: Query status=5 (SYNTAX)

Sowohl pre als auch post connection liefern errorlevel 255.

>      preconnect  "echo 'fetchmail: awakened at '`date +'%a, %d %b %G
> %H:%M:%S (%Z)'`"

Mach mal bitte:

echo 'fetchmail: awakened at '`date +'%a, %d %b %G %H:%M:%S (%Z)'`
echo $?

> 
>> Welches postcommand soll ausgeführt werden? /etc/fetchmail.conf
> 
>      postconnect "echo 'fetchmail: sleeping at '`date +'%a, %d %b %G
> %H:%M:%S (%Z)'` for 120 seconds;
> /var/spool/exim/custom-mail-check-fingerprint"

Ebenso:

echo 'fetchmail: sleeping at '`date +'%a, %d %b %G %H:%M:%S (%Z)'` for 120
seconds
(eine Zeile)

echo $?

/var/spool/exim/custom-mail-check-fingerprint
echo $?

>> Gibt es dieses Kommando?
> Ja

ls -la /var/spool/exim/custom-mail-check-fingerprint

-- 
Gruss Marcus


Mehr Informationen über die Mailingliste Eisfair_dev