Solved

Pop3 server question

Posted on 1998-07-23
14
176 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

 

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
 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

695 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