Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installing imap package for pop3

Status
Not open for further replies.

sonun

IS-IT--Management
Dec 26, 2001
384
US
Anybody ahve any idea, links regarding installing imap package for pop3 and enabling imap access to machines.

Also, amy thoughts on ipop3d enabling in /etc/inetd.conf

Thanks.
 
For your pop3 server, I would recommend grabbing qpopper:


In my inetd.conf for qpopper, I have:

pop3 stream tcp nowait root /usr/sbin/popper popper -s

You can also run qpooper with tcpwrappers, but since my pop3 server is internal, and the port is blocked by the border firewall, this is not necessary.

Be sure and build qpopper with pam support and shadow passwords, if your distribution uses it. I have not tried version 4.0, but I think those options were turned off by defualt in the ./configure script in the 3.x series, which can give you headaches during authentication. Bruce Garlock
bruceg@tiac.net
 
Hi,





For redhat, both the pop3 and imap servers are contained in the 'imap' rpm so you just need to install that then activate whichever you want (or both) under chkconfig. I assume you mean for redhat 7.1 due to prior posts and, if so, /etc/inetd.conf is irrelevant because redhat have been using xinetd as a functional replacment for inetd since probably around 6.x . There is a lot of granularity of control that can be exercised with xinetd (e.g. restrict by time of day, ip address ranges, etc) but, out of the box, you just turn the xinetd services on or off by doing as root :



/sbin/chkconfig imap on

/sbin/chkconfig ipop3 on



etc.



In the imap rpm you get three daemons - imapd, ipop2d, ipop3d and (ignoring pop2) there are services defined under xinetd as imap, imaps (for client with ssl support), ipop3, pop3s (ssl support) . Both the redhat pop3 and imap servers have pam support (/etc/pam.d/pop and /etc/pam.d/imap are the control files).



Basically, to get it working you really just need to install the imap rpm --> ftp://rpmfind.net/linux/redhat/updates/7.1/en/os/i386/imap-2000c-10.i386.rpm



.... and do the 'chkconfig' commands above.



Hope this helps









,
 
Thanks again everybody and thanks Ifincham, you were right as usual.
 
I am sorry, I donwloaded the stuff and when installing it as root, I get
# rpm -Uvh sendmail/imap-2000c-10.i386.rpm
error: failed dependencies:
xinetd is needed by imap-2000c-10
# rpm -i sendmail/imap-2000c-10.i386.rpm
error: failed dependencies:
xinetd is needed by imap-2000c-10

Now in /etc/xinetd.d I have the following files,
finger imaps ipop3 ntalk rexec rsh swat telnet wu-ftpd imap ipop2 linuxconf-web pop3s rlogin rsync talk tftp

Also, when I did a serach for xinetd I found it in,
/usr/libexec/webmin/xinetd/
Yes, I have webmin installed !!

So, what do I do ??

Thanks.
 
Hi,

Hmmm thats strange. You are using redhat 7.1 right ? For all the services controlled via xinetd (eXtended inetd) redhat install an appropriate file into /etc/xinetd.d - like the ones you evidently have. Its therefore very odd if you don't have xinetd itself (rpm -q xinetd) unless you installed it but not via by rpm (e.g. direct from The obvious solution is to install it from rpm even if it exists from a tarball type install - ftp://rpmfind.net/linux/redhat/updates/7.1/en/os/i386/xinetd-2.3.3-1.i386.rpm . Download and do 'rpm -Uvh xinetd*.rpm' in the usual way.

The reference under webmin would just be to the bits of webmin that administer xinetd - not xinetd itself.

Regards
 
Another update.
#rpm -Uvh sendmail/xinetd-2.3.3-1.i386.rpm gave,
Preparing... ########################################### [100%]
1:xinetd ########################################### [100%]
# rpm -Uvh sendmail/imap-2000c-10.i386.rpm gave,
Preparing... ########################################### [100%]
warning: /etc/xinetd.d/imap created as /etc/xinetd.d/imap.rpmnew
warning: /etc/xinetd.d/imaps saved as /etc/xinetd.d/imaps.rpmorig
warning: /etc/xinetd.d/ipop2 created as /etc/xinetd.d/ipop2.rpmnew
warning: /etc/xinetd.d/ipop3 created as /etc/xinetd.d/ipop3.rpmnew
warning: /etc/xinetd.d/pop3s saved as /etc/xinetd.d/pop3s.rpmorig
1:imap ########################################### [100%]

Can I ignore the warning ??
Thanks.
 
Hi,

Yes - probably. All it is saying is that you already had some of the files it was going to install so it didn't overwrite your originals. RPM installed the files shown with different extensions instead. So assuming the equivalent files already there were OK you can ignore the renamed ones.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top