Lähettäjä: John Robinson Päiväys: Vastaanottaja: Paul Furness Kopio: exim-users Aihe: Re: [exim] Sending a test email from a file
On 15/09/2006 12:35, Paul Furness wrote: > I have an email, as delivered, including all the headers, in a plain
> text file. I want to give it to exim and get exim to treat it as a new
> email ie as if it had been received via SMTP, processing and delivering
> in the normal way. Is there a simple way to do this, other than
> rewriting the file and inserting SMTP commands, then using "exim -bs <
> testmail"?
`mail user@domain < file`
I know it's not an exim command, but it ought to do what you want.
Hang on, try looking at `exim -bm user@domain < file` too.