[Dovecot] OT: Fixing Messages To Be RFC 2822 Compliant

Neil kngspook at gmail.com
Tue Feb 24 02:46:11 EET 2009


Thank you for the suggestion.

Will this still work if I'm using the maildir format?  (Something I
should've mentioned upfront, sorry...)

On Mon, Feb 23, 2009 at 5:17 AM, Darabos Edvárd Konrád <
nil at hippy.csoma.elte.hu> wrote:

> Hi!
>
> EXAMPLES
>   ...
>      To convert a non-standard mailbox file into a standard mailbox file
> you
>      can use:
>             formail -ds <old_mailbox >>new_mailbox
>
>      Or, if you have a very tolerant mailer:
>             formail -a Date: -ds <old_mailbox >>new_mailbox
>   ...
>
>   These are not working based on explicit instructions. You may give them a
> try. I don't know how bad is your mbox...
>
> Bye
>
>
> Neil wrote:
>
>> Hi,
>>
>> Yeah, I'm vaguely familiar with formail, but (after reviewing the
>> literature) it doesn't seem like it can be used to identify/fix existing
>> messages (unless you already know how they're broken and give it explicit
>> instructions to fix them).
>>
>> Is there something I'm missing?
>>
>> Thanks.
>>
>> On Mon, Feb 23, 2009 at 4:24 AM, Darabos Edvárd Konrád <
>> nil at hippy.csoma.elte.hu> wrote:
>>
>>
>>
>>> Hello!
>>>
>>>  I am not sure about what you want, but I found something that maybe
>>> useful for you.
>>>  http://gd.tuwien.ac.at/linuxcommand.org/man_pages/formail1.html
>>>
>>> Bye
>>>
>>>
>>> Neil wrote:
>>>
>>>
>>>
>>>> So....apparently I have some messages which are not RFC compliant
>>>> sitting
>>>> in
>>>> my mailboxes (mostly older ones), and I have some software which is
>>>> refusing
>>>> to handle such messages.
>>>>
>>>> 1. Does anyone know of a nice way to verify that all my messages are
>>>> compliant/find those that aren't? (I suppose I could use the existing
>>>> failing software, but I was hoping for something a little more
>>>> robust...)
>>>>
>>>> 2. Does anyone know of any tools that will do The Right Thing as far as
>>>> fixing these messages are concerned?
>>>>
>>>> Googling didn't turn up much for me, but maybe I wasn't hitting the
>>>> right
>>>> terms ("RFC message repair", "fix email message", etc.).
>>>>
>>>> Thanks.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>


More information about the dovecot mailing list