Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 16 Jan 2006 12:14:18 -0500
From: John Von Essen <John.VonEssen@....com>
To: "'popa3d-users@...ts.openwall.com'" <popa3d-users@...ts.openwall.com>
Subject: RE: pop-before-smtp on Linux...

Hmmm,

I was able to satisy the flock error by including <sys/file.h> in pop_db.c
but still get implicit error on dbopen function. Tried adding an include for
limits.h - but no change.


John Von Essen
Systems Administrator
ATX Communications
(610) 755-4389


-----Original Message-----
From: John Von Essen [mailto:John.VonEssen@....com]
Sent: Monday, January 16, 2006 12:06 PM
To: 'popa3d-users@...ts.openwall.com'
Subject: [popa3d-users] pop-before-smtp on Linux...


For years, I have been using the pop-before-smtp patch for popa3d on
FreeBSD.

I have a linux server (Redhat Enterprise 4.0) now that I wish to do this on.
I have been unable to compile either 0.6.4 or 1.0 with the pop-before-smtp
patch. Here are the errors I get:

gcc -Wall -O2 -fomit-frame-pointer -DPOPB4SMTP -DVALIDTIME=600 -c pop_db.c
pop_db.c: In function `write_db_entry':
pop_db.c:60: warning: implicit declaration of function `dbopen'
pop_db.c:60: warning: assignment makes pointer from integer without a cast
pop_db.c:65: error: too few arguments to function
pop_db.c:70: warning: implicit declaration of function `flock'
pop_db.c:80: warning: passing arg 2 of pointer to function from incompatible
pointer type
pop_db.c:80: error: too few arguments to function
pop_db.c:84: error: structure has no member named `seq'
pop_db.c:84: error: `R_FIRST' undeclared (first use in this function)
pop_db.c:84: error: (Each undeclared identifier is reported only once
pop_db.c:84: error: for each function it appears in.)
pop_db.c:91: warning: passing arg 2 of pointer to function from incompatible
pointer type
pop_db.c:91: error: too few arguments to function
pop_db.c:94: error: structure has no member named `seq'
pop_db.c:97: error: structure has no member named `seq'
pop_db.c:97: error: `R_NEXT' undeclared (first use in this function)
pop_db.c:103: error: too few arguments to function
make: *** [pop_db.o] Error 1


The write_db_entry function is from the pop-before-smtp patch. I am not a C
person, so I need some help here. I imagine others have gotten this to work
under Linux. I really hate to do the old method of running a perl scripts
which manually takes IP's from log and puts them into a popauth.db hash.

Thanks in advance.


John Von Essen
Systems Administrator
ATX Communications
(610) 755-4389




__________________________________________________________
This message was scanned by ATX
12:09:53 PM ET - 1/16/2006

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.