SMTP Proxy Server in a restart loop

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

SMTP Proxy Server in a restart loop

Postby tmpease » Aug 20 04 5:30 am

FYI: I'm using WG 5.2.3. I am NOT using WG Email Service, since I have not puchased the upgrade. Nothing else is supposed to service port 25 besides WG SMTP Proxy Server.

Every now and then the SMTP Proxy Server restarts continually. The log looks like this:

08/15/04 00:01:51Service stopped
08/15/04 00:01:52Service started on interface 0.0.0.0:25
08/15/04 00:01:52Service started successfully
08/15/04 00:02:51Service stopped
08/15/04 00:02:51Service started on interface 0.0.0.0:25
08/15/04 00:02:51Service started successfully
...



The Email Server seems to try to start up (and "compete" with port 25) after a Start_all_services scheduler action [, despite it's non-installation-configuration].



FYI, here are perhaps some relevant registry keys:

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Services\SMTP Server]
"Description"="SMTP Server"
"Startup"=dword:00000001
"UUID"=""
"LoggingEnabled"=dword:00000001
"LogOptions"=dword:000000db
"ServiceType"="WGSMTPServer"
"PortNumber"=dword:00000019
"TimeOutSessions"=dword:00000001
"SessionTimeout"=dword:0000012c
"NonProxyRequestAction"=dword:00000000
"NonProxyRequestHost"=""
"NonProxyRequestPort"=dword:00000019
"LimitSessions"=dword:00000000
"SessionLimit"=dword:00000005
"BindingOption"=dword:00000002
"SpecificBinding"=""
"ReuseAddr"=dword:00000000
"TransparentRedirection"=dword:00000000
"InterfaceMethod"=dword:00000000
"InterfaceType"=dword:00000001
"InterfaceName"="0.0.0.0"
"InterfaceIP"="0.0.0.0"
"ConnectMethod"=dword:00000000
"ProxyServer"=""
"ProxyPort"=dword:00000000
"SOCKS4Password"=""
"BypassProxyOnLocal"=dword:00000000
"EnableSending"=dword:00000001
"EnableReceiving"=dword:00000001
"RelayActionInbound"=dword:00000001
"RelayActionOutbound"=dword:00000000
"GatewayAction"=dword:00000000
"LimitMessageSizeInbound"=dword:00000000
"LimitMessageSizeOutbound"=dword:00000000
"MaxMessageSizeInbound"=dword:00004e20
"MaxMessageSizeOutbound"=dword:0000c350
"RecheckInterval"=dword:0000000f
"ProcessRealTime"=dword:00000000
"MaxSendThreads"=dword:00000014
"MaxReceiveThreads"=dword:00000014
"LimitRecipientsInbound"=dword:00000000
"LimitRecipientsOutbound"=dword:00000000
"MaxRecipientsInbound"=dword:00000064
"MaxRecipientsOutbound"=dword:000000ff
"MaxRetries"=dword:00000014
"MaxDays"=dword:00000004
"TriggerDial"=dword:00000001
"Gateway"=""
"GatewayPort"=dword:00000019
"KeepSent"=dword:00000000
"UseOtherInboundHost"=dword:00000000
"IncomingServer"=""
"IncomingServerPort"=dword:00000019
"ValidateSenderDomain"=dword:00000001
"DripFeedPluginsAfter"=dword:000000c8
"DripFeedPlugins"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Services\SMTP Server\AccessRights]
"RightType"=dword:00000000
"IncludeDefaultRights"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Services\SMTP Server\Bindings]

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Services\SMTP Server\Bindings\127.0.0.1]
"InterfaceType"=dword:00000004
"InterfaceName"="127.0.0.1"
"InterfaceIP"="127.0.0.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Services\SMTP Server\Bindings\192.168.0.1]
"InterfaceType"=dword:00000001
"InterfaceName"="192.168.0.1"
"InterfaceIP"="192.168.0.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Services\SMTP Server\Data Scanning Plugins]

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Services\SMTP Server\EditRights]
"RightType"=dword:00000002
"IncludeDefaultRights"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Services\SMTP Server\Interfaces]

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Services\SMTP Server\StartStopRights]
"RightType"=dword:00000001
"IncludeDefaultRights"=dword:00000001

------------------------------------------------------------------------------


The SMTP Proxy Server is not available during the brief stopped-period, so I find this undesirable.

I think this contributed to a WG crash on 8/15/04, hence my posting.
tmpease
 
Posts: 20
Joined: Aug 20 04 5:01 am

Postby Pascal » Aug 20 04 11:20 am

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Services\SMTP Server]
"Description"="SMTP Server"
"Startup"=dword:00000001


5.2.3 sometimes had an incorrect state for the startup of the service if you chose not to use the Email Server. The value of Startup=1 indicates that (Manual start/stop). A start/stop all of the services will only start non-disabled services. If you change the 1 to a 0 (I.e. Startup=0) then the service will be marked as disabled. This does require editing the registry, so ensure that you have appropriate backups, etc.

This will require a restart of WinGate to take effect, and you should make the modification after you've stopped the Engine.

http://forums.qbik.com/viewtopic.php?t=702&highlight=startup+smtp

That post gives a more detailed view of somebody also experiencing problems with the SMTP Server on an earlier version.
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand


Return to WinGate

Who is online

Users browsing this forum: No registered users and 6 guests

cron