Hi Matthias Andree,
Try to pipe the mail into "maildrop -V2" (or use higher numbers after
the -V), or save it and then run maildrop -V2 <saved.mail -- maybe you
can figure what's going wrong that way if you see the trace.
OK is my maildroprc now (for testing)
SHELL "/bin/bash"
SENDMAIL="/var/qmail/bin/sendmail"
logfile "/home/rhelms/Maildir/maildroplog"
DEFAULT="/home/rhelms/Maildir"
echo 'prüfe Mail'
# '/usr/bin/razor-client'
# if ($RETOURNCODE == 0)
# {
# exit
#}
if (/^From: .*@hknetmail\.com/)
{
echo 'weg damit'
exit
}
echo 'Check erfolgreich'
to: $DEFAULT
and that the result with Verboselevel 2
msg #1/14 : len 4746 ... retrieved Delivery error (command "/usr/local/bin/ma
ildrop -V2" exited 0 but wrote to stderr (maildrop: Changing to /home/rhelms
Message start at 64 bytes, envelope sender=NC20...@link2buy.com))
Resetting connection and aborting (Delivery error (command "/usr/local/bin/maild
rop -V2" exited 0 but wrote to stderr (maildrop: Changing to /home/rhelms
Message start at 64 bytes, envelope sender=NC20...@link2buy.com)))
getmail finished for rhe...@mail.mayn.de:110
rhelms@linux:~>
Getmail breaks down with this error-message.
Regards,
Ruprecht
===================================================
Ruprecht Helms IT-Service und Softwareentwicklung
Homepage: http://www.rheyn.de
email: in...@rheyn.de