Solved

Pop3 server question

Posted on 1998-07-23
14
174 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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 …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

696 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