GlobalServe
Basic Pleskian
Problem is back again.
Pleas fix.
No antivirus running....
Restart plesk management fixed the problem.
Pleas fix.
No antivirus running....
Restart plesk management fixed the problem.
Bogdan, please check your ticket just now and please give us feedback as soon as possible. We cannot reproduce this issue in our lab and we need your help.Originally posted by Bogdan
It's been 2 days since I sent my support ticket to SWsoft and they still didn't fix anything.
From the ticket replies I got from them, it's clear that not even they have any idea how that spam filter works or how to fix it.
This is outrageous! Mr Tarasov, is this the way your company handles serious bugfixes? Apparently it is.
You need to configure pickup event for domain only if it is used "user settings" for Spam Filter and Anti-Virus on this domain.Originally posted by Bogdan
I also set the path to the file to be run for MTA pre-pickup event in ME Admin as it was missing.
Are there any differences beetween these two servers?Originally posted by Bogdan
I set your patch up on 2 server yesterday and one of them is still crashing
Originally posted by andrey
Plesk 8.0 doesn't use memailfilter.exe more, so your mail server configuration is wrong, in this case I would like to ask support...
Hello,
I have logged onto your servers and investigated situation.
Problem is caused by fact that in MTA properties -pickup event executable was cleared (as you mentioned).
I think something changed in mail server management in Plesk 8.1 which causes to clear pickup string after any changes to mail configuration.
I put it back in order email to be going processed by antivirus and spam filter.
I also submit this fact to developers.
Our developers are working on problem and will keep you updated I don't close the ticket
--------
Thanks,
John S. Gakhokidze
Technical Support Engineer
SWsoft, Inc.
Originally posted by sergius
Are there any differences beetween these two servers?
This is my first vbscript, so please cut me some slack if I did something wrong.strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set SMTPInbound = objWMIService.ExecQuery _
("ASSOCIATORS OF {Win32_Directory.Name='D:\PROGRA~1\SWsoft\Plesk\MAILSE~1\MAILEN~1\Queues\SMTP\Inbound'} Where " _
& "ResultClass = CIM_DataFile")
If SMTPInbound.Count > 100 Then
Set objShell = CreateObject("WScript.Shell")
Set objWshScriptExec = objShell.Exec("net stop PopPassD")
Set objStdOut = objWshScriptExec.StdOut
strPopPassDStop = objStdOut.ReadAll
Set objWshScriptExec = objShell.Exec("net stop plesksrv")
Set objStdOut = objWshScriptExec.StdOut
strPlesksrvStop = objStdOut.ReadAll
Set objWshScriptExec = objShell.Exec("net start plesksrv")
Set objStdOut = objWshScriptExec.StdOut
strPlesksrvStart = objStdOut.ReadAll
Set objWshScriptExec = objShell.Exec("net start PopPassD")
Set objStdOut = objWshScriptExec.StdOut
strPopPassDStart = objStdOut.ReadAll
strRestartMsg = vbNewLine + "Attempting to restart Plesk services:" + vbNewLine + strPopPassDStop + strPlesksrvStop + strPlesksrvStart + strPopPassDStart + vbNewLine
strQueues= "SMTP Inbound queue: " + Cstr(SMTPInbound.Count) + vbNewLine
Set objEmail = CreateObject("CDO.Message")
ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'Send the message using the network (SMTP over the network).
ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="mail.domain.com"
ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False 'Use SSL for the connection (True or False)
ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
' ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'basic (clear-text) authentication
' ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") ="sender@domain.com"
' ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="password"
ObjEmail.Configuration.Fields.Update
objEmail.From = "sender@domain.com"
objEmail.To = "yourEmailAddress@somedomain.com"
objEmail.Subject = "Please check the mail queues on somePlesk server"
objEmail.Textbody = strQueues + strRestartMsg
objEmail.Send
Set ObjEmail = Nothing
End If
You may need to replace D:\PROGRA~1\SWsoft\Plesk\MAILSE~1\MAILEN~1\Queues\SMTP\Inbound with the path to the SMTP inbound queue on your server.Set SMTPInbound = objWMIService.ExecQuery _
("ASSOCIATORS OF {Win32_Directory.Name='D:\PROGRA~1\SWsoft\Plesk\MAILSE~1\MAILEN~1\Queues\SMTP\Inbound'} Where " _
& "ResultClass = CIM_DataFile")
You should replace mail.domain.com with the email server you want to use to relay the notification message. I strongly recommend you use an external SMTP server for this (a reliable one, preferably one that is not running MailEnable and PleskObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="mail.domain.com"
You may want to remove the quotes from the beginning of each line if the SMTP server you want to use to use requires authentication and you may want to replace sender@domain.com with the username used for authentication and password with the proper password.' ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'basic (clear-text) authentication
' ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") ="sender@domain.com"
' ObjEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") ="password"
Replace yourEmailAddress@somedomain.com with the notification recipient's email address.objEmail.To = "yourEmailAddress@somedomain.com"
SMTP Inbound: 105
Attempting to restart Plesk services:
.
The Plesk PopPass Service service was stopped successfully.
The Plesk Management Service service is stopping....
The Plesk Management Service service was stopped successfully.
The Plesk Management Service service is starting.
The Plesk Management Service service was started successfully.
The Plesk PopPass Service service is starting.
The Plesk PopPass Service service was started successfully.
quecheck.vbs(8, 1) SWbemObjectSet: Invalid object path
strComputer = "."
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set SMTPInbound = objWMIService.ExecQuery _
("ASSOCIATORS OF {Win32_Directory. Name='C:\PROGRA~1\SWsoft\Plesk\MAILSE~1\MAILEN~1\Queues\SMTP\Inbound'} Where " _
& "ResultClass = CIM_DataFile")
If SMTPInbound.Count > 100 Then
Set objShell = CreateObject("WScript.Shell")
Set objWshScriptExec = objShell.Exec("net stop PopPassD")
Set objStdOut = objWshScriptExec.StdOut
strPopPassDStop = objStdOut.ReadAll
Set objWshScriptExec = objShell.Exec("net stop plesksrv")
Set objStdOut = objWshScriptExec.StdOut
strPlesksrvStop = objStdOut.ReadAll
Originally posted by ha77ab
should this be set to computer name?
Code:strComputer = "."