Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 181
  • Last Modified:

Pop3 server question

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
dzimmer
Asked:
dzimmer
  • 7
  • 7
1 Solution
 
marcelofrCommented:
You need to check if you have an "-lcrypt" and get ride of it...


0
 
dzimmerAuthor Commented:
I looked in makefile and there isn't any line containing "-lcrypt".  Should I look someplace else?
0
 
marcelofrCommented:
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
Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

 
dzimmerAuthor Commented:
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
 
marcelofrCommented:
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
 
dzimmerAuthor Commented:
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
 
dzimmerAuthor Commented:
There are commented lines that look like:
#ifdef LINUX
# include <uninstd.h>
#endif
Should these be uncommented?
0
 
marcelofrCommented:
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
 
marcelofrCommented:
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
 
marcelofrCommented:
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
 
dzimmerAuthor Commented:
ipop3d is searching the incorrect directory
I want it to look in /var/spool/mail/
ipop3d looks in /usr/spool/mail/
0
 
marcelofrCommented:
Nope... they are not comments, they are compiler directives...

I think pop3.h has a #define DEF_MAIL_DIR "/usr/spool/mail/"
0
 
dzimmerAuthor Commented:
Thanks for the help...It finally works.
0
 
dzimmerAuthor Commented:
Please see new question.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 7
  • 7
Tackle projects and never again get stuck behind a technical roadblock.
Join Now