XFOR: Dequeing SMTP Mail Outside of Dialup Connections

Last reviewed: January 28, 1998
Article ID: Q175494
The information in this article applies to:
  • Microsoft Exchange Server versions 5.0 and 5.5

SYMPTOMS

Microsoft Exchange Server has the ability to send a command or ETRN (with version 5.0 Service Pack 1) to another host to prompt that host to send any messages waiting for the specified domain (also known as "dequeuing").

However, by default, this functionality is limited to only dial-up connections.

If this functionality is required outside of the dial-up connections of the Internet Mail Service (like in the case of Dial-up or Dial-on-demand routers), you must use some method to send this command manually, either through a batch file or the use of a third-party dequeing application.

WORKAROUND

Create a batch file to run on Windows NT AT Command Scheduler (available in the Windows NT Resource Kit) or other third-party scheduling application. The following are example batch files:

  Example 1: (assumes Internet Mail Service is always running)

  PING <other_hosts_ip_address> ---> makes the dialup router initiate its
  connection
  PING <other_hosts_ip_address> ---> verify connection
  FINGER My.DomainA.Com@ISP.Host.DomainB.Com ---> to dequeue

  Example 2: (assumes Internet Mail Service is always running)

  PING <other_hosts_ip_address> ---> makes the dialup router initiate its
  connection
  PING <other_hosts_ip_address> ---> verify connection
  <Retrieval Program> ---> third-party program that dequeues mail

  Example 3: (assumes Internet Mail Service is NOT running)

  PING <other_hosts_ip_address> ---> makes the dialup router initiate its
  connection
  PING <other_hosts_ip_address> ---> verify connection
  NET START MSExchangeIMC ---> starts the Internet Mail Service
  <Retrieval Method: command or executable>
  NET STOP MSExchangeIMC ---> stops the Internet Mail Service


Additional query words: DEQUEUE ETRN RETRIEVAL
Keywords : XFOR
Version : WinNT:5.0,5.5
Platform : winnt
Issue type : kbprb
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 28, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.