LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   imap pop3 on solaris 10 (http://www.linuxquestions.org/questions/solaris-opensolaris-20/imap-pop3-on-solaris-10-a-626363/)

LinuxLover 03-07-2008 05:27 AM

imap pop3 on solaris 10
 
Hello everyone,

I am trying to configue imap/pop3 on solaris 10 x86 server.

I have installed

openssl

imap-2006e

packages from www.sunfreeware.com .

Now I am trying to configure with the help of

http://www.sunfreeware.com/sol_10_imap_setup.html


But when after writing following in /etc/inetd.conf file

pop stream tcp nowait root /usr/local/sbin/ipop2d ipop2d
pop3 stream tcp nowait root /usr/local/sbin/ipop3d ipop3d
imap stream tcp nowait root /usr/local/sbin/imapd imapd
pop3s stream tcp nowait root /usr/local/sbin/ipop3d ipop3d
imaps stream tcp nowait root /usr/local/sbin/imapd imapd


I give the command
#inetconv -f

It does not accpet pop3s and imaps line and produces the following error.



[/usr/local/sbin]# inetconv -f
100235/1 -> /var/svc/manifest/network/rpc/100235_1-rpc_ticotsord.xml
Importing 100235_1-rpc_ticotsord.xml ...Done
inetconv: Error /etc/inet/inetd.conf line 27 invalid or inconsistent fields: service-name protocol
pop3 -> /var/svc/manifest/network/pop3-tcp.xml
Importing pop3-tcp.xml ...Done
imap -> /var/svc/manifest/network/imap-tcp.xml
Importing imap-tcp.xml ...Done
inetconv: Error /etc/inet/inetd.conf line 30 invalid or inconsistent fields: service-name protocol
inetconv: Error /etc/inet/inetd.conf line 31 invalid or inconsistent fields: service-name protocol


what should I do now?

jlliagre 03-07-2008 06:14 AM

Are pop3s and imaps defined in the /etc/services file ?

LinuxLover 03-07-2008 07:34 AM

Thank jlliagre :)
you are genius.



Above problem solved when I added two line in /etc/services
pop3s 995/tcp
imaps 993/tcp


Now some queries about that

I have created ssl certificate as give link at
http://www.sunfreeware.com/sol_10_imap_setup.html


When I try to connect a user from client machine receiving following error in server log file

Mar 7 04:25:11 alpha.example.com ipop3d[779]: [ID 890198 mail.alert] Unable to load certificate from /usr/local/ssl/certs/ipop3d.pem, host=[192.168.20.230]
Mar 7 04:25:13 alpha.example.com ipop3d[780]: [ID 890198 mail.alert] Unable to load certificate from /usr/local/ssl/certs/ipop3d.pem, host=[192.168.20.230]
[/]#

LinuxLover 03-08-2008 04:54 AM

Thanks buddy!

At last I am able to solve this problem too.

I am using the command

cd /usr/local/ssl/certs
/usr/local/ssl/bin/openssl req -new -x509 -nodes -out imapd.pem \
-keyout imapd.pem -days 365

Which is creating the certificate with the name of imapd.pem

While my imap application is trying to load pop3d.pem


I just replace the name and problem solved.

Thanks

spanoudo 10-22-2009 10:49 AM

Hi guys I have a similar problem. I installed the SFWimap package from the solaris 10 companion CD.

I got to install the POP3 and IMAP servers. I also tried the secure IMAP and PO3 servers according to the same thread. When I tried to connect with secure IMAP there was no connection and on the solaris console I got the message:

Oct 21 20:33:05 hercules imapd[1013]: This server does not support SSL

Well, I searched a little and decided to install openssl 9.8 (from www.sunfreeware.com). After installing I rebooted the machine but I continue getting the same message.

Can you help me in getting my server to support SSL?

Thank you,
Nikos


All times are GMT -5. The time now is 05:20 PM.