Solved

Pop3 server question

Posted on 1998-07-23
14
170 Views
Last Modified: 2013-12-15
I am running RedHat 5.0 and trying to install in.pop3d server. I have downloaded the software from sunsite.edu It is pop3d-1.006b and when I run makefile it blows out on an error that says util.o: In function 'passwd_verify_user' invalid reference to 'crypt'. I am not using shadow passwords so I commented out the line in makefile for shadow passwords. How do I get past this error?
0
Comment
Question by:dzimmer
  • 7
  • 7
14 Comments
 
LVL 3

Expert Comment

by:marcelofr
ID: 1628493
You need to check if you have an "-lcrypt" and get ride of it...


0
 

Author Comment

by:dzimmer
ID: 1628494
I looked in makefile and there isn't any line containing "-lcrypt".  Should I look someplace else?
0
 
LVL 3

Accepted Solution

by:
marcelofr earned 100 total points
ID: 1628495
I'm sorry... if you are using glibc, you NEED libcrypt. In your Makefile, near the line you commented out -lshadow, add

LIB = -lcrypt

I'll do the work...

0
 

Author Comment

by:dzimmer
ID: 1628496
I get a response when I telnet to port 110, so I know the POP3 server is running.  I still can't access the account to receive my mail in MS Outlook, though.  Does this mean there is a problem with my account setup in Outlook(it seems to connect, but doesn't find any mail) or is there still something I missing?  Is there anyway some could provide me with a checklist of all the settings I need?
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1628497
Do the following:

# telnet localhost 110
+OK POP3 ....
USER your_user
+OK User name accepted ...
PASS your_password
+OK ...
LIST
.
QUIT

Tell me what fails...
0
 

Author Comment

by:dzimmer
ID: 1628498
Thanks...I did this and nothing failed.  I've determined that the problem is that it looks to /usr/spool/mail/* instead on /var/spool/mail/*.  How do I change this?
0
 

Author Comment

by:dzimmer
ID: 1628499
There are commented lines that look like:
#ifdef LINUX
# include <uninstd.h>
#endif
Should these be uncommented?
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 3

Expert Comment

by:marcelofr
ID: 1628500
The best solution is to search in the sources, and hack accordingly. You can have it working with a symbolic link:

# mkdir /usr/spool
# ln -s /var/spool/mail /usr/spool

[I think you're saying ipop3d is searching the incorrect directory as pop protocol can't]
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1628501
The best solution is to search in the sources, and hack accordingly. You can have it working with a symbolic link:

# mkdir /usr/spool
# ln -s /var/spool/mail /usr/spool

[I think you're saying ipop3d is searching the incorrect directory as pop protocol can't]
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1628502
The best solution is to search in the sources, and hack accordingly. You can have it working with a symbolic link:

# mkdir /usr/spool
# ln -s /var/spool/mail /usr/spool

[I think you're saying ipop3d is searching the incorrect directory as pop protocol can't]
0
 

Author Comment

by:dzimmer
ID: 1628503
ipop3d is searching the incorrect directory
I want it to look in /var/spool/mail/
ipop3d looks in /usr/spool/mail/
0
 
LVL 3

Expert Comment

by:marcelofr
ID: 1628504
Nope... they are not comments, they are compiler directives...

I think pop3.h has a #define DEF_MAIL_DIR "/usr/spool/mail/"
0
 

Author Comment

by:dzimmer
ID: 1628505
Thanks for the help...It finally works.
0
 

Author Comment

by:dzimmer
ID: 1628506
Please see new question.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now