cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure e-mail using SMTP

Former Member
0 Kudos

1. I try to create RFC destination for outbound email via t-code : SM59

RFC Destination : SAP_INTERNET_GATEWAY

Connection Type : T

Description : SAP Internet mail gateway

Program : /sapmnt/SID/exe/mlunxsnd

I receive error when I tested connection

*Logon Cancel*

*Error Details timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur*

*Error Details ERROR: timeout during allocate*

*Error Details LOCATION: SAP-Gateway on host lstbdv / sapgw00*

*Error Details DETAIL: no connect of TP /sapmnt/SID/exe/mlunxsnd from host lstbdv after 20 se*

*Error Details COMPONENT: SAP-Gateway*

*Error Details COUNTER: 7267*

*Error Details MODULE: gwr3cpic.c*

*Error Details LINE: 6178*

*Error Details RETURN CODE: 242*

*Error Details SUBRC: 0*

*Error Details RELEASE: 700*

*Error Details TIME: Sun Jul 20 17:06:12 2008*

*Error Details VERSION: 2*

2. I try to change parameter in instance profile

Parameter: rdisp/start_icman Value: true

Parameter: icm/server_port_1 Value: PROT=SMTP,PORT=25, TIMEOUT=180

Parameter: is/SMTP/virt_host_0 Value: *:25;

After restart server , I found SMTP service not active (I click activate but it does not become active anyway) (check SMTP service via SMICM (Goto > Services) )

And found error in ICM monitor , (pls. See attach file : SMIC-ICM Monitor Error.JPG) see as below ...

*[Thr 3599] *** ERROR => NiIBindSocket: SiBind failed for hdl 7 / sock 21*

(SI_EADDR_NAVAIL/13; I4; ST; 0.0.0.0:25) [nixxi.cpp 3227]

*[Thr 3599] *** ERROR => IcmBindService: You might not have the permissions to bind the service: lstbdv.lamsoon.co.th:25 [icxxser*

*[Thr 3599] *** ERROR => IcmBindService: NiBuf2Listen failed for host lstbdv.lamsoon.co.th:25 (rc=-16): NIEMYHOST_VERIFY [icxxser*

PS. Mail server type is Microsoft Exchange Server and SMTP port 25 is OK. My server is SAP NetWeaver BI 7.0 sp16. and I have configed according to sapnote 455140.

Please help me .

Thank you very much in advance... _____

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Dear Bhuripanyo,

Check in T-code 'SMICM' and see SMTP port is active. If not activate it and try once again.

Also please check the executable 'icmbind' has enough permission in your kernel directory. Give full permission and chnage the owner and try.

Hope you have done the configuration according to SAP note I mentioned earlier.

Regards

Renjith

Edited by: Renjith SS on Jul 25, 2008 6:30 AM

JP_Barcenas
Participant
0 Kudos

Hi there,

If you have BI 7.0 then you do not need an RFC destination.

Just follow the note 455140 and that's it.

By the way, your SMTP is not starting because you are using the port 25. Change it to 25000 and it should start normally.

Regards,

Juan

Former Member
0 Kudos

Dear Bhuripanyo,

Please refer the following SAP note to configure email using SMTP.

Note Numbers

455140

546147

581035

You need to modify few parameters in RZ10 which is explained in this SAP Note(455140). This note itself solve your issue.

Reward points if this is helpful.

Best Regards

Renjith

Former Member
0 Kudos

Sawasdee,

there are the following things to check :

- is the sap gateway really running on host lstbdv with

tcp/ip port 3300 sapgw00 (there should be an entry

sapgw00 3300/tcp in the hosts file on operating system

level).

- pls check if the TCP/IP port 00 on lstbdv is not blocked by an internal

firewall: on the R/3 server type in "telnet lstbdv 00" - if the

TCP/IP port 00 is open you will receive a blank black screen -> OK!

If the port is not open you will get an error message (in this case you

would need to talk to the network administration).

- is program mlunxsend really in the referred directory ?

Hope this helps.

Kind regards,

Andreas

Edited by: Andreas Kleinlein on Jul 21, 2008 10:27 AM

Former Member
0 Kudos

Hi

Try out all the configuration check according to this note.

Note 99965 - Internet Mail Gateway: Configuration (Version 4.x)