Re: [exim] resending messages

Góra strony
Delete this message
Reply to this message
Autor: Odhiambo G. Washington
Data:  
Dla: Steffen Heil
CC: exim-users
Temat: Re: [exim] resending messages
* Steffen Heil <lists@???> [20040930 10:40]: wrote:
> Hi
>
> I have some mails, in maildir format, which I would like to resend.
>
> I tried
> cat <fn> | mutt <addr>
> but I get the headers as content.
>
> My system has exim4.34
>
> Is there a way to do that?
>


In the Exim FTP site,
there is the file ftp/pub/exim/exim3/Contrib/scripts/resend-mail.

You can do:

cd Maildir/cur

for file in ls; do /path/to/resend-mail $file some@???; done


Without much ado, I always use procmail for this.

for file in ls; do formail -s sendmail some@??? < $file; done


HTH



        cheers
       - wash 
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"  
                         --from a /. post