POD updates, corrections, and clarifications.
This commit is contained in:
parent
2caa191334
commit
6ed109914c
@ -712,20 +712,20 @@ Allowed return codes are
|
|||||||
|
|
||||||
plugin didn't find the requested value
|
plugin didn't find the requested value
|
||||||
|
|
||||||
=item OK
|
=item OK, @values
|
||||||
|
|
||||||
requested values as C<@list>, example:
|
requested values as C<@list>, example:
|
||||||
|
|
||||||
return (OK, @{$config{$value}})
|
return (OK, @{$config{$key}})
|
||||||
if exists $config{$value};
|
if exists $config{$key};
|
||||||
return (DECLINED);
|
return (DECLINED);
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
my ($self,$transaction,$value) = @_;
|
my ($self,$transaction,$key) = @_;
|
||||||
# $value: the requested config item(s)
|
# $key: the requested config item(s)
|
||||||
|
|
||||||
B<NOTE:> C<$transaction> may be C<undef>, depending when / where this hook
|
B<NOTE:> C<$transaction> may be C<undef>, depending when / where this hook
|
||||||
is called. It's probably best not to try acessing it.
|
is called. It's probably best not to try acessing it.
|
||||||
@ -744,20 +744,20 @@ Allowed return codes are
|
|||||||
|
|
||||||
plugin didn't find the requested value
|
plugin didn't find the requested value
|
||||||
|
|
||||||
=item OK
|
=item OK, @values
|
||||||
|
|
||||||
requested values as C<@list>, example:
|
requested values as C<@list>, example:
|
||||||
|
|
||||||
return (OK, @{$config{$value}})
|
return (OK, @{$config{$key}})
|
||||||
if exists $config{$value};
|
if exists $config{$key};
|
||||||
return (DECLINED);
|
return (DECLINED);
|
||||||
|
|
||||||
=back
|
=back
|
||||||
|
|
||||||
Arguments:
|
Arguments:
|
||||||
|
|
||||||
my ($self,$transaction,$user,$value) = @_;
|
my ($self,$transaction,$user,$key) = @_;
|
||||||
# $value: the requested config item(s)
|
# $key: the requested config item(s)
|
||||||
|
|
||||||
Example plugin is F<user_config> from the qpsmtpd distribution.
|
Example plugin is F<user_config> from the qpsmtpd distribution.
|
||||||
|
|
||||||
|
@ -341,7 +341,7 @@ sub notes {
|
|||||||
=head2 config($value)
|
=head2 config($value)
|
||||||
|
|
||||||
Looks up a configuration directive based on this recipient, using any plugins that utilize
|
Looks up a configuration directive based on this recipient, using any plugins that utilize
|
||||||
hook_rcpt_config
|
hook_user_config
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user