'************************************************************** '* Application Name : ETRN.vbs '* Creation Date : October 9,2002 '* '* '* Functionality : ETRN launches a telnet session and then issues '* ETRN Commands followed by a list of domain names
dim i dim iArrayCount dim retcode dim lclarray()
on error resume next
'************************************************************** '* Put all domain names here, redimension array when adding or '* or removing domains. Array is 0 based, so if there are 7 '* domains, the array will have a dimension of 6 and so on...
redim lclarray(3)
lclarray(0) = "domain1.com" lclarray(1) = "domain2.org" lclarray(2) = "domain3.com" lclarray(3) = "domain4.com"
'* '**************************************************************
set Wshshell= WScript.createobject("wscript.shell")
retcode = Wshshell.run ("C:\winnt\system32\telnet xxx.xxx.xx.xxx 25", 3, False)
Wscript.Sleep 1000
iArrayCount = ubound(lclarray)
for i = 0 to iArrayCount
Wshshell.sendkeys "ETRN " & lclarray(i) ',1000
Wshshell.sendkeys "~" ',1000
Wscript.Sleep 500
next
Wshshell.sendkeys "QUIT" ',1000
Wshshell.sendkeys "~" ',1000
'Reallocate Memory set Wshshell = nothing
QUIT
At 11:38 AM 4/20/2004, you wrote:
OK this is what I've found, and Imail support have confirmed it. What do you think? Have you noticed it?
On versions of Imail with the queue manager service, when Imail receives an ETRN command the queue manager starts an entire queue run for all mail in the queue (instead of just flushing mail destined for the domain in the ETRN). As our server receive a lot of ETRN requests from a number of customers, our server is doing a queue run approx every 2 minutes.
This means two things:
1) Emails on our server for store & forward clients are being bounced back to the senders after about 2 hours (96 attempts) if the client hasn't connected within that period - this affects clients on dialup who restrict dialup to office hours and a small window at the weekend to prevent unnecessary phone charges.
2) Unnecessary workload on our server, in that Imail is doing a queue run approx every 2 minutes opposed to every 30 minutes. Some servers (exchange5) can even be set to issue an ETRN command with every outbound email! Because of this we've had to increase the number of retry attempts from 96 to 2400, so that mail will store on our server for up to around 48 hours. Crazy...
I see this is as a bug, and still waiting for an ETA from Ipswitch.... What's your opinion?
PS, mind letting me take a look at your script? :)
> -----Original Message----- > From: Mark [mailto:[EMAIL PROTECTED] > Sent: 20 April 2004 17:24 > To: [EMAIL PROTECTED] > Subject: Re: [IMail Forum] Using ETRN with Store & Forward > > > I use it and haven't had any problems. I also have a script > that I can add > and delete domains to when I get someone that wants the > service. That way > I don't have to do it manually for each. > > Mark
************************************************ Email checked by UKsubnet anti-virus service To prevent email abuse & block spam contact [EMAIL PROTECTED] Tel: +44(0)8712360301 Web: www.uksubnet.net Fax: +44(0)8712360300
Powered by UKsubnet Internet Service Provider Business to Business Internet (ISP) ************************************************
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
---
[This E-mail scanned for viruses courtesy of Netslyder, Inc.(http://www.netslyder.net)]
--- [This E-mail scanned for viruses courtesy of Netslyder, Inc.(http://www.netslyder.net)]
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/ Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
