cancel
Showing results for 
Search instead for 
Did you mean: 

Mail Server

Former Member
0 Kudos

Hi Gurus

I wanna send mail to external email and what mail server I should to use ?

I tried to use MDaemon and I don't know how to connect it to SAP Server.

I changed SMTP info in TCode SCOT.

But I think it's not enough. Because to access in MDaemon or some other mail server you need Email and Password, don't have password in SAP Server. It makes me think have another way to config in MDaemon.

Regards

An NLP

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

As Amber said, configure the mail setting in SAP (SCOT) and then do the following at Mail server end (MDaemon)

To send mails from SAP server to external domain, you need to add your SAP server in trusted host list in MDeamon.

MDaemon --> Security --> Trusted Hosts

See the below link how to configure trusted host in MDaemon

[MDaemon: Enabling Relay Control|http://www.ciwcourse.co.uk/s3pb2c8.php]

After that MDaemon will send the mails to external domain.

Regards.

Rajesh Narkhede

Former Member
0 Kudos

Hi all

I only use MDaemon for the emails in LAN.Because I wanna test Sending mail in SAP before I send to internal email in Internet

I have a IP 10.0.0.79 for computer containing MDaemon (Mail Server)

10.0.10.200 for SAP Server

I did following steps:

In MDaemon:

- Default Domain

- Domain:

Domain name: tdh.mail

FQDM for this host: tdh.mail

Domain IP: 10.0.0.79

- Security => Security settings:

- Don't allow messaging relaying

- ...unless sent from a trusted host or IP

- SMTP MAIL address must exist if it uses a local domain

- ...unless sent from a trusted host or IP

- SMTP RCPT address must exist if it uses a local domain

- ...unless sent from a trusted IP

And I added IP of SAP Server to Trusted host list: 10.0.10.200

I created 2 account in MDaemon. u1Atdh.mail and u2Atdh.mail

(I use A to replace @)

I can use ThunderBird or Outlook to check and send the mail with each other accounts of MDaemon. It's OK

In SAP:

I went to TCode SICF to active SAPconnect (It has a warning: Service has already been actively saved)

Then I went to TCode SCOT and changed SMTP Server in SMTP of Internet to 10.0.0.79 (IP of Mail Server) and Port 25.

Went to default host I typed tdh.mail

I created a new JOB with Period is 2min

In TCode SU01 I changed address mail of current user is u1Atdh.mail

Went to TCode SBWP

I tried to send email to u2Atdh.mail

After that I go to TCode SOST and I see that status of this email: "Wait for communications service"

About 5 min I got a new mail:

The following status was received for the document <test> sent by you to the recipient

<u2Atdh.mail>:

<No delivery to u2Atdh.mail, as recipient unknown>.

When I view the log in MDaemon nothing new in there.

This means SAP Server didn't connect to MDaemon, right ?

Give me some solutions, please!

Regards

An NLP

Former Member
0 Kudos

Addition, I ping to 10.0.10.200 from 10.0.0.79 and it's ok.

Former Member
0 Kudos

Hi,

Went to default host I typed tdh.mail

I noticed 2 things...

1. Your SMTP host should be "hostname.domain.com" means, hostname.tdh.mail... (not tdh.mail)

2. Domain name will be "tdh.mail"

3. Add the same entry in your SAP servers HOST file /etc/hosts or C:\windows\system32\drivers\etc\hosts.

10.0.0.79        hostname.tdh.mail

(replace "hostname" with actual hostname of your mailserver).

Then try to ping as hostname.tdh.mail from SAP server..

Then SAP server will be able to communicate with your MDEAMON mail server.

I think, rest of the cofiguration is OK now..

Regards.

Rajesh Narkhede

Former Member
0 Kudos

HI,

you could use TC scot to test your smtp configuration by click "routing test " and enter sender,recipient addr.type and recipient addr.

if it is ok. then your smtp is ok, else you should check others.

Former Member
0 Kudos

Hi again_123

I checked it but it's always ok with any info of SMTP Server I input.

I think it doesn't be used to check SMTP. It checks form of input information is correct or not.

Maybe, I'm wrong but I don't see what is it useful for checking SMTP in TCode SCOT

Regards

An NLP

Answers (2)

Answers (2)

Former Member
0 Kudos

I used MS Exchange and don't need to research about MDeamon. Thanks all

former_member198270
Active Contributor
0 Kudos

Hello An, Have you activiated the mail sending service in SICF tcode ?

For this you need configure the settings through SAPConnect.

  • Activate SMTP and go to transaction sicf.

  • Right click in SAP connect and select activate SMTP host.

  • Configure smtp and go to transaction Scot.

  • Double click in the SMTP node of INT.

  • Select "node in use".

  • In SMTP connection enter the smtp address of your company (i.e., smtp.company.com) and the mail port (usually 25).

  • Click the SET Internet button and put * as the address (you can make some restrictions here, i.e., *.company.com).

  • Click OK.

  • Select settings. The default is domain.

You also need to be sure to have the RSCONN01 report scheduled to run periodically (i.e., every 15 minutes). This report is responsible to deliver the SAP connect objects.

You have to create a service user for processing incoming mails in every SAP system client in which you want to receive mails (or status notifications). Call transaction SU01 to create a user with type Service and assign the profile S_A.SCON to this user.

Every user that is to receive e-mails in an SAP system requires an Internet mail address. This is also used as a sender address. Enter the Internet mail address for a user in transaction SU01, under E-Mail on the tab page Address.

Also contact your Email administrator and get the ports opened for the port 25

you can do a test mail from SBWP tocde

Internet messages sent from the SAP System to external recipients (outside the mail system group) are first routed to the external mail system and then transferred to the Internet by the Internet mail connector.

Also check note 677377.

Hope it helps.

Regards, Amber S | ITL

Edited by: Amber S on Mar 30, 2010 10:05 AM