fetchmail-friends
[Top] [All Lists]

[fetchmail] Losing mail when disk space runs low :(

2003-06-22 18:45:05
RH 8.0
fetchmail-5.9.0-21.8.0 (rpm)

.fetchmailrc (run manually):
set invisible
set postmaster myusername
set syslog

poll 10.x.x.x (an Exchange server)
      user myusername
      dropstatus
      mimedecode
      password 'mypassword'

When the system runs low on storage space, I get errors like
this in the logs:

Jun 23 00:05:50 hostname fetchmail[16603]: IMAP> A0022 FETCH 1 RFC822.HEADER
Jun 23 00:05:50 hostname fetchmail[16603]: IMAP< * 1 FETCH (RFC822.HEADER {976}
Jun 23 00:05:50 hostname fetchmail[16603]: reading message 5 of 23 (976 header 
octets)
Jun 23 00:05:50 hostname fetchmail[16603]: SMTP> MAIL 
FROM:<sender0(_at_)domain0(_dot_)com> SIZE=2758
Jun 23 00:05:50 hostname postfix/smtpd[16606]: A586E3EDF: 
client=localhost[127.0.0.1]
Jun 23 00:05:50 hostname fetchmail[16603]: SMTP< 250 Ok
Jun 23 00:05:50 hostname fetchmail[16603]: SMTP> RCPT 
TO:<myusername(_at_)localhost>
Jun 23 00:05:50 hostname fetchmail[16603]: SMTP< 250 Ok
Jun 23 00:05:50 hostname fetchmail[16603]: SMTP> DATA
Jun 23 00:05:50 hostname fetchmail[16603]: SMTP< 354 End data with 
<CR><LF>.<CR><LF>
Jun 23 00:05:50 hostname fetchmail[16603]: IMAP< )
Jun 23 00:05:50 hostname fetchmail[16603]: IMAP< A0022 OK FETCH completed.
Jun 23 00:05:50 hostname fetchmail[16603]: IMAP> A0023 FETCH 1 BODY.PEEK[TEXT]
Jun 23 00:05:50 hostname fetchmail[16603]: IMAP< * 1 FETCH (BODY[TEXT] {1782}
Jun 23 00:05:50 hostname postfix/local[16609]: 29C4F3EED: 
to=<myusername(_at_)localhost(_dot_)mydomain(_dot_)com>,
relay=local, delay=7
, status=bounced (cannot access mailbox /var/mail/myusername for user 
myusername. error writing
message: File too large)
Jun 23 00:05:51 hostname fetchmail[16603]:  (1782 body octets)
Jun 23 00:05:51 hostname fetchmail[16603]: IMAP< )
Jun 23 00:05:51 hostname fetchmail[16603]: IMAP< A0023 OK FETCH completed.
Jun 23 00:05:51 hostname fetchmail[16603]: SMTP>. (EOM)
Jun 23 00:05:51 hostname postfix/cleanup[16607]: A586E3EDF:
message-id=<xxxxxxxxxxxxxxxxx(_at_)yyyyyyyy>
Jun 23 00:05:51 hostname postfix/cleanup[16611]: zzzzzzzzz:
message-id=<20030623000551(_dot_)zzzzzzzzz(_at_)hostname(_dot_)mydomain(_dot_)com>
Jun 23 00:05:51 hostname fetchmail[16603]: SMTP< 250 Ok: queued as A586E3EDF
Jun 23 00:05:51 hostname fetchmail[16603]:  flushed
Jun 23 00:05:51 hostname fetchmail[16603]: IMAP> A0024 STORE 1 +FLAGS (\Seen 
\Deleted)^M
Jun 23 00:05:51 hostname fetchmail[16603]: IMAP< * 1 FETCH (FLAGS (\Seen 
\Deleted \Recent))
Jun 23 00:05:51 hostname fetchmail[16603]: IMAP< A0024 OK STORE completed.
Jun 23 00:05:51 hostname fetchmail[16603]: IMAP> A0025 EXPUNGE^M
Jun 23 00:05:51 hostname fetchmail[16603]: IMAP< * 1 EXPUNGE
Jun 23 00:05:51 hostname fetchmail[16603]: IMAP< * 18 EXISTS
Jun 23 00:05:51 hostname postfix/local[16609]: A586E3EDF: 
to=<myusername(_at_)localhost(_dot_)mydomain(_dot_)com>,
relay=local, delay=1, status=sent (mailbox)
Jun 23 00:05:51 hostname fetchmail[16603]: IMAP< A0025 OK EXPUNGE completed.

or

Jun 23 00:05:53 hostname fetchmail[16603]: IMAP> A0030 FETCH 1 RFC822.HEADER
Jun 23 00:05:53 hostname fetchmail[16603]: IMAP< * 1 FETCH (RFC822.HEADER {1028}
Jun 23 00:05:53 hostname fetchmail[16603]: reading message 7 of 23 (1028 header 
octets)
Jun 23 00:05:53 hostname postfix/local[16609]: BB56A3EDF: 
to=<myusername(_at_)localhost(_dot_)mydomain(_dot_)com>,
relay=local, delay=2, status=sent (mailbox)
Jun 23 00:05:53 hostname fetchmail[16603]: SMTP> MAIL 
FROM:<sender1(_at_)domain1(_dot_)com> SIZE=3668199
Jun 23 00:05:53 hostname postfix/smtpd[16606]: 3EDAF3EED: 
client=localhost[127.0.0.1]
Jun 23 00:05:53 hostname fetchmail[16603]: SMTP< 250 Ok
Jun 23 00:05:53 hostname fetchmail[16603]: SMTP> RCPT 
TO:<myusername(_at_)localhost>
Jun 23 00:05:53 hostname postfix/smtpd[16606]: reject: RCPT from 
localhost[127.0.0.1]: 452
Insufficient system storage; from=<CantorPT(_at_)cantor(_dot_)com> 
to=<myusername(_at_)localhost>
Jun 23 00:05:58 hostname fetchmail[16603]: SMTP< 452 Insufficient system storage
Jun 23 00:05:58 hostname fetchmail[16603]: SMTP error: 452 Insufficient system 
storage
Jun 23 00:05:58 hostname fetchmail[16603]: SMTP listener doesn't like recipient 
address
`myusername(_at_)localhost'
Jun 23 00:05:58 hostname fetchmail[16603]: SMTP> RCPT 
TO:<myusername(_at_)localhost>
Jun 23 00:05:58 hostname postfix/smtpd[16606]: reject: RCPT from 
localhost[127.0.0.1]: 452
Insufficient system storage; from=<sender1(_at_)domain1(_dot_)com> 
to=<myusername(_at_)localhost>
Jun 23 00:06:03 hostname fetchmail[16603]: SMTP< 452 Insufficient system storage
Jun 23 00:06:03 hostname fetchmail[16603]: can't even send to myusername!
Jun 23 00:06:03 hostname fetchmail[16603]: SMTP> RSET
Jun 23 00:06:03 hostname fetchmail[16603]: SMTP< 250 Ok
Jun 23 00:06:03 hostname fetchmail[16603]: IMAP< )
Jun 23 00:06:03 hostname fetchmail[16603]: IMAP< A0030 OK FETCH completed.
Jun 23 00:06:03 hostname fetchmail[16603]:  flushed
Jun 23 00:06:03 hostname fetchmail[16603]: IMAP> A0031 STORE 1 +FLAGS (\Seen 
\Deleted)^M
Jun 23 00:06:03 hostname fetchmail[16603]: IMAP< * 1 FETCH (FLAGS (\Seen 
\Deleted \Recent))
Jun 23 00:06:03 hostname fetchmail[16603]: IMAP< A0031 OK STORE completed.
Jun 23 00:06:03 hostname fetchmail[16603]: IMAP> A0032 EXPUNGE^M
Jun 23 00:06:03 hostname fetchmail[16603]: IMAP< * 1 EXPUNGE
Jun 23 00:06:03 hostname fetchmail[16603]: IMAP< * 16 EXISTS
Jun 23 00:06:03 hostname fetchmail[16603]: IMAP< A0032 OK EXPUNGE completed.

In both cases, Fetchmail deleted the message from the server,
so I did not have a chance to retrieve it later.

Can someone explain what I need to do to prevent this?

Thank you for your help.

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

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