Normalize #! lines on all plugins
find . -type f | xargs -n1 perl -pi.bak -0777 -e '$want = "#!perl -Tw"; s/\A#!.*\n/$want\n/; s/\A([^#])/$want\n\1/s'
This commit is contained in:
parent
38c74352d1
commit
61de599c1b
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
use Qpsmtpd::Plugin::Async::DNSBLBase;
|
use Qpsmtpd::Plugin::Async::DNSBLBase;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
use Qpsmtpd::Plugin::Async::DNSBLBase;
|
use Qpsmtpd::Plugin::Async::DNSBLBase;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
use Qpsmtpd::DSN;
|
use Qpsmtpd::DSN;
|
||||||
use ParaDNS;
|
use ParaDNS;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
use Qpsmtpd::Plugin::Async::DNSBLBase;
|
use Qpsmtpd::Plugin::Async::DNSBLBase;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
use Qpsmtpd::Plugin::Async::DNSBLBase;
|
use Qpsmtpd::Plugin::Async::DNSBLBase;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -Tw
|
#!perl -Tw
|
||||||
|
|
||||||
sub register {
|
sub register {
|
||||||
my ( $self, $qp, @args ) = @_;
|
my ( $self, $qp, @args ) = @_;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
#
|
#
|
||||||
# This plugin doesn't actually check anything and will fail any
|
# This plugin doesn't actually check anything and will fail any
|
||||||
# user no matter what they type. It is strictly a proof of concept for
|
# user no matter what they type. It is strictly a proof of concept for
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
|
|
||||||
=pod
|
=pod
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#! perl
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=pod
|
=pod
|
||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
check_earlytalker - Check that the client doesn't talk before we send the SMTP banner
|
check_earlytalker - Check that the client doesn't talk before we send the SMTP banner
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=pod
|
=pod
|
||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
check_spamhelo - Check a HELO message delivered from a connecting host.
|
check_spamhelo - Check a HELO message delivered from a connecting host.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
dns_whitelist_soft - dns-based whitelist override for other qpsmtpd plugins
|
dns_whitelist_soft - dns-based whitelist override for other qpsmtpd plugins
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
sub init {
|
sub init {
|
||||||
my ($self, $qp, %args) = @_;
|
my ($self, $qp, %args) = @_;
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
denysoft_greylist
|
denysoft_greylist
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
http_config
|
http_config
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!perl
|
#!perl -Tw
|
||||||
# Adaptive logging plugin - logs at one level for successful messages and
|
# Adaptive logging plugin - logs at one level for successful messages and
|
||||||
# one level for DENY'd messages
|
# one level for DENY'd messages
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
# this is a simple 'connection_id' plugin like the default builtin logging
|
# this is a simple 'connection_id' plugin like the default builtin logging
|
||||||
#
|
#
|
||||||
# It demonstrates that a logging plugin can call ->log itself as well
|
# It demonstrates that a logging plugin can call ->log itself as well
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
# this is a simple 'drop packets on the floor' plugin
|
# this is a simple 'drop packets on the floor' plugin
|
||||||
|
|
||||||
sub hook_logging {
|
sub hook_logging {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
# this is a simple 'transaction_id' plugin like the default builtin logging
|
# this is a simple 'transaction_id' plugin like the default builtin logging
|
||||||
#
|
#
|
||||||
# It demonstrates that a logging plugin can call ->log itself as well
|
# It demonstrates that a logging plugin can call ->log itself as well
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!perl -Tw
|
||||||
# this is a simple 'warn' plugin like the default builtin logging
|
# this is a simple 'warn' plugin like the default builtin logging
|
||||||
#
|
#
|
||||||
# It demonstrates that a logging plugin can call ->log itself as well
|
# It demonstrates that a logging plugin can call ->log itself as well
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
milter
|
milter
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
exim-bsmtp
|
exim-bsmtp
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!perl
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
smtp-forward
|
smtp-forward
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
|
|
||||||
sub hook_quit {
|
sub hook_quit {
|
||||||
my $qp = shift->qp;
|
my $qp = shift->qp;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
random_error
|
random_error
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
rcpt_regexp - check recipients against a list of regular expressions
|
rcpt_regexp - check recipients against a list of regular expressions
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
use Qpsmtpd::DSN;
|
use Qpsmtpd::DSN;
|
||||||
use Net::DNS qw(mx);
|
use Net::DNS qw(mx);
|
||||||
use Socket;
|
use Socket;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
sub register {
|
sub register {
|
||||||
my ($self, $qp, $denial ) = @_;
|
my ($self, $qp, $denial ) = @_;
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
# Very basic script to create TLS certificates for qpsmtpd
|
# Very basic script to create TLS certificates for qpsmtpd
|
||||||
use File::Temp qw/ tempfile tempdir /;
|
use File::Temp qw/ tempfile tempdir /;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
aveclient
|
aveclient
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -Tw
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -Tw
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
# H+B EDV-AV plugin.
|
# H+B EDV-AV plugin.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
# Kasperski-AV plugin.
|
# Kasperski-AV plugin.
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
#!perl -Tw
|
||||||
|
|
||||||
sub hook_data_post {
|
sub hook_data_post {
|
||||||
my ($self, $transaction) = @_;
|
my ($self, $transaction) = @_;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
use IO::Socket;
|
use IO::Socket;
|
||||||
|
|
||||||
sub register {
|
sub register {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!perl -Tw
|
||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user