LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hello,

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/pop-before-smtp-conf.pl --debug --nowrite --reprocess
Aug 23 17:10:03 starting up
Aug 23 17:10:03 found ip=xxx.xxx.xxx.xxx
Aug 23 17:10:03 added xxx.xxx.xxx.xxx to DB
Aug 23 17:10:03 found ip=xxx.xxx.xxx.xxx

BUT:
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:
popbsmtp.sourceforge.net/debug.shtml

and:
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 pop-before-smtp-conf.pl 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';

commented

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?

thx

Ollio

Last edited by ollio; 08-23-2003 at 10:45 AM.
 
Old 08-23-2003, 10:47 AM   #2
david_ross
Moderator
 
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, 08:12 AM   #3
ollio
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.
 
  


Reply


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 04:22 PM
Proxy for POP and SMTP? depam Linux - Software 3 10-14-2005 10:41 AM
pop before smtp ilnli Linux - Networking 16 09-22-2005 06:53 AM
Postfix + pop-before-smtp problem Kostko Linux - Software 3 02-19-2003 12:46 PM
Pop Smtp mjshel7 Linux - General 1 05-24-2002 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:59 PM.

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