[GRLUG] Forwarding email files from maildir

Grand Rapids Linux Users Group grlug at grlug.org
Thu May 14 20:20:34 EDT 2020


cantcha do like 

for emailfile in `ls maildir`; do 
cat emailfile | sendmail -f to at address.com <mailto:to at address.com>;
done

-j





> On May 14, 2020, at 8:14 PM, Grand Rapids Linux Users Group <grlug at grlug.org> wrote:
> 
> Only skimmed article, but seems useful...
> 
> https://www.datarecovery.institute/import-maildir-to-thunderbird/ <https://www.datarecovery.institute/import-maildir-to-thunderbird/>
> 
> ᕦ(ò_óˇ)ᕤ
> do you even lift bro?
> Ubber::Geek
> http://grlug.org/ <http://grlug.org/>
> On Thu, May 14, 2020, 5:27 PM Grand Rapids Linux Users Group <grlug at grlug.org <mailto:grlug at grlug.org>> wrote:
> ----- Message Text -----
> Have a bunch of emails in Maildir format, and need to forward to a
> different email address.
> 
> Tthe normal "mail new at somewhere.com <mailto:new at somewhere.com> < filemane" works, but it forwards the
> raw file; it would be a lot cleaner if it was possible to strip off the
> headers first.
> 
>         Thanks!
> -- 
> grlug mailing list
> grlug at grlug.org <mailto:grlug at grlug.org>
> https://shinobu.grlug.org/mailman/listinfo/grlug <https://shinobu.grlug.org/mailman/listinfo/grlug>
> -- 
> grlug mailing list
> grlug at grlug.org
> https://shinobu.grlug.org/mailman/listinfo/grlug

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://shinobu.grlug.org/pipermail/grlug/attachments/20200514/04fa6307/attachment.html>


More information about the grlug mailing list