Re: getmail hung

Charles Cazabon <[email protected]>
Newsgroups gmane.mail.getmail.user
Message-ID <[email protected]>
Emanuel Milani <[email protected]> wrote:
> 
> I have some trouble with some email... getmail hung on some mail...

As Matthias correctly noted, you have provided zero output/logs/information to
actually show the problem, so there's no way anyone here can give you the
correct answer.

Going purely on guesswork...

> remove one particular message all go restart smoothly.
> I tried debug with --trace but nothing... getmail stay hung on that
> message... I can't see no log or error

I have never seen getmail "hang" on processing a message.  I would bet dollars
to doughnuts that it's actually one of two things:

1) The POP or IMAP server is hanging/failing to return the correct response to
getmail's retrieval command.

2) Your external MDA is actually hanging/blocking while getmail is trying to
deliver to it.

> This my configuration:
> 
> [destination]
> type = MDA_external
> path = /usr/sbin/sendmail
> arguments = ("-i", "-bm", [email protected])

That's not actually valid getmailrc syntax.  Assuming you fix that, this is a
*really bad idea*.  Configure getmail to use an MDA like maildrop, or to
deliver directly to the mailbox for [email protected] -- do not pipe retrieved
messages back into an MTA.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon
GPL'ed software available at:               http://pyropus.ca/software/
-----------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.