Yes, I thought that was the idea. However I realize now that is not what is happening (or that is not what is supposed to happen). According to the docs I must use the -P switch. Why? Because I'm not a unix system and my mailboxes don't conform so I can not let SA deliver the message to the mailbox.
Since I must use the -P, am I correct to think that the file I'm passing needs to be replaced by SA? For example: File A is passed to spamassassin using this "spamassassin -P < A > B" now when its finished I'll have B. Replace A with B and let the system carry on. Is this the ONLY way to have SA work with the -P switch? "Rose, Bobby" wrote: > > Are you expecting it to rewrite the file that you're pipeing? > > -----Original Message----- > From: Kevin Gagel [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 25, 2002 12:11 PM > To: Theo Van Dinter > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [SAtalk] SA doesn't do anything... > > On my system using the "spamassassin -P -D < text2bread" only displays > the results to stout. It does not alter anything unless I use the > redirect to another file. I understand that -P is a pipe... but to me a > pipe means pipe what your doing to this, it's the "this" that mystifies > me! Are you telling me that SA with -P switch is taking the message and > altering and then handing it back to the originating process? This is > what I thought was happening originally but it's just not happening in > practice. > > Since I must use the -P, (I can't let SA deliver the email to the users > mailbox) I'm stumped as to how to proceed. Any suggestions? > > Theo Van Dinter wrote: > > > > On Tue, Jun 25, 2002 at 08:52:51AM -0700, Kevin Gagel wrote: > > > Since the -P means to pipe the email through, and the examples show > > > only a SDOUT example with just the < redirector, and the examples > > > show only another file example with both < and > redirector used > > > with the -P I am assuming that the -P switch causes SA to NOT alter > > > the actual email. > > > > -P will alter the mail, it's a pipe not a "don't alter" flag. > > > > > Can any of you SA guru's confirm this?????? There seem to be a few > > > of us on this list that have this problem. > > > > it works fine for me. what does a "spamassassin -D -P < message" > > output to you? > > > > -- > > Randomly Generated Tagline: > > I'm sure a mathematician would claim that 0 and 1 are both very > > interesting numbers. :-) > > -- Larry Wall in <[EMAIL PROTECTED]> > > -- > ======================== > Kevin W. Gagel > Network Administrator > College of New Caledonia > [EMAIL PROTECTED] > [EMAIL PROTECTED] > (250)562-2131 loc. 448 > ======================== > > -------------------------------- > The College of New Caledonia > Visit us at http://www.cnc.bc.ca > -------------------------------- > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber Inc. > Don't miss the IM event of the season | Special offer for OSDN members! > JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn > _______________________________________________ > Spamassassin-talk mailing list [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber Inc. > Don't miss the IM event of the season | Special offer for OSDN members! > JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk -- ======================== Kevin W. Gagel Network Administrator College of New Caledonia [EMAIL PROTECTED] [EMAIL PROTECTED] (250)562-2131 loc. 448 ======================== -------------------------------- The College of New Caledonia Visit us at http://www.cnc.bc.ca -------------------------------- ------------------------------------------------------- This sf.net email is sponsored by: Jabber Inc. Don't miss the IM event of the season | Special offer for OSDN members! JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk