Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-23-2003, 11:43 AM   #1
LQ Newbie
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
problem with pop-before-smtp


I installed and configured Postfix (its working ok).
I then installed pop-before-smtp and edit the necessary conf files.
$pat variable etc...
It looks like it is working ok
as you can see here:
pop-before-smtp --config=/etc/ --debug --nowrite --reprocess
Aug 23 17:10:03 starting up
Aug 23 17:10:03 found
Aug 23 17:10:03 added to DB
Aug 23 17:10:03 found

the pop-before-smtp.db file is never created !

so my mail.log gives me of course this error:
Aug 23 17:11:42 www postfix/smtpd[18561]: fatal: open database /etc/postfix/pop-before-smtp.db: No such file or directory

I tried the tips in tip 4 at:

If the DB file does not exist, make sure that pop-before-smtp is running. OK

Check your init script and see if it is specifying a different --dbfile value than you thought. OK (since I use the file)
Look in the config file to see if there is a $dbfile value being set.
OK (it is set to $dbfile = '/etc/postfix/pop-before-smtp'; )
I left
# Override the value that gets put into the DB hash.
#$dbvalue = 'ok';


Ensure that you're running pop-before-smtp with enough permissions to write the DB file. OK (i even tried as root)

Any ideas what else could be the problem?



Last edited by ollio; 08-23-2003 at 11:45 AM.
Old 08-23-2003, 11:47 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Try creating the file ang giving it global writer permissions (just for testing):
touch /etc/postfix/pop-before-smtp.db
chmod 666 /etc/postfix/pop-before-smtp.db
chmod 777 /etc/postfix
Old 08-24-2003, 09:12 AM   #3
LQ Newbie
Registered: Aug 2003
Posts: 3

Original Poster
Rep: Reputation: 0
I tried your tips David.
I checked mail from another IP
pop-before-smtp says it added IP to DB
but still nothing gets added to the file.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pop-before-smtp with dovecot problem kmoffat Debian 0 11-12-2005 05:22 PM
Proxy for POP and SMTP? depam Linux - Software 3 10-14-2005 11:41 AM
pop before smtp ilnli Linux - Networking 16 09-22-2005 07:53 AM
Postfix + pop-before-smtp problem Kostko Linux - Software 3 02-19-2003 01:46 PM
Pop Smtp mjshel7 Linux - General 1 05-24-2002 07:29 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration