Revision Sheet
SAPseXL Page i
Configure Gmail in SAP Mail server
[V1] Arul Kumar
[ Configure Gmail in SAP Mail server]
Configure Gmail in SAP Mail server
Revision Sheet
SAPseXL Page ii
Revision History
Version Date Revision Description
1.0 12/08/2013 Initial documentation
[Type text] Page 0
Table of Contents
Contents Revision History .................................................................................................................................................. ii
Table of Contents ....................................................................................................................................... 0
1. Introduction ......................................................................................................................................... 1 About Author ....................................................................................................................................................... 1
2. Overview .............................................................................................................................................. 2
3. Instructions .......................................................................................................................................... 2
Steps: ....................................................................................................................................................... 2 Create an email id in Gmail ................................................................................................................................. 2 Use www.gmail.com ......................................................................................................................................... 2 Install SMTP in IIS (Windows 2003 Server) ....................................................................................................... 2 Configure SMTP .................................................................................................................................................. 3 SAP Server Configuration ................................................................................................................................... 8 Testing ............................................................................................................................................................... 10 Create a background job and select spool list recipient to any external mail id. ................................................ 10 ........................................................................................................................................................................... 10 Check the spool output which is supposed to be send from the email-id used in the relay server. ................... 10
4. Reference .......................................................................................................................................... 11
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 1
1. Introduction SAPseXL is a group of SAP Technical consultant supporting SAP Security consultant in daily operations / work. The group has been involved in creating some Microsoft Excel based VAB tools to use with SAP. These tools are not for commercial purpose. For more updates and discussion, please join the group in LinkedIn http://www.linkedin.com/groups?gid=3980402&trk=hb_side_g
About Author
Arul Kumar is the moderator of LinkedIn group SAPseXL. Arul has 20 years of IT experience in IT Infrastructure, ERP Implementation and support. Through his journey presently work as Sr. SAP Security Consultant in Atos Thailand. Prior to Security & GRC consultant his experience in SAP Basis helps to create many tools and automate many of daily challenges. Arul has authored many tools for SAPseXL with his experience in SAP Security and GRC. http://th.linkedin.com/in/arulkumartr
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 2
2. Overview There have been many discussions on how to use Gmail (or other SMTP server) as mail server in SAP for IDES or any SAP server setup for training purpose where the customer does not own a separate mail server in the domain. This document will help for those who are looking for the solution to use Gmail for training purpose or in case customer does not have their own mail server. In general Gmail or any other SMTP server can be configured following the same steps. However, this document will guide to use Gmail with the help of relay server concept since the Gmail cannot be used directly in SAP.
3. Instructions
Requirement:
1. Account in Gmail or other SMTP server (Gmail is used here) 2. Windows 2003 server IIS SMTP server for relay server
Steps:
Create an email id in Gmail
Go to www.gmail.com and sign up for a new account.
Install SMTP in IIS (Windows 2003 Server)
a) Go to -> Control Panel b) Select -> Add or Remove Program c) Add/Remove Windows Components
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 3
Select Application Server
Select (IIS)
d) Select SMTP Service
This will also select the IIS Manager or any additional services required, please leave the selection as it is (dont unselect any services)
Configure SMTP
a. Go to IIS Manager
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 4
b. Select SMTP properties
c. Optional (select IP address)
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 5
d. Go to relay setting
e. Change select to (All except the list below) (Change based on your requirement)
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 6
f. Go to delivery tab
Select outbound security and enter Gmail user name and password
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 7
Return back and select outbound connection
Change the TCP port to 587 (Port 587 is SMTP mail submission) Return back and select Advanced
Enter the server name in Fully-qualified domain name(FQDN): SMTP Host: smtp.gmail.com And check DNS
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 8
SAP Server Configuration
a. In transaction code - SCOT, select SMTP
Enter the host name & port 25
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 9
Select Set and enter Address area *
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 10
Testing
Create a background job and select spool list recipient to any external mail id.
Check the spool output which is supposed to be send from the email-id used in the relay server.
Configure Gmail in SAP Mail server August 12, 2013
SAPseXL Page 11
4. Reference This document is created for Training / Knowledge sharing purpose only.
SAPseXL group does not provide any SAP support or commercialize any tools.
Configure Gmail in SAP Mail serverRevision HistoryTable of Contents1. IntroductionAbout Author
2. Overview3. InstructionsRequirement:1. Account in Gmail or other SMTP server (Gmail is used here)2. Windows 2003 server IIS SMTP server for relay serverSteps:Create an email id in GmailGo to www.gmail.com and sign up for a new account.Install SMTP in IIS (Windows 2003 Server)Configure SMTPSAP Server ConfigurationTestingCreate a background job and select spool list recipient to any external mail id.Check the spool output which is supposed to be send from the email-id used in the relay server.
4. Reference