cancel
Showing results for 
Search instead for 
Did you mean: 

external MAIL problem

kunal_ingale
Active Contributor
0 Kudos

dear all

we have problem when we do PO by mail,

we cant send extrnal mails

when i execute the ME9f for output i am getting the mail request and it can be viewed in SOST

but when i try process that i am getting following error

>Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 530 530

>Authentication required##

>

> Message no. XS829

>

>Diagnosis

>

>An error occurred in program CL_SMTP_RESPONSE

>Error text: ESMTP error code is not known.

>Additional information:

>530

>530 Authentication required##

>

>System Response

>

> Message processing terminated.

>

>Procedure

>

> Report the error to the SAP Hotline.

please help me out

Accepted Solutions (0)

Answers (12)

Answers (12)

Former Member
0 Kudos

I did not see this mentioned above, Each user, batch job user, etc that sends mail, must list a return address in their mail address of su01. Confirm that the appropriate return address is listed for the user(s).

former_member227283
Active Contributor
0 Kudos

It seems mail server problem.

Can inform you mail server administartor to check from there side.

Thanks

Anil

Former Member
0 Kudos

Hi,

>530 Authentication required##

Your SMTP relay server needs authentication which is not possible from the SAP ICM.

Ask your SMTP server team to remove the need for authentication.

Regards,

Olivier

JPReyes
Active Contributor
0 Kudos

Authentication required

You need to make sure that the IP Address of your SAP system is populated on the Relay Agent of your SMTP Server. Otherwise the mail won't go anywhere.

Regards

Juan

kunal_ingale
Active Contributor
0 Kudos

hi

what i did is i given default domain as abcd.com

and in the local host i given abcd.com

also set user email address as xyz @ abcd.com

now when i execute

i am getting following error as follows

>Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 554 554

>5.7.1 <xyz @ abcd.com>: Relay access denied

>

> Message no. XS829

>

>Diagnosis

>

> An error occurred in program CL_SMTP_RESPONSE

>Error text: ESMTP error code is not known.

>Additional information:

>554

>554 5.7.1 <xyz @ abcd.com>: Relay access denied

>

>System Response

>

> Message processing terminated.

>

>Procedure

>

> Report the error to the SAP Hotline.

Regards

kunal

Former Member
0 Kudos

Keep the default domain to * instead of abcd.com

This works fine for me for the relay to send out email to external email id's.

Former Member
0 Kudos

Dear All,

What do you mean by SAP system is populated under mail server ?

I myself is mail admin too. Please guide where to insert what entry.

JPReyes
Active Contributor
0 Kudos

SAP does not have the ability to use username/password to authenticate to the SMTP server so the IP address of the SAP system need be populated on the SMTP Relay Agent so the requests coming from SAP are trusted.

Hope its clear

Regards

Juan

former_member227283
Active Contributor
0 Kudos

what is sap version ?

SMTP service should work on Service name/port 0

in smicm it should look like

SMTP 0 < sap application host name > 30 60

Did you removed the paramter which i suggested earlier as well as you have to restart the application , after removoing the parameter.

Thanks

Anil

Edited by: Anil Bhandary on Oct 23, 2009 9:05 AM

Edited by: Anil Bhandary on Oct 23, 2009 9:06 AM

kunal_ingale
Active Contributor
0 Kudos

hi

i removed the parameter but still error is there

following is the result in smicm

SMTP 0 dev 30 X

i am uing 4.7e

former_member227283
Active Contributor
0 Kudos

Hi,

Pls remove this parameter and restart the application.

Then check by sending mail, it should work.

If it don't work , pls goto smicm and goto services menu and check what value shows for SMTP service , also check SMTP service is active or not.

Thanks

anil

Edited by: Anil Bhandary on Oct 23, 2009 8:46 AM

kunal_ingale
Active Contributor
0 Kudos

it is active there with port 25

Former Member
0 Kudos

Dear,

The same thing was happening to me also. I checked my settings and found that port was 0. I changed it to 25 but now service is not starting. It is giving an error "Operation failed (rc=1)....Message no. ICM006"

Please suggest how to activate the service.

Former Member
0 Kudos

Port 25 would have been used by some other service.

Check with your os team to see if its being used by some other service or assign another unused port.

former_member227283
Active Contributor
0 Kudos

Hi,

Did you made any changes in paramater icm/server_port_0 ??

Can you give the value of the parameter icm/server_port_0 , which is present on you SPA application.

Thanks

Anil

