sub hook_rcpt { my ($self, $transaction, $recipient) = @_; $self->log(LOGINFO, "in address_notes_aliases for recipient $recipient\n"); if (my $ro = $transaction->notes('recipient_options')) { for (keys %$ro) { $self->log(LOGINFO, "setting option $_ => $ro->{$_} for recipient $recipient\n"); $recipient->notes($_, $ro->{$_}); } } return DECLINED; } # vim:sw=4 tw=0 expandtab