include received_line hook from ../README.plugins
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@773 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
9c91bb04e6
commit
e5653b86fc
@ -687,6 +687,32 @@ Arguments:
|
|||||||
|
|
||||||
Example plugin is F<greylisting>.
|
Example plugin is F<greylisting>.
|
||||||
|
|
||||||
|
=head2 hook_received_line
|
||||||
|
|
||||||
|
If you wish to provide your own Received header line, do it here. You can use
|
||||||
|
or discard any of the given arguments (see below).
|
||||||
|
|
||||||
|
Allowed return codes:
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
=item OK, $string
|
||||||
|
|
||||||
|
use this string for the Received header.
|
||||||
|
|
||||||
|
=item anything else
|
||||||
|
|
||||||
|
use the default Received header
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
|
Arguments are
|
||||||
|
|
||||||
|
my ($self, $transaction, $smtp, $auth, $sslinfo) = @_;
|
||||||
|
# $smtp - the SMTP type used (e.g. "SMTP" or "ESMTP").
|
||||||
|
# $auth - the Auth header additionals.
|
||||||
|
# $sslinfo - information about SSL for the header.
|
||||||
|
|
||||||
=head2 hook_data_post
|
=head2 hook_data_post
|
||||||
|
|
||||||
The C<data_post> hook is called after the client sent the final C<.\r\n>
|
The C<data_post> hook is called after the client sent the final C<.\r\n>
|
||||||
|
Loading…
Reference in New Issue
Block a user