On 3 Nov 2005, at 11:51, John Peacock wrote:
Guillaume Filion wrote:
Remember that once you start VERPing your outgoing mail, you should
wait for some time (I'd say one week) before rejecting bounces that
aren't VERPed. That way, you can receive bounces to the mails that
were sent when you didn't do VERP.
Yeah, I know. I would probably opt for 10 days, since there may be
some weird MTA's out there with a longer decay rate.
I get very few legit bounces in any case that it might be more
worthwhile to create a tarbaby defense (accept but not deliver), at
least for the moment.
I went through the blowback storm thing around the time I started using
qpsmtpd. Here's the plugin I use. It's probably not what you want to
use though.
#!/usr/bin/perl -w
sub register {
my $self = shift;
$self->register_hook('mail' => 'mail_handler');
}
sub mail_handler {
my ($self, $tran, $sender) = @_;
if ($sender->format eq "<>") {
return DENY, "Returned mail not accepted here";
}
elsif ($sender->format =~ /DAEMON/i) {
return DENY, "MAILER DAEMON mail not accepted here";
}
return DECLINED;
}