bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Troubleshooting mailutils


From: Hiran Chaudhuri
Subject: Re: [bug-mailutils] Troubleshooting mailutils
Date: Fri, 11 Apr 2008 09:38:56 +0200

> Hiran Chaudhuri <address@hidden> wrote:
> ....
> > How do you find out what is going on in mailutils? I'm missing some 
> > --verbose or --debug options.
> 
> Give me an exact example of the commend line commands and agruments you tried.
> 
> > Whenever I mark a message as deleted and try to have the mbox updated, I get
> > Error expunging:609: Input/output error

Sorry, this is lengthy, but you asked for it:

-----8<--------------------------------------------------------------------------------
address@hidden:~$ mail
"/var/mail/hiran": 49 messages 36 new
 R   1 Cron Daemon        Wed Apr  2 06:57 21184/132 Cron <address@hidden> 
/usr/local/sarab/sarab.sh
 R   2 Cron Daemon        Thu Apr  3 06:00  28/33055 Cron <address@hidden> 
/root/sync.sh
 R   3 Cron Daemon        Thu Apr  3 06:05 466/30725 Cron <address@hidden> 
/usr/local/sarab/sarab.sh
 R   4 root               Thu Apr  3 06:05 460/30405 SaraB: Successful backup 
for
 R   5 Cron Daemon        Fri Apr  4 06:00  28/33006 Cron <address@hidden> 
/root/sync.sh
 R   6 root               Fri Apr  4 06:05 123/5600  SaraB: Successful backup 
for
 R   7 Cron Daemon        Fri Apr  4 06:05 129/5920  Cron <address@hidden> 
/usr/local/sarab/sarab.sh
 R   8 Cron Daemon        Sat Apr  5 06:00  33/32746 Cron <address@hidden> 
/root/sync.sh
 R   9 root               Sat Apr  5 06:05 124/5652  SaraB: Successful backup 
for
 R  10 Cron Daemon        Sat Apr  5 06:05 130/5972  Cron <address@hidden> 
/usr/local/sarab/sarab.sh
 R  11 Cron Daemon        Sun Apr  6 06:00  34/33064 Cron <address@hidden> 
/root/sync.sh
 R  12 root               Sun Apr  6 06:05 118/5360  SaraB: Successful backup 
for
 R  13 Cron Daemon        Sun Apr  6 06:05 124/5680  Cron <address@hidden> 
/usr/local/sarab/sarab.sh
>N  14 Cron Daemon        Mon Apr  7 06:00  69/33248 Cron <address@hidden> 
>/root/sync.sh
 N  15 Cron Daemon        Mon Apr  7 10:11 15454/974 Cron <address@hidden> 
/usr/local/sarab/sarab.sh
 N  16 root               Mon Apr  7 10:11 15447/973 SaraB: Backup failure for
 N  17 root               Mon Apr  7 11:16  12/490   SaraB: Successful backup 
for
 N  18 root               Mon Apr  7 15:28  94/4308  SaraB: Successful backup 
for
 N  19 root               Mon Apr  7 17:16  82/3899  SaraB: Backup failure for
 N  20 root               Mon Apr  7 19:45  87/3977  SaraB: Successful backup 
for
& d 1
& u
& q
Error expunging:609: Input/output error
Held 49 messages in /var/mail/hiran
address@hidden:~$
----->8--------------------------------------------------------------------------------


And I get the same with pop3d:
-----8<--------------------------------------------------------------------------------
$ telnet server 110
Trying 192.168.0.99...
Connected to server.
Escape character is '^]'.
+OK POP3 Ready <address@hidden>
user hiran
+OK
pass xxxxxxxxxxx
+OK opened mailbox for hiran
list
+OK
1 1349297
2 330581
3 31191
4 30865
5 330091
6 5723
7 6049
8 327501
9 5776
10 6102
11 330675
12 5478
13 5804
14 332550
15 989781
16 989388
17 502
18 4402
19 3981
20 4064
21 3234
22 10042
23 4612
24 3702
25 519
26 3251
27 3207
28 3259
29 3309
30 5035
31 332494
32 774
33 3831
34 4125
35 323474
36 774
37 530
38 1017266
39 4112
40 294198
41 774
42 4389
43 4684
44 5074
45 13275
46 2781
47 826
48 7767
49 8064
.
dele 1
+OK Message 1 marked
quit
-ERR Some deleted messages not removed
Connection closed by foreign host.
----->8--------------------------------------------------------------------------------

