Thanks!!
Thank you, James D. Stallings > -----Original Message----- > From: Theo Van Dinter [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 19, 2003 10:52 AM > To: James D. Stallings > Cc: [EMAIL PROTECTED] > Subject: Re: [SAtalk] Forwarding and Spamd > > > On Sun, Jan 19, 2003 at 09:41:47AM -0500, James D. Stallings wrote: > > Do you have any examples or could you send me an example of your > > aliase or mailvirtual file? > > Sure: > > somelist: "|/usr/bin/procmail -m > /etc/mail/lists/procmail-lists somelist" > > Then the procmail-lists file is: > > LOGFILE=/var/spool/mail/log/procmail-lists > LOGABSTRACT=yes > VERBOSE=no > > # Determine the listname from the parameter passed to > procmail # If there is no parameter, or if it's wrong, the > resend piece below # will fail. LIST=$1 > > # If it wasn't yet, this message should be run through > SpamAssassin. :0 fW:/var/spool/mail/log/spamc.lock > | /usr/bin/spamc > > # Return the exit code if we error out > :0 e > { > EXITCODE=$? > } > > # If procmail borks, remove the stupid munged From header > that we don't need anyway :0fW > * ^rom > | /usr/bin/tail +2 > > # Send the mail on to the list. Assume the list manager will > handle it. :0 > |/var/mailman/mail/wrapper post $LIST > > > So if you wanted a forward instead of a mailing list, that > bottom part would be something like "!$LIST" and procmail > would resend the message out. I let the mailing list > software handle a SA match (usually hold for moderation), but > you could always put a check in earlier that sends the mail > to postmaster, puts it in a file, etc. > > -- > Randomly Generated Tagline: > A miser is hard to live with, but makes a fine ancestor. > ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk