?
Solved

Pop3 server question

Posted on 1998-07-23
14
Medium Priority
?
177 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 400 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
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

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

Tutorial: Introduction to Managing a Linux Server

In this tutorial on systemd, we will explore:
-OS/Distro Adoption
-chkconfig and Other Legacy Commands
-Summary and Key Commands

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.
Suggested Courses
Course of the Month8 days, 1 hour left to enroll

765 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