kunal_ingale
Active Contributor
0 Kudos

hi

sorry the valu is not 0 it is as follows

icm/server_port_1 PROT=SMTP,PORT=25,TIMEOUT=300,PROCTIMEOUT=300

this is not in the list we have added manually

former_member227283
Active Contributor
0 Kudos

Hi,

Also inform your SMTP server administrator to check whether he is getting any hit on SMTP server.

Also can you tell us what is your SAP version.

Thanks

Anil

Edited by: Anil Bhandary on Oct 23, 2009 8:24 AM

former_member227283
Active Contributor
0 Kudos

Hi,

What error you are getting now ??

thanks

Anil

kunal_ingale
Active Contributor
0 Kudos

same errror which given in first post

when i check SOST here i am warning as Waiting for communications service

then when i process that mail it gives error

>Internal error: CL_SMTP_RESPONSE ESMTP error code is not known. 530 530

>Authentication required##

>

> Message no. XS829

>

>Diagnosis

>

>An error occurred in program CL_SMTP_RESPONSE

> Error text: ESMTP error code is not known.

>Additional information:

>530

>530 Authentication required##

>

>System Response

>

> Message processing terminated.

>

>Procedure

>

> Report the error to the SAP Hotline.

former_member227283
Active Contributor
0 Kudos

Hi,

Login to OS of SAP server and run the following command.

telnet < smtp server ip > 25

When enter this command and check then ouput should be blank screen

If you get screen showing as connecting <smtp server ip > , this mean ports are not open.

Thanks

Anil

kunal_ingale
Active Contributor
0 Kudos

hi

allconfig is done as per u also check ed that the port25 is open

but problem is still there

former_member227283
Active Contributor
0 Kudos

Hi,

You just do the following configuration and nothing else you have to do in SAP application.

First of all check port 25 is open from SAP server to SMtp server

Also check sap server is define as realay agent in SMTP server.

Do the follwoing step.

1. Use transaction SCOT

2. From tope menu: View -> System Status

3. Double Click on SMTP

4. You will get a window and fill in description

5. Tick the "Node in use" box

6. Enter the hostname of the email exchange server

7. Mail port will be 25

8. Click on the button next to Internet called "Set"

9. You will get another window, in the "address area" box, enter *

10. Click the green check button to exit the second window

11. Click the green check button to exit the main window

12. From top menu: Settings -> Default Domain

13. in the small box that appears enter the domain name which is the last part after the email id ,The domain name would be for e.g company.com

14. You need to define a job to process the email, from top menu: View -> Jobs

15. From top menu: Job -> Create

16. Enter a name

17. Click on "INT" in the list then "Schedule job" button

18. Enter start date and time, then click on "Schedule Periodically" button

19. Enter something like every 10 minutes.

20. the configuraton is now complete. To test it, you need to have an email defined in your user id properties. Use SU01 for that.

21. Use transaction SO00

22. Put Title, and text in the body, then enter your email address below, the recepient type would be "internet address"

23. After a maximum of 10 minutes you should get the email address.

Thanks

Anil

kunal_ingale
Active Contributor
0 Kudos

hi

all configuration done as per u

but same problem for autontication

can u plz tell me how can i check this

First of all check port 25 is open from SAP server to SMtp server

Also check sap server is define as realay agent in SMTP server

Edited by: SAP Learner on Oct 23, 2009 8:11 AM

former_member227283
Active Contributor
0 Kudos

Hi,

Can you tell us , was this previouly working ? or it is a new configuration ?

If it is new configuration check whether from SAP server to SMTP server port 25 is open as well as SAP is define as relay agent on smtp sever

Your smtp server is not accepting the request of SAP server.

Thanks

Anil

kunal_ingale
Active Contributor
0 Kudos

hi

this is we r doing first time

even from our sap mail we cant able to send external mail

can u give me step by step config for the same

we did config as follows

http://help.sap.com/saphelp_470/helpdata/en/af/73563c1e734f0fe10000000a114084/frameset.htm

i done changes in Instance profile

in above can u tell me what shoud be the values for following

>icm/plugin_<*> = PROT=SMTP,PLG=<prog>

here i given 0 and what should be the programme name

>icm/server_port_<*> = PROT=SMTP,PORT=<port>

here i given 25

>is/SMTP/virt_host_<*> = <host>:<port>,<port>,...;

here i given :

plz let me know if i am missing some config

is ther any authentication requaire from windows as we r using mail server which need authentication.

Former Member
0 Kudos

Check your mail configuration.