pop-before-smtp (1.41-1.1) 1001_db_below_var.patch

Summary

 pop-before-smtp         |    2 +-
 pop-before-smtp-conf.pl |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

    
download this patch

Patch contents

--- pop-before-smtp-1.36.orig/pop-before-smtp-conf.pl
+++ pop-before-smtp-1.36/pop-before-smtp-conf.pl
@@ -32,7 +33,7 @@
 #$logto = '/var/log/pop-before-smtp';
 
 # Override the DB hash file we will create/update (".db" gets appended).
-#$dbfile = '/etc/postfix/pop-before-smtp';
+#$dbfile = '/var/lib/pop-before-smtp/hosts';
 
 # Override the value that gets put into the DB hash.
 #$dbvalue = 'ok';
--- pop-before-smtp-1.36.orig/pop-before-smtp
+++ pop-before-smtp-1.36/pop-before-smtp
@@ -191,7 +191,7 @@
 $flock = 1; # we do the exclusive file-locking when updating
 $debug = 0; # no debug messages
 $reprocess = 0; # no debug reprocessing of watchlog
-$dbfile = '/etc/postfix/pop-before-smtp'; # DB hash to write
+$dbfile = '/var/lib/pop-before-smtp/hosts'; # DB hash to write
 $dbvalue = 'ok';
 $grace = 30*60; # 30-minute grace period
 my($daemon_pidfile, $dump_version, $dump_config, $list_ips);