OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Email-Fingerprint?expand=0&rev=1
76 lines
2.1 KiB
Diff
76 lines
2.1 KiB
Diff
--- lib/Email/Fingerprint/App/EliminateDups.pm.orig 2011-11-02 00:59:44.575000463 +0100
|
|
+++ lib/Email/Fingerprint/App/EliminateDups.pm 2011-11-02 00:59:50.983000464 +0100
|
|
@@ -14,7 +14,7 @@
|
|
|
|
=head1 NAME
|
|
|
|
-Email::Fingerprint::App::EliminateDups - Implements eliminate-dups functionality
|
|
+Email::Fingerprint::App::EliminateDups - Implements eliminate-email-dups functionality
|
|
|
|
=head1 VERSION
|
|
|
|
@@ -26,7 +26,7 @@
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
-See the manpage for C<eliminate-dups>. This module is not intended to be
|
|
+See the manpage for C<eliminate-email-dups>. This module is not intended to be
|
|
used except by that script.
|
|
|
|
=cut
|
|
@@ -65,7 +65,7 @@
|
|
|
|
$app->run(@ARGV);
|
|
|
|
-Run the eliminate-dups application.
|
|
+Run the eliminate-email-dups application.
|
|
|
|
=cut
|
|
|
|
--- bin/eliminate-dups.orig 2011-11-02 00:58:57.807000464 +0100
|
|
+++ bin/eliminate-dups 2011-11-02 00:59:28.940000467 +0100
|
|
@@ -14,11 +14,11 @@
|
|
__END__
|
|
=head1 NAME
|
|
|
|
-eliminate-dups
|
|
+eliminate-email-dups
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
- eliminate-dups [options] [dbname]
|
|
+ eliminate-email-dups [options] [dbname]
|
|
|
|
If C<dbname> is not specified, it defaults to C<$HOME/.maildups>.
|
|
|
|
@@ -79,25 +79,25 @@
|
|
|
|
Then add the following lines to your ~/.qmail file
|
|
|
|
- | eliminate-dups hashfile
|
|
+ | eliminate-email-dups hashfile
|
|
&user-maildir
|
|
|
|
Forwarding to the user-maildir address is I<very important>. It
|
|
-ensures that if delivery to the Maildir is deferred, eliminate-dups
|
|
+ensures that if delivery to the Maildir is deferred, eliminate-email-dups
|
|
will not be called a second time (which would result in a lost
|
|
message).
|
|
|
|
To reduce server load, the following can be used in the ~/.qmail file
|
|
instead:
|
|
|
|
- | eliminate-dups --no-purge hashfile
|
|
+ | eliminate-email-dups --no-purge hashfile
|
|
&user-maildir
|
|
|
|
If the C<--no-purge> option is used, then a cron job must be set up to
|
|
purge the fingerprint database periodically. The following can be put in
|
|
the user's crontab file:
|
|
|
|
- 23 2 * * * /path/to/eliminate-dups --no-check $HOME/.maildups
|
|
+ 23 2 * * * eliminate-email-dups --no-check $HOME/.maildups
|
|
|
|
=head1 LICENSE
|
|
|