Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Thursday, September 13, 2007

How to start sendmail(SMTP) and IMAP on Solaris 10

Short answer:

For SMTP(Sendmail):

Login as root
/lib/svc/method/smtp-sendmail start

or

svcadm restart sendmail

For activating IMAP:

1. Download imap package from ftp://ftp.sunfreeware.com/pub/freeware/sparc/10/imap-2006e-sol10-sparc-local.gz

2. # gunzip imap-2006e-sol10-sparc-local.gz
3. # pkgadd -d imap-2006e-sol10-sparc-local
4. # update file /etc/inetd.conf with the proper lines pointing to imapd and ipop3d:

imap stream tcp nowait root /usr/local/sbin/imapd imapd
pop2 stream tcp nowait root /usr/local/sbin/ipop2d ipop2d
pop3 stream tcp nowait root /usr/local/sbin/ipop3d ipop3d

5. # inetconv
6. # inetadm (to verify the services)

Commands to restart IMAP on Solaris 10

Login as root

# svcs -a |grep imap
online Feb_15 svc:/network/imap/tcp:default
# svcadm restart svc:/network/imap/tcp:default
# svcs -a |grep imap
online 22:07:24 svc:/network/imap/tcp:default
#

9 comments:

Unknown said...

What is the entry I should have in /etc/inetd.conf on solaris 10 for IMAP to work ? thanks in advance for any pointer.

Unknown said...

What is the entry I should have in /etc/inetd.conf on solaris 10 for IMAP to work ?

Vikram Das said...

Hi Ramesh,

I have updated the post to include the entries that need to be in /etc/inetd.conf:

imap stream tcp nowait root /usr/local/sbin/imapd imapd
pop2 stream tcp nowait root /usr/local/sbin/ipop2d ipop2d
pop3 stream tcp nowait root /usr/local/sbin/ipop3d ipop3d

xdscfdxvs said...

I have the following error:

Error connecting to IMAP server. Server error: ld.so.1: imapd: error fatal: libssl.so.0.9.8: apertura no satisfactoria: No existe tal archivo o directorio

any ideas?

Vikram Das said...

Hi xdscfdxvs,

This means that your server doesn't have all the unix libraries required to run the impad process. You can give this command to find out the missing libraries:

cd directory_where_imapd_is_present
ldd imapd

Get the missing libraries installed and imapd should start without errors.

- Vikram

knikster said...

You have to download the ssl package from sunfreeware and install to fix your problem.

pkgadd -d openssl-0.9.8i-sol10-x86-local

knikster said...

You have to download the ssl package from sunfreeware and install to fix your problem.

pkgadd -d openssl-0.9.8i-sol10-x86-local

Ali Al-Haddawi said...

we have installed Apps 12i and could configured Mailer notification successfully on Application node and got for few months the notifications but after sometime the notifications failed it tells on OAM : unable to make network connection.
we tested on dbs node to telnet the Exchange serve it conncected but on application node it says :
"telnet: Unable to connect to remote host: Connection refused"
telnet 172.30.50.60 993
any idea ?
appreciated your kind help.

Unknown said...

How to configure the same IMAP on Solaris 9? As inetconv and svc commands not available in solaris 9.

Regards,
Naeem