Re: [exim] Resend email

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Kirill Miazine
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] Resend email
* Steffen Heil [2004-10-21 11:02]:
> I have a mail (which I got through pipe transport), thus it is one file with
> all headers and content.
> Now I want to resend that mail through exim to another address.
> Perferably I would like to call something such as:
>
> exim4 (someoption) message.eml fromuser@??? touser@???


    exim4 -f <sender> <recipient>


Write the message to stdin of the spawned process.

When the pipe transport runs a command, it makes the sender's address
avialable in the environment variable $SENDER.

If message.eml contains the entire message, you can do following:

    exim4 -f "$SENDER" recipient@??? < message.eml


-- 
    -- Kirill Miazine <km@???>