>On Tue, Jun 04, 2002 at 11:54:55AM -0700, M. Brownsworth wrote: >> Suppose a recipient wanted a message that had been marked as spam by >> mistake, intercepted, and archived. Is there a way to deliver this >> specific message to the recipient, preventing it from being >> intercepted again? It would involve circumventing spamd's scanning >> this message so that it can be redelivered to the user's local >> mailbox. >> >> The following doesn't work: >> >> /usr/local/bin/formail -s /usr/sbin/sendmail $username < /var/log/spam/$file >> >> The message is intercepted again. Same deal with "-s >> /usr/sbin/sendmail" -- no matter which one is used, spamd indentifies >> it as spam again. >> >> BTW, procmail is my LDA. I assumed that using /usr/bin/mail to >> redeliver locally would circumvent spamd's scrutiny, but that doesn't >> seem to be the case. >> >> I'm hoping there's a way to sneak it past spamd's scrutiny, perhaps >> using a delivery method that doesn't invoke spamd. > >I use mimedefang to run SA as part of a milter, so this isn't exactly >what your situation is like, but mail(1) will pass arguments to >sendmail. I just made a really simple .cf that doesn't use SA, and >passed -C/etc/mail/no-spam-checks.cf as part of the mail command. > >Graham
Running sendmail with an alternate cf file is a good idea. But I note the following in the sendmail man page: -Cfile Use alternate configuration file. Sendmail refuses to run as root if an alternate configuration file is specified. Would sendmail's not running as root present a problem? .\\ichelle _______________________________________________________________ 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