On Tue, 2002-05-28 at 15:30, Tony L. Svanstrom wrote: > On 28 May 2002 the voices made Tony K Lindstrom write: > > > > > > > tony.lindstrom |/usr/local/bin/spamcheck.sh > > > So my question still is, (I put his back on the list) is it possible to > > use the sendmail alias to use spamassassin and how should it be done? > > If you can pipe the message then sure, you can do anything with it; and if you > want a very simple solution then use procmail. Just read the fine manual for SA > and `man procmailrc`; from then on it's just cut-n-paste.
Yes, well I don't know why I would need procmail in this case (personally I use it, of course, but this is different) So this is how I did it. In the alias I have: tony.lindstrom "| spam.sh tony.lindstrom@mailaddress" The spam.sh is in /etc/smrsh and looks like follows: #!/bin/sh /usr/bin/spamc | /usr/sbin/sendmail $1 exit The spamd is running as user smmsp. So it was rather simple... -- Tony Lindström - System Specialist - Tekla Oyj Koronakatu 1 - 02210 Espoo - Finland http://www.tekla.com - +358-40-7620768 _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk