cancel
Showing results for 
Search instead for 
Did you mean: 

Regarging SMTP Connection

Former Member
0 Kudos

Hi,

When I try to send mail to internet addresses I'm getting the following error in my inbox Message cannot be transferred to node SMTP due to Connection Error(Final).

I have searched sdn, but was not able to find any solution.

Please help me solve the problem.

Thanks,

Sai.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

may be telnet is disabled .You are on Unix platform?

1 .You can telnet ip 25 .

2. Can you attach the traceroute or tracert to see if you are able to reach the mail server?

3.Did you manage to set the parameter in instance profile ?

4.What do you see in smicm --services .

Is smtp node active or tried to activate it.

3.You can set 8025 port in place of 25 .

4.Attach the dev_icmbind log

These things are essential before you go to scot and configure it.

Get the help from NW team or OS team.

Have a nice day.

Amit

Former Member
0 Kudos

Hi Amit,

Issue is resolved now, problem was that the firewall was not allowing icmanager.exe to to connect to Mail Server.

Thanks.

Answers (7)

Answers (7)

Former Member
0 Kudos

Hello Sai

How is it.Have you got your problem resolved.Share your status.

I believe i attached the complete mail config for you.Here is it again

In SICF, confirm that SAPCONNECT is active. If necessary, activate SAPCONNECT:

- Right click on SAPCONNECT, select Activate

icm/server_port_# = PROT=SMTP, PORT=25, EXTBIND=1

rdisp/start_icman = true

  1. = next single integer (e.g.; icm/server_port_2)

Restart SAP system to put changes into effect

In SMICM, confirm that SMTP is activated. If necessary, activate SMTP:

- Click Goto > Services

- Checkmark SMTP

- Click Services > Activate

Confirm that a job exists for email delivery. In SCOT, click View > Jobs. If necessary, create job:

- Click Create icon

- Type Email_Send for job name

- Highlight the row containing SAP&CONNECTALL variant

- Click Schedule button

- Click Schedule Periodically

- Select Minutes and enter 10 in its box

- Click Create button

Test email delivery:

- In SBWP, click New Message

- In the new window, enter Title and Document Content

- In the Recipient area, enter an email address that can verify a delivery

- In Recipient Type, click the drop-down and select Internet Address

- Click the Send icon near the top left corner of the window, the window will close

In SCOT, check the status of email deliveries

- Click Utilities > Overview of send orders

Ensure port 25 is available at oss level.

Ensure you are able ping mail server from sm 49.

Ensure your port 25 is allowed for both way communication in firewall.

For troubleshooting, refer to the following SAP Note:

Note 607108 - Problem analysis when you send or receive e-mails

Thanks

Amit

Former Member
0 Kudos

Hi Amit,

I am not able to telnet to mail server on port 25 at OS level.

Former Member
0 Kudos

Correction

icm/server_port_<nr> depending upon availanble nr .

Please telnet mailhost ip 25 and see if you are able to get some response.

Go to Sm49 and ping mail server and do trace route.

See if you are able to reach to the mail server .

These are the main components .

Thanks

Amit

Former Member
0 Kudos

Hi Amit,

I checked Instance profile.

icm/server_port_0 is set to PROT=HTTP,PORT=80$$

What should be the value of parameter icm/host_name_full set to.

Also I could not connect to our mail server at the OS level on port 25 (telnet).

Thanks,

Sai.

JPReyes
Active Contributor
0 Kudos

about parameter icm/host_name_full

http://help.sap.com/saphelp_nw04/helpdata/en/e7/7af83b0255a206e10000000a11402f/content.htm

Also I could not connect to our mail server at the OS level on port 25 (telnet).

Then you probably have a problem with the firewall or simply the port is not open

Regards

Juan

Former Member
0 Kudos

Hi,

>Also I could not connect to our mail server at the OS level on port 25 (telnet)

You must resolve this before your mail will work. Check if there is any firewall or if your mail server uses port tcp/25.

Regards,

Olivier

Former Member
0 Kudos

Dear Sai,

Check is parameter ms/server_port_0 set to PROT=HTTP,PORT=81$$

Also if you could not connect to mail server at the OS level on port 25 consult with you network team.

And parameter icm/host_name_full is your host name.I checked via RZ11 but default value is not there.Though mails are going from my SAP environment.

PS: Still I advice you have followed all the above suggestion just go and tell this to your network team that you could not connect to our mail server at the OS level on port 25.

Regards,

Ashutosh

Former Member
0 Kudos

1 .Just set this parameter in instance profile,

icm/server_port_2 PROT=SMTP, PORT=25, EXTBIND=1

2. Go to OS level under exe you should be able to see the file icmbind and this file shall have permission as root.

hope it works.

Thanks

Amit

Former Member
0 Kudos

Hi

Can you go to Smicm -goto-services and see the smtp is active or not and what port is configured by default?

It shall be active and external active.

Please check the permission on icmbind bianry of your sap kernel.

Hope it helps.

Amit

Former Member
0 Kudos

ICM Moniter is showing following list:

Active Services

-


No. Log Service Name/Port Host Name Keep Alive Proc.Timeo Actv External Bind

-


1 HTTP 8000 server 30 60 @01@

2 SMTP 0 server 30 60 @01@

-


How to check permission on icmbind bianry.

Thanks,

Sai.

Former Member
0 Kudos

Hi,

Connect on your SAP Host at OS level and try to telnet on port 25 toward your SMTP relay server.

If it does not work, then you have a connectivity problem (firewall ?) to solve outside of SAP configuration.

Regards,

Olivier

JPReyes
Active Contributor
0 Kudos

is the node enabled?, Can you post the steps you went through to configure the mail?.. theres certainly not enough info here.

Regards

Juan

Former Member
0 Kudos

I have done the following settings in scot:

Configuration of the SMTP Node

Mail Host: Mail server domain name

Mail port: 25

Code Page: 0

in the supported address Internet after clicking on the SET button and I include my company address and the others I require to send.

In the SAP's user manager (SU01) I specified an email address to my user to be able to send emails.

Specified the default domain.

Thanks,

Sai.

Former Member
0 Kudos

Dear Sai Mohan,

We face the similar issue.Please check weather the default domain in transaction SCOT>menu>settings is set or not.

Check SAP note 487754. & 455140 Check that in Tnx SCOT

-->Node SMTP

-->Supported address type

-->button internet set.

--> Address area

'*' must be there.

Also do a telnet from your server to mail server(SMTP) and vice versa.

You will be able to know whether it is from SAP side or network side.Just co-ordinate with your network guys and confirm from them whether the hits are going from your server or not.

Regards,

Ashutosh

Edited by: ashutosh singh on Aug 18, 2008 1:35 PM

Former Member
0 Kudos

Hi,

Have you maintained the settings in SCOT.

If not do that first,Also do you have a mail server?

Regards,

Vamshi.

Former Member
0 Kudos

I have done settings in scot, even routing test, every thing is working fine in the test.

JPReyes
Active Contributor
0 Kudos

I presume the system cannot reach the SMTP server.... Make sure that the port is open. Also check that you have an smtp 25/tcp entrance on the services file.

Regards

Juan