Re: [Exim] Resending mail

Top Page
Delete this message
Reply to this message
Author: William Thompson
Date:  
To: Michael Griffin
CC: exim-users
Subject: Re: [Exim] Resending mail
> From time to time I need to convert a email address (with MailDir
> delivery) to an Alias. This in itself is easily done however there is
> still mail in the MailDir directory for this address that I need to put
> back into Exim's MailQ for delivery using the new alias / setting.
>
> A brief example may be of assistance : (info supplied is fictitious
> for security reasons)
>
> I have an address EG : snowball@???
> The mail is received by exim and stored in :
>
>     /var/spool/exim/n/northpole.com/snowball/MailDir/new (then 'cur'
> once read)
>     Each e-mail is contained in individual files eg :
> 1052142445.2126.<hostname>


exim -f <senderaddress> -oi -oem -bm <newaddress> < /var/spool/exim/n/northpole.com/snowball/MailDir/new/1052142445.2126.<hostname>

?