From owner-freebsd-hackers Mon Dec 18 12:11:29 2000 From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 18 12:11:26 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from kci.kciLink.com (kci.kciLink.com [204.117.82.1]) by hub.freebsd.org (Postfix) with ESMTP id D527137B404; Mon, 18 Dec 2000 12:11:25 -0800 (PST) Received: from yertle.kciLink.com (yertle.kciLink.com [208.184.13.195]) by kci.kciLink.com (Postfix) with ESMTP id 17BE0C9BD; Mon, 18 Dec 2000 15:11:25 -0500 (EST) Received: from onceler.kciLink.com (onceler.kciLink.com [208.184.13.196]) by yertle.kciLink.com (Postfix) with ESMTP id 9FA632E443; Mon, 18 Dec 2000 15:11:16 -0500 (EST) Received: (from khera@localhost) by onceler.kciLink.com (8.11.1/8.11.1) id eBIKBGk05220; Mon, 18 Dec 2000 15:11:16 -0500 (EST) (envelope-from khera) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14910.28516.525214.162735@onceler.kciLink.com> Date: Mon, 18 Dec 2000 15:11:16 -0500 To: Joseph Scott Cc: Dan Langille , freebsd-hackers@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: processing incoming mail messages (FreshPorts 2) In-Reply-To: References: <14910.20578.512135.887887@onceler.kciLink.com> X-Mailer: VM 6.86 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "JS" == Joseph Scott writes: JS> How does postfix determine that a message has been delivered JS> though? From reading Dan's first message, my though was the problem was JS> doing the processing of the commit, all the db stuff, which would happen JS> after the perl script had already accepted delivery of the message. You configure your program as a transport agent. Then it can do things like returning the error codes from sysexits.h like EX_TEMPFAIL and EX_OK to communicate back to postfix the status of the operations. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message