Compare commits

..

7 commits

Author SHA1 Message Date
4ce8017756 Fix ChangeLog format.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 23:37:03 +01:00
3680a37aaa Only connect to newsserver if there are approved posts.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 23:37:03 +01:00
9e5f72b7ea Drop more headers.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 23:37:03 +01:00
fc71f975af Add STARTTLS to poster.pl
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 23:37:03 +01:00
8db4fa83e0 Add wrapper script for read-mail.pl
Drop procmail, use Exim filter as .forward.

Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 23:37:03 +01:00
6032e3984a Add shell to new huhu mod users.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 23:37:02 +01:00
8259e05504 Update to current Debian version.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 23:37:02 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ sub enter_table($$$$)
my $article_id = undef;
my $age = $self->{'config'}->{'check_duplicates_age'} || 7;
my $sha1 = Digest::SHA1::sha1_hex($body);
my $sha1 = Digest::SHA::sha1_hex($body);
my $stmt = $self->{'dbh'}->prepare(
"SELECT id\n" .
"\nFROM " . $table .

View file

@ -100,7 +100,7 @@ sub add_article($$;$)
}
if ($config->{'subjectcheck'} and
$db->check_subject($article->header('subject')))
$db->check_subject($article->header('subject')))
{
my $subjectscore = $config->{'subjectscore'};
$article->add_headers('X-Subject-Test', $subjectscore);