Dear Luggers, i am downloading the mails from a mail server on a linux box using fetchmail. the linux box also runs sendmail. but the attachment doesn't get downloaded. plz look at the last line in logs which says fetchmail: message 1 was not the expected length (992 actual != 149192 expected) is it a mime problem?
-- fetchmail: forwarding to localhost fetchmail: SMTP> MAIL FROM:mohan@lcgindia.com BODY=8BITMIME SIZE=149192 fetchmail: SMTP< 250 2.1.0 mohan@lcgindia.com... Sender ok fetchmail: SMTP> RCPT TO:mohan@localhost fetchmail: SMTP< 250 2.1.5 mohan@localhost... Recipient ok fetchmail: SMTP> DATA fetchmail: SMTP< 354 Enter mail, end with "." on a line by itself # fetchmail: IMAP< ) fetchmail: IMAP< A0005 OK FETCH completed fetchmail: IMAP> A0006 FETCH 1 BODY.PEEK[TEXT] fetchmail: IMAP< * 1 FETCH (BODY[TEXT] {48} (48 body octets) ** fetchmail: IMAP< ) fetchmail: IMAP< A0006 OK FETCH completed fetchmail: message 1 was not the expected length (992 actual != 149192 expected)
Anil Mare Logix Consultancy Group Pvt. Ltd. 1, Ashoka Complex, Ranade Rd., Dadar(W), Mumbai, IN Ph : 24211860, 24366591, 24376857