cancel
Showing results for 
Search instead for 
Did you mean: 

How to receive email in SAP SBWP or SO01 ?

Former Member
0 Kudos

Hi,

I have no problem to configure SAP to send mail out. Now want to configure it to receive mail in SAP Inbox (SBWP/SO01) but not successful.

Found the thread

but information is limited.

My system info

a.) SAP = ECC6

b.) Mail server = Lotus Notes

Have done below

a.) Created an SAP ID (testID) with email address

testID(a)test.companyname.com

in SU01

b.) Configured SCOT to allow for outbound and tested ok. Default domain = test.companyname.com

c.) Have configured below parameter based on notes 455140 & 546147

is/SMTP/virt_host_0                         *:25;
icm/server_port_1                           PROT=SMTP,PORT=25,TIMEOUT=180

d.) Have asked Mail Administrator to relay

testID(a)test.companyname.com

to my SAP server.

Testing

a.) In SBWP, send an external email. Work fine.

b.) Use external mail reply to

testID(a)test.companyname.com

, cannot receive in SBWP

According to Mail Administrator, all mail to the domain test.companyname.com will be relayed to my SAP server, they don't keep the mail.

I wonder what else I need to configure in order to receive the mail in SBWP.

Please advise.

Thanks.

Regards,

Kent

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Did you activate SAPconnect in SICF?

Former Member
0 Kudos

Hi

SO50 (use default value)

Communication Type = Internet Mail

Recipient Address = *

Document Class = ICS

Exit Name = CL_APPOINTMENT_REPLY

Call Sequence = 1

SICF

Status = SMTP Host (Active)

Profile Parameter No= 0

Host Data= *:25000

Logon Data= key in the client number, ID (system type) and password

Handler List = CL_SMTP_EXT_SAPCONNECT

RZ10

is/SMTP/virt_host_0 *:25000;

icm/server_port_1 PROT=SMTP,PORT=25000,TIMEOUT=180

SMICM

Goto --> Services

SMTP is active

Mail can be sent out. But still cannot be received in SO01 or SBWP.

Please advise.

Thanks.

Regards,

Kent

Former Member
0 Kudos

Hi,

I have incoming mail running OK on a CRM 2007 system.

The only difference I can see with your configuration is that for the SAPconnect node in SICF, I have "." for the Host configuration Information and

is/HTTP/virt_host_0 = . in the profile.

Regards,

Olivier

Former Member
0 Kudos

That setup looks ok.

I haven't had any experience of working with Lotus Notes > SAP, always been MS Exchange ... but, issues like this generally turned out to be with the routing from the mail server.

If your Mail admin people have confirmed that their setup is correct, can you ask them to check that the mail router can ping the SAP system. It could be something as simple as the mail router not having the sap system in it's hosts (not sure if you use DNS) or that the firewall settings have only been opened in one direction ??

p.s - this is a very handy note that I always point people to:

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

Former Member
0 Kudos

Hi,

After set below parameter in RZ10

icm/server_port_1                           PROT=SMTP,PORT=25000,TIMEOUT=180
is/SMTP/virt_host_0                         *:25000;

In SMICM --> Goto --> Services, the Service Name/Port for SMTP will be 25000 with Active status, which I think is not right as the Mail Server can only route to port 25.

So I delete both from RZ10 and change it

icm/server_port_1                           PROT=SMTP,PORT=25,TIMEOUT=180

Now the SMTP service is pointing to 25, but it is not Active. Check trace file, SMICM --> Goto --> Trace File --> Display All , shows below message

[Thr 3599] *** ERROR => NiIBindSocket: SiBind failed for hdl 6 / sock 19
    (SI_EPORT_INUSE/67; I4; ST; 0.0.0.0:25) [nixxi.cpp    3174]
[Thr 3599] *** ERROR => IcmBindService: You might not have the permissions to bind the service: test.companyname.com:25 [icxxserv
[Thr 3599] *** ERROR => IcmBindService: NiBuf2Listen failed for host test.companyname.com:25 (rc=-4): NIESERV_USED [icxxserv_mt.

With this setting, I cannot even send mail out.

Refer note 607108 and perform some test

telnet 1.2.3.4 25
220 test.companyname.com Service ready.
helo test.companyname.com
250 test.companyname.com.
mail from:<kent(a)companyname.com>
250 OK.
rcpt to:<kent(a)companyname.com>
553 Relaying blocked at this site.

Mail team claimed that they have set the relay or routing, they have set to treat test.companyname.com as external domain, and relay to my SAP server whenever the mail server receives mail belong to that domain.

When I send to kent(a)test.companyname.com, i don't get returned mail but SAP inbox also not receive the mail.

When I send to kent(a)xxx.companyname.com, i received a returned mail saying that the domain is not valid.

So I assume the routing is already in place.

Please advise.

Thanks.

Regards,

Kent

pls be noted that (a) = @

Former Member
0 Kudos

Hi,

From SMICM Trace File error message, seems like at OS level the SMTP service is running thus occupying port 25.

I'm going to ask Server Admin (AS/400) to shutdown the service that occupying the SMTP port 25 and test again.

Will update the status.

Regards,

Kent

Former Member
0 Kudos

Hi,

After stopping the service which is occupying port 25 at the OS level, I can activate the SMTP service in SMICM and it points to port 25.

I have no problem sending and receiving mail in SAP.

Thanks all who have contributed ideas and advice.

Regards,

Kent

Answers (1)

Answers (1)

Former Member
0 Kudos

Have a look at tx: SO50 - Inbound processing