Compare commits
2 commits
af5ed9465f
...
d14c980816
| Author | SHA1 | Date | |
|---|---|---|---|
| d14c980816 | |||
| 077431fa06 |
3 changed files with 6 additions and 2 deletions
|
|
@ -3,6 +3,7 @@ huhu 0.11.0 (unreleased)
|
||||||
* Update to current Debian version.
|
* Update to current Debian version.
|
||||||
* Add shell to new huhu mod users.
|
* Add shell to new huhu mod users.
|
||||||
* Add wrapper script for read-mail.pl
|
* Add wrapper script for read-mail.pl
|
||||||
|
* Add STARTTLS to poster.pl
|
||||||
* Drop more headers.
|
* Drop more headers.
|
||||||
* Only connect to newsserver if there are approved posts.
|
* Only connect to newsserver if there are approved posts.
|
||||||
* Fix headers with continuation immediately at start.
|
* Fix headers with continuation immediately at start.
|
||||||
|
|
|
||||||
|
|
@ -84,11 +84,11 @@ sub connect_nntp($)
|
||||||
my $cfg_nntp_pass = $r_config->{'nntp_pass'} ||
|
my $cfg_nntp_pass = $r_config->{'nntp_pass'} ||
|
||||||
die 'No "nntp_pass" in configuration file';
|
die 'No "nntp_pass" in configuration file';
|
||||||
|
|
||||||
|
$nntp->starttls if $nntp->can_ssl();
|
||||||
|
|
||||||
# authinfo does not return a value
|
# authinfo does not return a value
|
||||||
$nntp->authinfo($cfg_nntp_user, $cfg_nntp_pass);
|
$nntp->authinfo($cfg_nntp_user, $cfg_nntp_pass);
|
||||||
|
|
||||||
$nntp->starttls if $nntp->can_ssl();
|
|
||||||
|
|
||||||
return $nntp;
|
return $nntp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,9 @@ BINDIR="@HUHU_DIR@/bin"
|
||||||
# Remove old records from database
|
# Remove old records from database
|
||||||
5 3 * * * "$BINDIR/removeold.pl" "$CONFIG"
|
5 3 * * * "$BINDIR/removeold.pl" "$CONFIG"
|
||||||
|
|
||||||
|
# Remove old messages (older than 14 days) from backup dir
|
||||||
|
15 3 * * * find @USER_HOME@/backup -type f -mtime +14 -exec rm {} \;
|
||||||
|
|
||||||
# Reads database, sends reply to authors of pending messages.
|
# Reads database, sends reply to authors of pending messages.
|
||||||
# 10 * * * * "$BINDIR/autoreply.pl" "$CONFIG"
|
# 10 * * * * "$BINDIR/autoreply.pl" "$CONFIG"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue