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: Kyle Wheeler <kyle-qmail@memoryhole.net>
Date: Tue, 20 Mar 2007 16:07:45 -0600
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
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
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=QfnTe89Mkih4AAbyp1PwC4/nko3ETD1BOGQqvceeHZr37iFY9xt1vbE/t7AX7W8ylxp744bqto50pES0ZPRrnBuHbGucAQwwgVHgMgyr6pSdG3u86KDwYyd2AZY9Bf698dD5E5IidWEhnFr2fQeSB0fSZyBTAGhFFoyt/cufzhY= ;
Domainkey-status: good
In-reply-to: <d29a314c0703201457i49c104e2uf8d0bf0cb3d408a4@mail.gmail.com>
Mail-followup-to: qmail@list.cr.yp.to
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <d29a314c0703201334u1a34e786h2bf743edc9e6ff95@mail.gmail.com> <20070320212339.GA500@discworld.dyndns.org> <d29a314c0703201457i49c104e2uf8d0bf0cb3d408a4@mail.gmail.com>
User-agent: Mutt/1.5.14 (2007-03-20)
On Tuesday, March 20 at 02:57 PM, quoth Stefanovich:
Do you mean something like this:

Well, I wouldn't do it in perl; something more lightweight like sh would use fewer resources. But that's your own prerogative.

if ($sender eq '') {
print 'K'.$host.' accepted message.';
exit 0;
}

Also, just for your own sanity, you probably don't want to claim that the message was accepted even when it wasn't. That message is logged, and if you need to track down one of these, your log will mislead you. Something like this might be better:

    print 'Kmessage will not be bounced; presuming success.';

~Kyle
--
I hope our wisdom will grow with our power, and teach us, that the less we use our power the greater it will be.
                                                   -- Thomas Jefferson

Attachment: pgpSWu2Aw4QnW.pgp
Description: PGP signature

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