From owner-freebsd-questions Fri Apr 26 15:16:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lily.ezo.net (lily.ezo.net [206.102.130.13]) by hub.freebsd.org (Postfix) with ESMTP id 3BE3537B41E for ; Fri, 26 Apr 2002 15:16:37 -0700 (PDT) Received: from peony.ezo.net (peony.ezo.net [206.102.130.11]) by lily.ezo.net (8.11.6/8.11.6) with ESMTP id g3QMGhZ95815 for ; Fri, 26 Apr 2002 18:16:43 -0400 (EDT) (envelope-from jflowers@ezo.net) From: "Jim Flowers" To: freebsd-questions@freebsd.org Subject: Sendmail Procmail & SpamAssassin Date: Fri, 26 Apr 2002 18:17:15 -0400 Message-Id: <20020426181715.M63855@ezo.net> X-Mailer: Open WebMail 1.60 20020130 X-OriginatingIP: 24.93.230.119 (jflowers) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I need just a little push to get this going. I have sendmail 8.12.3, procmail 3.22 and spamassassin 2.20 queued up on FreeBSD 4.5 upgrade and it's just about to work. I couldn't get the spamass milter to compile so I am calling procmail from the users $HOME/.forward file. It then processes all mail to spamassassin which returns marked up mail. The next recipe is supposed to send all of the marked up mail to the user on another smtp server with an action line that reads: ! username@othersmtphost.tld Nothing doing. Im my maillog I get messages: sendmail[24017]: NOQUEUE: SYSERR(mailusername): can not chdir (/var/spool/clientmqueue/): Permission denied sm-mta[24030]: g3QLqBe5024030: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA I think this is probably related to the way procmail execs sendmail and the fact that /var/spool/clientmqueue is owned by smmsp:smmsp but I'm stumped about what to do about it. Sendmail is running as a daemon with flags = "-L sm-mta -bd -q30m" if it makes any difference. I think the procmail call is a new instance, however. Help :-( -- Jim Flowers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message