Author Topic: SMTP Alert Request  (Read 4628 times)

0 Members and 1 Guest are viewing this topic.

sowen

  • Guest
SMTP Alert Request
« on: December 31, 2003, 10:36:52 AM »
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.
« Last Edit: December 31, 2003, 10:38:50 AM by sowen »

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:SMTP Alert Request
« Reply #1 on: December 31, 2003, 10:51:24 AM »
You got it. It's already there although not documented... :)


To customize the text, open the files <avast4>\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
« Last Edit: December 31, 2003, 10:52:20 AM by Vlk »
If at first you don't succeed, then skydiving's not for you.

sowen

  • Guest
Re:SMTP Alert Request
« Reply #2 on: December 31, 2003, 10:52:10 AM »
Excellent! Wow, you work fast! ;D

Technical: Here's another section for you to add to your .ini file documentation. :)
« Last Edit: December 31, 2003, 10:56:41 AM by sowen »

sowen

  • Guest
Re:SMTP Alert Request
« Reply #3 on: December 31, 2003, 11:23:23 AM »

Is there a date/time variable available?

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:SMTP Alert Request
« Reply #4 on: December 31, 2003, 11:25:16 AM »
Nope; I guess that's what the Date: header will be about...
If at first you don't succeed, then skydiving's not for you.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re:SMTP Alert Request
« Reply #5 on: December 31, 2003, 12:05:26 PM »
Excellent! Wow, you work fast! ;D

Technical: Here's another section for you to add to your .ini file documentation. :)

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
The best things in life are free.

sowen

  • Guest
Re:SMTP Alert Request
« Reply #6 on: December 31, 2003, 12:26:25 PM »

If he told you, they wouldn't be secret. ;D

Offline Vlk

  • Avast CEO
  • Serious Graphoman
  • *
  • Posts: 11658
  • Please don't send me IM's. Email only. Thx.
    • ALWIL Software
Re:SMTP Alert Request
« Reply #7 on: December 31, 2003, 01:15:10 PM »
I don't really know... I remember this one being added recently on request of a VIP customer  ::) (with lots of licenses).
If at first you don't succeed, then skydiving's not for you.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re:SMTP Alert Request
« Reply #8 on: December 31, 2003, 06:43:04 PM »
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
The best things in life are free.