Qmail
[Top] [All Lists]

Re: Disable bounce message to remote recipients

To: qmail@list.cr.yp.to
Subject: Re: Disable bounce message to remote recipients
From: Stefanovich <sklopp@gmail.com>
Date: Tue, 20 Mar 2007 14:57:40 -0700
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Nq5AQDa2SvL/nFu3UtStRLxlqsloP+sKjOXl/5czxq8S6EhzOI0vPJ7njhLheO+XYM9so307XrkuB7eIfs4R0by2/m1+P0rV5DCP3aHNOP8C+7yCyzx0MSwtC4uqfV8UboO94Xz2DNQiNJWVi7TwNGigk+V7ZiIQwUGYIKg7oQI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=ArWWhs1pM4SEyovPQD/UWSZHUqObb+4seME/I+VpmculSkxFQ2Sf4bj3g3uOKJCfryIqnkHTly2qXHYJk7S+oObp/yfjHh41UntHUoT/cBUK0Oyl58cgkrGqbk1msjHRy+Pe4/UOqpmnuMI8qMKGULyEJMxiSgjCe8+/yrfUZtw=
Domainkey-status: good (test mode)
In-reply-to: <20070320212339.GA500@discworld.dyndns.org>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <d29a314c0703201334u1a34e786h2bf743edc9e6ff95@mail.gmail.com> <20070320212339.GA500@discworld.dyndns.org>
Do you mean something like this:

#!/usr/bin/perl


$host = $ARGV[0];

$sender = $ARGV[1];


if ($sender eq '') {

print 'K'.$host.' accepted message.';

exit 0;

}

else {

my $variables;

foreach $var ($ARGV) {

$variables .= "'".$var."' ";

}


`/var/qmail/bin/qmail-remote $variables`;

}



On 3/20/07, Charles Cazabon <qmail@discworld.dyndns.org> wrote:
Stefanovich <sklopp@gmail.com> wrote:
> Is it possible to disable bounce messages to remote recipients?

*Just* remote recipients?  Write a wrapper around qmail-remote that
immediately indicates success (using qmail-remote's interface, documented in
its man page) if the envelope sender is empty.

Charles
--
--------------------------------------------------------------------------
Charles Cazabon                               <qmail@discworld.dyndns.org>
Read http://pyropus.ca/personal/writings/12-steps-to-qmail-list-bliss.html
My services include qmail consulting.  See http://pyropus.ca/ for details.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>