How To Setup Inbound SMTP Mail Configuration on SAP ABAP Stack
Hi ,
In this blog I would like to share my experience on Inbound mail configuration.
Please find the step explained in detail for how to setup inbound mail configuration for SAP ABAP stack
Mail configuration in SAP allows for sending and receiving emails for which external email infrastructure is needed , it comes along with Netweaver ABAP. Steps are very simple
- Make sure port 25 is not used on the server
Important: Verify with system team!!!
/etc/init.d/sendmail stop <– Important: Verify with system team!!!
ps -ef | grep sendmail
netstat -nap | grep :25
- Add permission to icmbnd
>chown root:sapsys icmbnd
>chmod 4750 icmbnd
- Profile parameters:
- Is /SMTP/virt_host_0 = *:*;
- icm/server_port_1 = PROT=SMTP,PORT=25,TIMEOUT=120,PROCTIMEOUT=120,EXTBIND=1
- Go to t-code – SU01
- Create a user for incoming mail
- Name: MAIL<SID><CLIENT NO>
- Type: Service
- Profile: SCON
- Mail address: mail<SID><client no>@FQDN
- Create a user for incoming mail
- Go to t-code – SICF
- Create virtual host per client and assign to vrt_host from 1.1
5.2 Activate the Virtual Host.
6.Check in tcode. SMICM that the SMTP service is Active and Externally bound
7.Send test mail from outlook:
- To: mail<sid><client no>@FQDN
- Check t-code-> SOIN
- Check sap office inbox with tcode->so01
Reference Links
- http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
- http://scn.sap.com/docs/DOC-46513
- Note: 1755529
For Reference:
SAP Note: 455140 : https://service.sap.com/sap/support/notes/455140
SAP Help : http://help.sap.com/saphelp_nw70/helpdata/en/af/73563c1e734f0fe10000000a114084/content.htm
Thanks for reading ! I Will be back with another topic in the next blog.
Sumit
Hi,
there is a way to config specific domains for incoming emails (inbound messages)?
poor!
Which is the correct way? Mine is not accepting port 25 but accepting port 2500
Mine refueses to activate port 25 and shows its conflicting.
Hi Charles,
Please check at OS level , many time port 25 is occupied by some other process.
If the port 25 is occupied , please kill the process and try to restart ICM , it will work.
Regards,
Sumit
Hi Sumit Patel, you are very right, it worked. Thank you.
Hi Sumit,
How do you achieve to deliver emails from Office 365 (On Cloud) when you dont have any exchange on premise. Is there a way to achieve emails from O365 on cloud to ITSM ERMS? Thank you l