cancel
Showing results for 
Search instead for 
Did you mean: 

Configure SMTP Connector with a virtual Mailhost (contains MX-Record entry)

Former Member
0 Kudos

Hi verybody !

Wie have a CRM 4.0 System (on base 6.20, kernel 6.40).

There is a call center solution in it, end we have to send crypted mails.

To encrypt mails we have a secure mail gateway.

The solution today is that we have a single secure mail gateway

an configured it in TA SCOT -> SMTP. There we have configured the mail host

end the port 25. Ist works fine with sendig mails end receiving mails form our

secure mail gateway.

Now we want to have a high avalibility solution with mailing. Therefore we have

setuped 2 secure mail gateways and configured a DNS MX-Record like:

Xz47121:/etc/mail# nslookup secure.mail.mydomain.de

Non-authoritative answer:

Name: sgmg1.mail.mydomain.de

Address: 139.21.111.21

Name: sgmg2.mail.mydomain.de

Address: 139.21.111.20

It works perfekt. Wenn i am sending to an email that is routed to our sap system,

it goes to the secure mail gateway an then to the sap system.

If sgmg1 is down then the mail goes over the other host sgmg2.

Wenn i now configure in TA SCOT -> SMTP the host secure.mail.mydomain.de it

seems to work. If booth are online it works, but only the first (sgmg1) woluld be adressed.

If i shutdown sgmg1 then SAP said to me:

"Message cannot be transferred to node SMTP at present due to RFC error" !

There ist no try to go to the sgmg2 !

Is it so ? SAP cannot handle Mail MX-Records ?

Any solution is welcome ?

We want to go live with the high avalibility solution, but we cant when SAP

doesnt handle MX-Records in the SMTP connector.

Thanks in advance, Heinrich Thauer

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

SAP can't handle MX record

We programmed a small Abap-Program and run a Batchjob that checks which Mailhost is up, changes the mailhost in SCOT and triggers the mail forwarding.

rafal-olechowsk
Explorer
0 Kudos

Hi,

You should implement "SAP Internet Mail Gateway". Create RFC to a mail transport agent (ie sendmail, MS Exchange). And in T.code SCOT make a connection to this RFC. Then this MTA will act as a mail relay, and will use MX records from DNS to send e-mail to this server which currently is up.

For a detailed instruction how to make this, look at these documents:

<a href="http://www.sap-basis-abap.com/sapbs035.htm">http://www.sap-basis-abap.com/sapbs035.htm</a>

<a href="http://wiki.ittoolbox.com/index.php/Email_from_SAP_-_4.6C_using_MS_Exchange_2003">http://wiki.ittoolbox.com/index.php/Email_from_SAP_-_4.6C_using_MS_Exchange_2003</a>

<a href="http://sap.ittoolbox.com/groups/technical-functional/sap-basis/configuring-outbound-mail-from-sap-r3-46c-to-internet-address-under-win2k-environment-667326">http://sap.ittoolbox.com/groups/technical-functional/sap-basis/configuring-outbound-mail-from-sap-r3-46c-to-internet-address-under-win2k-environment-667326</a>

Configuration in SAP is alvays the same, but all MTAs are configured in different way.

Hope this helps.

Rafal Olechowski