From: Glynn Clements Subject: Re: Proper procedure for bounced mails? Date: Tue, 23 Jul 2002 02:01:31 +0100 Sender: linux-admin-owner@vger.kernel.org Message-ID: <15676.43755.437327.928630@cerise.nosuchdomain.co.uk> References: <00fe01c2315a$0b292a20$0264a8c0@wombie> <20020722122857.GH29481@piku.org.uk> <02f801c231b5$8ab03300$0264a8c0@wombie> <15676.29971.791712.488355@cerise.nosuchdomain.co.uk> <036f01c231d1$92843920$0264a8c0@wombie> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <036f01c231d1$92843920$0264a8c0@wombie> List-Id: Content-Type: text/plain; charset="us-ascii" To: Jens Knoell Cc: Linux Admin ML Jens Knoell wrote: > > Whereabouts in the message delivery chain does the script sit? Does it > > process the message as it comes in, or is it fed the message after the > > SMTP server has acknowledged its acceptance? > > It uses the Mlocal part of sendmail's config, so it is possible to use the > exit code, as far as I know. But to the best of my knowledge, it's not > possible to return some custom string to indicate the reason for failure, is > there? AFAICT, anything which the mailer writes to stderr is included in the error message. -- Glynn Clements