Retrieve from Archive

Ralph Bornefeld-Ettmann ilikeuce at bornefeld-ettmann.de
Sun Nov 15 09:24:59 GMT 2009


Monis Monther schrieb:
> Hi everyone
> 
> 
> I tried
> 
> 
> /usr/sbin/sendmail.postfix recipient msgid
> 
> But did not work
> 
> Any other suggestions to release a message from the command line
> 
> And for everyone participating, I am using the Archive option to archive 
> all incoming mail to a folder this is an example message
> 
> C91066E03A4.E9CD0
> 
> 
> 
> 
> 
> 
> On Thu, Nov 12, 2009 at 4:17 PM, Ralph Bornefeld-Ettmann 
> <ilikeuce at bornefeld-ettmann.de <mailto:ilikeuce at bornefeld-ettmann.de>> 
> wrote:
> 
>     Glenn Steen schrieb:
> 
>         2009/11/12 Ralph Bornefeld-Ettmann
>         <ilikeuce at bornefeld-ettmann.de
>         <mailto:ilikeuce at bornefeld-ettmann.de>>:
> 
>             Monis Monther schrieb:
> 
>                 The link looks informative and would take me some time
>                 to read which I
>                 will do definitly , Thanks
>                  Also how can I do it qiuckly by command line, for
>                 example can I
>                 sendmail.postfix [options] filename ..etc
>                  Note: My MTA is postfix
>                  Thanks
> 
>                 On Thu, Nov 12, 2009 at 3:25 PM, Ralph Bornefeld-Ettmann
>                 <ilikeuce at bornefeld-ettmann.de
>                 <mailto:ilikeuce at bornefeld-ettmann.de>
>                 <mailto:ilikeuce at bornefeld-ettmann.de
>                 <mailto:ilikeuce at bornefeld-ettmann.de>>>
>                 wrote:
> 
>                   Monis Monther schrieb:
> 
>                       Hi everyone:
>                        I am using the archive feature of Mailscanner to
>                 have a copy of
>                       all mails in a dir, this is working fine and
>                 lovely, now the
>                       problem is if I want to retrieve a certain message
>                 , how can I
>                       do that in the following cases
>                        1- I dont know where it is in the archive
>                         2- I know where it is and the message ID for
>                 example under the
>                       archive is D548C6E00BB.27373, how do I send it to
>                 the inteded user
>                        Thanks
> 
>                   to resend messages please check this :
>                  
>                 http://www.global-domination.org/forum/viewtopic.php?f=15&t=1806
>                 <http://www.global-domination.org/forum/viewtopic.php?f=15&t=1806>
>                  
>                 <http://www.global-domination.org/forum/viewtopic.php?f=15&t=1806
>                 <http://www.global-domination.org/forum/viewtopic.php?f=15&t=1806>>
> 
> 
>                   --    MailScanner mailing list
>                   mailscanner at lists.mailscanner.info
>                 <mailto:mailscanner at lists.mailscanner.info>
>                   <mailto:mailscanner at lists.mailscanner.info
>                 <mailto:mailscanner at lists.mailscanner.info>>
>                   http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
>                   Before posting, read http://wiki.mailscanner.info/posting
> 
>                   Support MailScanner development - buy the book off the
>                 website!
> 
> 
>             if you call :
> 
>             /usr/sbin/sendmail.postfix <recipient> < <msgid>
> 
>             the mail should be sent to the user
> 
> 
>         Only if the message has been decoded to the RFC822/2822/5322 format
>         first... which it likely hasn't...;-)
> 
>         Cheers
> 
> 
>     [root at localhost nonspam]# file 05B5E28027.4BC43
>     05B5E28027.4BC43: RFC 822 mail text
> 
>     so it should be correct ... or did I get you wrong?
> 
>     AFAIK only really archived mails are queue file but files in nonspam
>     are  RFC 822 files. please correct me if I'm wrong
> 
> 
>     -- 
>     MailScanner mailing list
>     mailscanner at lists.mailscanner.info
>     <mailto:mailscanner at lists.mailscanner.info>
>     http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
>     Before posting, read http://wiki.mailscanner.info/posting
> 
>     Support MailScanner development - buy the book off the website!
> 
> 

you have to convert real archived mails as Glen stated above:

postcat <msgid>|/usr/sbin/sendmail.postfix <recipient>


cheers
Ralph



More information about the MailScanner mailing list