Request to Avast developers: Could you please make the text of the SMTP alert configurable, just like it is in the mail scanner? And if not, perhaps you could at least add the date and time to the alert text.
Thanks,
Scott.
Request to Avast developers: Could you please make the text of the SMTP alert configurable, just like it is in the mail scanner? And if not, perhaps you could at least add the date and time to the alert text.
Thanks,
Scott.
You got it. It’s already there although not documented…
To customize the text, open the files \data\avast4.ini and add an entry called VirusMessage into the [UserInterface] section.
This entry is the actual message body that will be placed to the SMTP alert messages. The following placeholders can be used in the definition:
/n breaks line
%1 full path name of infected file
%2 name of virus detected
%3 name of the avast task that detected the infection
%4 version of virus database (VPS file)
%5 name of the computer where the infection was detected
So for example, you can have the following in your avast4.ini
[UserInterface]
VirusMessage=Something wrong dude!\n\navast (VPS %4) found virus %2 in file %1 (using task %3)\n\nDo something dude!!!
Hope this helps,
Vlk
Excellent! Wow, you work fast! ;D
Technical: Here’s another section for you to add to your .ini file documentation.
Is there a date/time variable available?
Nope; I guess that’s what the Date: header will be about…
I’m becoming a ‘slave’ of avast team ;D
Thank you sowen. I’ll put this information there.
Vlk, is there another ‘secret’ un-documented features? ;D
If he told you, they wouldn’t be secret. ;D
I don’t really know… I remember this one being added recently on request of a VIP customer : (with lots of licenses).
Igor said the same for me sometime ago… I think nobody is the ‘owner’ of the ini file and none of you no all the features that could be used/implemented with avast.ini… If so, you do not have to recognize it ;D