Date: Wed, 13 Sep 2000 16:41:18 +1000 From: Pete MacGee <FreeBSD@farken.net> To: Jahanur R Subedar <jahanur@jjsoft.com> Cc: freebsd-isp@FreeBSD.ORG Subject: Re: sendmail.cf question Message-ID: <4.3.2.7.2.20000913163949.00b35d70@mail.ideal.net.au> In-Reply-To: <Pine.BSF.3.96.1000913004040.726A-100000@runner> References: <4.3.2.7.2.20000913143513.00ab95d0@mail.ideal.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Ahhh - okay, but my main problem is this. I know that I can get the Subject by using HSubject: but I need to make it so that (possibly with a macro) the email is sent through, but has [SPAM] appended to the beginning of the Subject line. Thats where I am having trouble finding a solution. I have an extensive sendmail book, but it really doesnt cover this kind of scenario as far as I can tell. Thank you for your help, Pete. At 12:44 AM 13/09/00 -0500, you wrote: >As far as I know from the Sendmail book that the HSubject: Field , the >Field does not mean anthing. That means you can put anything in that field >and Sendmail will alsways ignore it. But I think you can define a Macro >probably,( I dont know how to do that). >Another thing you can do is add another extra line to the header for >example HComments: Field and put whatever comments you want. I think >that's best idea. >I hope this helps. > >Jahanur > >On Wed, 13 Sep 2000, Pete MacGee wrote: > > > Hi All, > > > > I have an email address setup for incoming spam messages. What I want > to do > > is take any emails coming in to that address, and modify the subject of > the > > message before delivering it to its rightful owner. > > > > I can make the sendmail.cf file detect the To: string with the line below. > > > > HTo: $>Check_To > > D{Bazza}blah@foo.com > > > > But I cant seem to find a way to make it take the subject line : > > Subject: Make your dreams come true > > and add a string at the beginning of the subject : > > Subject: [SPAM] Make your dreams come true > > > > > > Would anyone have any suggestions on how this may be done, or what to look > > at to find an answer. > > > > Thanks in advance, > > > > Pete! > > -- > > Computers are just like air conditioners... They don't work properly if > you > > open Windows. > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-isp" in the body of the message > > > >Jahanur R Subedar >WWW.JJSOFT.COM To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.3.2.7.2.20000913163949.00b35d70>