Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Inbox corruption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Wed Feb 03, 2010 12:14 pm    Post subject: Inbox corruption Reply with quote

On rare occasion I get corrupt inboxes with some users....the 1st line of text is always this :

^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

I am running sendmail with dovecot in mbox format. I can manually repair by remove the 1st few lines up to the 1st "From:" but I was wondering if there is a way to auto fix or stop them getting corrupt ?
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Thu Feb 04, 2010 11:44 pm    Post subject: Reply with quote

It is very hard to tell.

Could you give more specific, even pedantic, information about how mail is handled, mangled and read on your system?
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Sun Feb 07, 2010 2:15 am    Post subject: Reply with quote

nephros wrote:
It is very hard to tell.

Could you give more specific, even pedantic, information about how mail is handled, mangled and read on your system?


Well I do have a few milters....like clamav, spamassassin & a couple of others. Do you think I should disable all of these ?

Problem is it happens so infrequently it is going to be hard to tell if this fixes the problem.
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Mon Feb 08, 2010 4:31 am    Post subject: Reply with quote

The ^@^@^@^@^@^ lines hint to it that the mailboxes aren't created in 'standard' old-style mbox format but in mbx. Make sure all the programs dealing with mail are configured to use the same format.

There are several, mbox, mboxo, mbx, mix, maildir...

Also, a tool called mailutil can be used to convert between them.

HTH
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Tue Feb 09, 2010 3:04 am    Post subject: Reply with quote

would it be worth changing over to maildir ?
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Sat Feb 13, 2010 11:08 am    Post subject: Reply with quote

col wrote:
would it be worth changing over to maildir ?


That is hard to answer. If all your software can handle it why not.

Personally I use maildir for MTA delivery (qmail) and mbx as a final MUA format (alpine) because for me it makes incremental backups easier (as it's a single file).
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum