fetchmail-friends
[Top] [All Lists]

[fetchmail]bugreport fetchmail+plugins

2001-09-20 15:03:59
Hi!
I think i've found a bug in fetchmail. When using plugins, fetchmail
doesn't seem to be calling wait so the plugin ends up as a zombie.
I use ssh to log in to the server and execute imapd, as also mentioned
in the manpage. After each poll, ssh gets zombied. I've added
waitpid(...)
to SockOpen (adding to SockClose showed no effect) and the zombies
disapear the
next time a poll is started. I saw that there is an SIG_CHLD handler,
but
it doesn't seem to get called.

Output from "ps -axs" (maybe it helps)
    0  4002 0000000000000000 0000000000000000 8000000000380000
0000000000007227 S    ?          0:00 ./fetchmail -f
    0  4223 0000000000000000 0000000000000000 0000000000000000
0000000000000000 Z    ?          0:00 [ssh <defunct>]

My operating system is linux 2.4.0, gcc version 2.96
imap greeting Line:
* PREAUTH [CAPABILITY IMAP4REV1 IDLE NAMESPACE MAILBOX-REFERRALS SCAN
SORT THREAD=REFERENCES THREAD=ORDEREDSUBJECT MULTIAPPEND]
stinky.trash.net IMAP4rev1 2001.309 at Thu, 20 Sep 2001 23:42:47 +0200
(MEST)
mda: sendmail 8.11.6
commandline option: -f /root/fetchmailrc

output from fetchmail -f /root/fetchmailrc -V:

This is fetchmail release 5.9.0+NLS
Linux xyz 2.4.0 #3 Don Feb 8 15:36:14 EST 2001 i586 unknown
Taking options from command line and /root/.fetchmailrc
Poll interval is 120 seconds
Logfile is 
Idfile is /root/.fetchids
Progress messages will be logged via syslog
Fetchmail will forward misaddressed multidrop messages to .
Options for retrieving from xyz(_at_)stinky(_dot_)trash(_dot_)net:
  True name of server is stinky.trash.net.
  Protocol is IMAP.
  End-to-end encryption assumed.
  Server nonresponse timeout is 300 seconds (default).
  Default mailbox selected.
  Only new messages will be retrieved (--all off).
  Fetched messages will not be kept on the server (--keep off).
  Old messages will not be flushed before message retrieval (--flush
off).
  Rewrite of server-local addresses is enabled (--norewrite off).
  Carriage-return stripping is disabled (stripcr off).
  Carriage-return forcing is disabled (forcecr off).
  Interpretation of Content-Transfer-Encoding is enabled (pass8bits
off).
  MIME decoding is disabled (mimedecode off).
  Idle after poll is disabled (idle off).
  Nonempty Status lines will be kept (dropstatus off)
  Delivered-To lines will be kept (dropdelivered off)
  Messages will be SMTP-forwarded to: localhost (default)
  Recognized listener spam block responses are: 571 550 501 554
  Single-drop mode: 1 local name(s) recognized.
  Server connections will be made via plugin ssh -l xyz stinky.trash.net
/sw/sbin/imapd -1 (--plugin ssh -l xyz stinky.trash.net /sw/sbin/imapd
-1).
  No UIDs saved from this host.

Bye,
Patrick


<Prev in Thread] Current Thread [Next in Thread>