In /var/log/mail.err I get these entries:
-----8<--------------------------------------------------------------------------------
Apr  7 08:53:22 hiran gnu-pop3d[15407]: Error expunging:609: Input/output error
Apr  7 08:53:22 server gnu-pop3d[15407]: Error expunging:609: Input/output error
Apr  7 10:44:22 server gnu-pop3d[5285]: Error expunging:609: Input/output error
Apr  7 20:47:53 server gnu-pop3d[6879]: Error expunging:609: Input/output error
Apr  7 20:54:27 server gnu-pop3d[6954]: Error expunging:609: Input/output error
Apr  7 21:24:36 server gnu-pop3d[7097]: Error expunging:609: Input/output error
Apr  7 21:43:46 server gnu-pop3d[7176]: Error expunging:609: Input/output error
Apr  7 21:44:03 server gnu-pop3d[7177]: Error expunging:609: Input/output error
Apr  7 21:50:34 server gnu-pop3d[7337]: Error expunging:609: Input/output error
Apr  7 21:54:29 server gnu-pop3d[7409]: Error expunging:609: Input/output error
Apr  8 00:54:00 server gnu-pop3d[7551]: Error expunging:609: Input/output error
Apr  8 01:04:50 server gnu-pop3d[7648]: Error expunging:609: Input/output error
Apr  8 05:06:07 server gnu-pop3d[7752]: Error expunging:609: Input/output error
Apr  9 19:43:19 server gnu-imap4d[9027]: Error expunging:609: Input/output error
Apr  9 19:43:19 server gnu-imap4d[9027]: flushing mailbox failed: Input/output 
error
Apr 10 01:47:44 server gnu-imap4d[9358]: Got signal Broken pipe
Apr 10 01:47:44 server gnu-imap4d[9358]: Error expunging:609: Input/output error
Apr 10 01:48:02 server gnu-imap4d[9367]: Error expunging:609: Input/output error
Apr 10 01:48:02 server gnu-imap4d[9367]: flushing mailbox failed: Input/output 
error
Apr 10 08:25:23 server gnu-pop3d[9766]: Error expunging:609: Input/output error
Apr 10 08:33:51 server gnu-pop3d[9852]: unexpected eof on input
Apr 10 08:33:53 server gnu-pop3d[9853]: unexpected eof on input
Apr 10 08:33:58 server gnu-pop3d[9854]: unexpected eof on input
Apr 10 08:33:59 server gnu-pop3d[9855]: unexpected eof on input
Apr 10 08:33:59 server gnu-pop3d[9856]: unexpected eof on input
Apr 10 08:34:00 server gnu-pop3d[9857]: unexpected eof on input
Apr 10 08:36:38 server gnu-pop3d[9851]: Error expunging:609: Input/output error
Apr 11 09:23:31 server gnu-pop3d[11703]: Error expunging:609: Input/output 
error> Do you have write priviledges for the mail box, i.e. directory, you are 
dealing with?
----->8--------------------------------------------------------------------------------

I seem to have sufficient privileges to access the mailbox, and using vi I can 
also delete messages (although it's not my preferred way to do so):
-----8<--------------------------------------------------------------------------------
address@hidden:/var/spool/mail$ ls -la
total 7428
drwxrwsr-x  2 root  mail    4096 2008-04-11 09:23 .
drwxr-xr-x 14 root  root    4096 2008-03-21 17:33 ..
-rw-------  1 hiran mail 7581762 2008-04-11 06:05 hiran
----->8--------------------------------------------------------------------------------

  
> > Is this a bug in mailutils or just a setup error on my side?
> It is not a Mailutils bug, from my viewpoint.  But, I don't have that problem.
> Please check you permissions, etc. and send it.  Along., with of course, just 
> what command you are running and how you are running them.

What permissions do I need to check exactly? Is the mbox file sufficient? Are 
there lock files needed? What else is going on in mailutils?

I used
mail        (interactively, without parameters)
pop3d -i       (in xinetd)
imap4d -i      (in xinetd)

I did not modify any config files regarding those programs, if they exist.


Hiran
______________________________________________________
Bis 50 MB Dateianhänge? Kein Problem!
http://freemail.web.de/club/landingpage.htm/?mc=025556





reply via email to

[Prev in Thread] Current Thread [Next in Thread]