Redelivering mail from archive (mbox format? to Maildir)

Shawn Iverson iversons at rushville.k12.in.us
Tue Jun 11 22:14:39 UTC 2019


Oh, you did :D

On Tue, Jun 11, 2019 at 6:14 PM Shawn Iverson <iversons at rushville.k12.in.us>
wrote:

> Drop ".A123F" from the filename.
>
> On Tue, Jun 11, 2019 at 5:55 PM PenguinWhispererThe . <
> th3penguinwhisperer at gmail.com> wrote:
>
>> If I do that the file stays there and nothing is done. I don't see log
>> entries for this.
>>
>> When restarting postfix I see this:
>> postsuper: warning: bogus file name: hold/E124D123456.A123F
>>
>> So I did it again, changed ownership of the file, moved it to "hold" but
>> removed the part after the dot.
>> Restarted postfix.
>>
>> The mail seems to be delivered now.
>> I'll have to do the same action tomorrow for another mail.
>>
>> Thank you very much for helping me out on this!
>>
>>
>>
>> On Tue, 11 Jun 2019 at 23:37, Shawn Iverson via MailScanner <
>> mailscanner at lists.mailscanner.info> wrote:
>>
>>> Drop this file as-is into /var/spool/postfix/hold and give ownership to
>>> postfix:mtagroup
>>>
>>> See if it gets processed.
>>>
>>> On Tue, Jun 11, 2019 at 5:25 PM PenguinWhispererThe . <
>>> th3penguinwhisperer at gmail.com> wrote:
>>>
>>>> Sorry to spam the list. This indeed seems like a postfix queue file.
>>>> I used postcat and it reads the format properly.
>>>>
>>>> However it's still unclear on how I can get this message reprocessed.
>>>> Is there anything special that I would need to be aware of when using
>>>> postfix with mailscanner to get the message queued again?
>>>>
>>>> Thanks a lot already!
>>>>
>>>> On Tue, 11 Jun 2019 at 23:14, PenguinWhispererThe . <
>>>> th3penguinwhisperer at gmail.com> wrote:
>>>>
>>>>> Thanks for the suggestion. I already tried that. Also changed the
>>>>> permissions to it now and retried. postqueue -p says the queue is empty :(
>>>>>
>>>>> If I copy paste a bit further of the file:
>>>>> C_         933942             725               1               0
>>>>>      933942               0T1552039675
>>>>> 847537Acreate_time=1552039675Alog_ident=E124D123456Arewrite_context=remoteSuser at example.comA
>>>>>
>>>>> Note that I redacted some of the fields.
>>>>>
>>>>> On Tue, 11 Jun 2019 at 23:03, Mark Sapiro <mark at msapiro.net> wrote:
>>>>>
>>>>>> On 6/11/19 1:12 PM, PenguinWhispererThe . wrote:
>>>>>> >
>>>>>> > The E124D.... mentioned earlier is not a directory though, it's a
>>>>>> file.
>>>>>> > The file utility says it's "data". And it's located in a directory
>>>>>> YYYYMMDD.
>>>>>> > I thought I had a lead that the format is mbx so installed mbx2mbox
>>>>>> but
>>>>>> > I got an error that this is not an mbx or dbx file.
>>>>>> > Content starts with:
>>>>>> > C_         933942             725               1               0
>>>>>>
>>>>>> >    933942
>>>>>> >
>>>>>> > If anyone would recognize this format or what format Mailscanner is
>>>>>> > using for it's format that would be great.
>>>>>>
>>>>>>
>>>>>> I'm not certain from that one line, but it could be a Postfix queue
>>>>>> file
>>>>>> in which case you should be able to just move or copy it to
>>>>>> /var/spool/postfix/incoming/ after ensuring its ownership and mode are
>>>>>> such that Postfix can read it.
>>>>>>
>>>>>> --
>>>>>> Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
>>>>>> San Francisco Bay Area, California    better use your sense - B. Dylan
>>>>>>
>>>>>>
>>>>>> --
>>>>>> MailScanner mailing list
>>>>>> mailscanner at lists.mailscanner.info
>>>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> MailScanner mailing list
>>>> mailscanner at lists.mailscanner.info
>>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>>
>>>>
>>>
>>> --
>>> Shawn Iverson, CETL
>>> Director of Technology
>>> Rush County Schools
>>> 765-932-3901 option 7
>>> iversons at rushville.k12.in.us
>>>
>>> [image: Cybersecurity]
>>>
>>>
>>> --
>>> MailScanner mailing list
>>> mailscanner at lists.mailscanner.info
>>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>>
>>>
>>
>> --
>> MailScanner mailing list
>> mailscanner at lists.mailscanner.info
>> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>>
>>
>
> --
> Shawn Iverson, CETL
> Director of Technology
> Rush County Schools
> 765-932-3901 option 7
> iversons at rushville.k12.in.us
>
> [image: Cybersecurity]
>


-- 
Shawn Iverson, CETL
Director of Technology
Rush County Schools
765-932-3901 option 7
iversons at rushville.k12.in.us

[image: Cybersecurity]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20190611/db7fed74/attachment-0001.html>


More information about the MailScanner mailing list