Compare commits

..

7 commits

Author SHA1 Message Date
4511720b3b Fix ChangeLog format.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 22:39:50 +01:00
7ac13a8f49 Only connect to newsserver if there are approved posts.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 22:39:28 +01:00
41f79c4287 Drop more headers.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 22:29:25 +01:00
ea63da2aaa Add STARTTLS to poster.pl
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 22:26:06 +01:00
eabcb590c4 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 22:25:33 +01:00
2082293b05 Add shell to new huhu mod users.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 22:11:27 +01:00
464f145382 Update to current Debian version.
Signed-off-by: Thomas Hochstein <thh@thh.name>
2026-01-31 22:11:14 +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 $article_id = undef;
my $age = $self->{'config'}->{'check_duplicates_age'} || 7; my $age = $self->{'config'}->{'check_duplicates_age'} || 7;
my $sha1 = Digest::SHA::sha1_hex($body); my $sha1 = Digest::SHA1::sha1_hex($body);
my $stmt = $self->{'dbh'}->prepare( my $stmt = $self->{'dbh'}->prepare(
"SELECT id\n" . "SELECT id\n" .
"\nFROM " . $table . "\nFROM " . $table .

View file

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