From owner-freebsd-isp Tue Sep 12 22:41:12 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mail.ideal.net.au (ion.ideal.net.au [203.20.241.5]) by hub.freebsd.org (Postfix) with ESMTP id D2FD637B422 for ; Tue, 12 Sep 2000 22:41:07 -0700 (PDT) Received: from aluminium.farken.net (aluminium.staff.ideal.net.au [202.3.35.13]) by mail.ideal.net.au (8.9.3/8.9.3) with ESMTP id QAA10936; Wed, 13 Sep 2000 16:39:45 +1100 (EST) (envelope-from FreeBSD@farken.net) Message-Id: <4.3.2.7.2.20000913163949.00b35d70@mail.ideal.net.au> X-Sender: FreeBSD@mail.ideal.net.au X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 13 Sep 2000 16:41:18 +1000 To: Jahanur R Subedar From: Pete MacGee Subject: Re: sendmail.cf question Cc: freebsd-isp@FreeBSD.ORG In-Reply-To: References: <4.3.2.7.2.20000913143513.00ab95d0@mail.ideal.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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