From owner-freebsd-questions Sat Aug 24 23:28:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B9DB37B400 for ; Sat, 24 Aug 2002 23:28:27 -0700 (PDT) Received: from limpid.insensible.net (limpid.insensible.net [208.58.23.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6899743E6A for ; Sat, 24 Aug 2002 23:28:25 -0700 (PDT) (envelope-from morbiddk@insensible.net) Received: from morbiddk by limpid.insensible.net with local (Exim 3.12 #1 (Debian)) id 17iqsp-0003Tf-00 for ; Sun, 25 Aug 2002 02:28:23 -0400 Date: Sun, 25 Aug 2002 02:28:23 -0400 From: Dave To: freebsd-questions@freebsd.org Subject: procmail and .forward woes Message-ID: <20020825022823.A13293@limpid.insensible.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i 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've setup SpamAssassin on my Linux system and on my FreeBSD system. Both installs are identical, however I am having a slight problem with the FreeBSD version of this and was hoping someone could help me out. This is more of a procmail / .forward problem than an application problem. My .forward file looks as such: "|/usr/local/bin/procmail -f- || exit 75 #morbiddk@insensible.net" Any my .procmailrc looks as follows: :0fw | /home/morbiddk/bin/SpamAssassin/spamassassin -P -c /home/morbiddk/bin/SpamAssassin/rules Now I have no problems on my Linux server which is setup the exact same way, however I have a weird problem with the Freebsd setup. Whenever an email is sent to me on my FreeBSD machine I get 2 messages, one is the actual message sent and the other is a Mail Delivery System failure message. The contents of one of these failed messages is as follows: Subject: Mail delivery failed: returning message to sender This message was created automatically by mail delivery software (Exim). A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: pipe to |/usr/local/bin/procmail -f- || exit 75 #morbiddk@insensible.net generated by morbiddk@insensible.net The following text was generated during the delivery attempt: ------ pipe to |/usr/local/bin/procmail -f- || exit 75 #morbiddk@insensible.net generated by morbiddk@insensible.net ------ procmail: Couldn't read "/home/morbiddk/||" Now, the problem appears to reside with the setup of the .forward with the ||, however I am not sure how to change the line in the .forward to allow it to preform its intended function without breaking my Spam tactics. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message