How to Script Multiple ETRN CommandsDocument ID: 2152HQ
How can I script multiple ETRN commands in EIMS?
This document covers how to send ETRN commands to multiple queues.
When using the Dialup Manager to manage an intermittent connection it is often necessary to deliver ETRN commands to more than the one queue to receive mail destined for the domains you are hosting in EIMS. To accomplish this you can use AppleScript to issue the ETRN command for each of the queues as shown in the following example script using the Remote ETRN AppleEvent:
tell application "Dialup Manager"
Remote ETRN "mail.isp.com" queue "domain1.com"
Remote ERTN "mail.isp.com" queue "domain2.com"
Using this example for mail.isp.com you would substitute the domain name of your ISP's mail server host which has been designated to queue mail for your domains as a backup mail server. For domainX.com you would substitute the actual queue name your ISP is using for each domain. This is usually the mail domain name.
AppleScript can also be used to start queues on the local EIMS server. The following example script uses the ETRN AppleEvent to accomplish this:
tell application "EIMS Server"
NOTE: The examples above are to help you get started. Technical Support does not have the resources available to help you write or customize your scripts. For additional information, visit our Developer area for example applescripts, or visit the alt.comp.lang.applescript newsgroup.
KEYWORDS: EIMS, SCRIPTING, ETRN
| Home | Online Support | Open Source Development | User Forums | Contact Webmaster |
© 1999-2009 QUALCOMM Incorporated. All rights reserved. QUALCOMM and Eudora are registered trademarks of QUALCOMM Incorporated. All other trademarks are the property of their respective owners.