=head1 NAME rcpt_ok - allow all recipients =head1 DESCRIPTION This module simply returns OK for each rcpt request. It is meant to be called after other plugins which return DECLINED for addresses which are ok (e.g, the aliases plugin). =head1 CONFIGURATION Nothing to configure =head1 HOOKS =cut sub register { my ($self, $qp) = @_; $self->register_hook("rcpt", "rcpt_ok"); } =head2 rcpt: rcpt_ok Returns OK =cut sub rcpt_ok { my ($self, $transaction, $recipient) = @_; $self->log(6, "rcpt_ok:"); return OK; } =head1 BUGS None known (yet). =head1 TODO Nothing (I hope). =head1 AUTHOR Peter J. Holzer =cut