Thanks for prompt reply. also i try "| /usr/sbin/sendmail -i
myad...@gmail.com" but i think there is no way to change subject in here.

i will try procmail. thanks again.

selçuk

On Tue, Dec 14, 2010 at 11:39 AM, Ralf Hildebrandt <
ralf.hildebra...@charite.de> wrote:

> * Selcuk Yazar <selcuk.ya...@gmail.com>:
> > Hi,
> >
> > yes. right. is it posssible for filter or another way.
>
> Directly with .forward alone: No
> But you can call procmail from .forward and do it that way (I guess)
>
> You would need to use formail to extract the subject into a variable and
> then use formail as a filter to update the Subject line
>
> e.g.:
>
> SUBJECT=formail -zx "Subject:":0fwh
> | /usr/bin/formail -b -a -I"Subject: [prefix here]$SUBJECT"
> | ${SENDMAIL} -i n...@address
>
> I think.
>
> --
>  Ralf Hildebrandt
>  Geschäftsbereich IT | Abteilung Netzwerk
>  Charité - Universitätsmedizin Berlin
>  Campus Benjamin Franklin
>  Hindenburgdamm 30 | D-12203 Berlin
>  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
>  ralf.hildebra...@charite.de | http://www.charite.de
>
>


-- 
Selçuk YAZAR
http://www.selcukyazar.blogspot.com

Reply via email to