Author Topic: Understanding avast4.ini file  (Read 374510 times)

0 Members and 1 Guest are viewing this topic.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Understanding avast4.ini file
« on: November 03, 2003, 04:18:57 AM »
Here are the settings for the last avast version. Most of them will be the default values for avast 4.6.
My intention is relate the avast! settings with avast4.ini file (open avast4.ini file in Notepad editor.
You will find this file in the folder Data in your avast! installation folder, e.g. C:\Program Files\ALWIL Software\avast4\Data).
There are few new settings available since last information posted here. These were the results I get untill now.

* Indicates that is possible to change the value from the Settings windows.

Warning: some of the information bellow should be added to the avast4.ini file as new items in the appropriate section, I mean, not all the itens exist already and can be merely modified by editing. You should add them if you want or need.

Section and KeysValuesNotes and value description
[Languages] avast! available for download in 30 Languages!!!



0402Bulgarianavast! in Bulgarian



0403Catalanavast! in Catalan



0404ChineseTavast! in Tradicional Chinese



0405Czechavast! in Czech



0406Danishavast! in Danish



0407Germanavast! in German



0408Greekavast! in Greek



0409Englishavast! in English (default language)



040ASpanishavast! in Spanish



040BFinnishavast! in Finnish



040CFrenchavast! in French



040EHungarianavast! in Hungarian



0410Italianavast! in Italian



0411Japaneseavast! in Japanese



0412Koreanavast! in Korean



0413Dutchavast! in Dutch



0414Norwegianavast! in Norwegian



0415Polishavast! in Polish



0416Portugueseavast! in Portuguese (Brazil)



0418Romanianavast! in Romanian



0419Russianavast! in Russian



041ACroatianavast! in Croatian



041BSlovakavast! in Slovak



041DSwedishavast! in Swedish



041FTurkishavast! in Turkish



0424Slovenianavast! in Slovenian



042FMacedonianavast! in Macedonian



043EMalayavast! in Malay



0804ChineseSavast! in Simplified Chinese



0816Portugalavast! in Portuguese (Portugal)



081ASerbianavast! in Serbian



Engine1046default: English



« Last Edit: November 11, 2007, 06:05:51 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #1 on: November 03, 2003, 03:28:51 PM »
[Common]



ApprovedPersonemptyWindows username (login)



ApprovedFirmemptyRegistered user company



ProductVersion4.7Your avast! main version



VersionLabelMay2007Your avast! main version date release



ThreadTerminationTimeout30000



EnterpriseemptyWindows Registered company



DatabaseSQTLSince version 4.7.807 a new data storage (settings and databases) called SQLT is used by avast! New storage system has nothing to do with Microsoft MDAC/Jet whatsoever anymore (ODBC and XML). 8)



StorageMigratedOK1



ExcludeemptyPath(s) excluded from scanning separated by semicolon



VPSUpdateAutomatic* Automatic, Ask or Manual



ProgramUpdateAsk* Automatic, Ask or Manual



NewsUpdateAutomatic * Automatic, Ask or Manual. Control the dismiss of the iNews panel, with or without user interaction.



LoggingLevel5* Emergency=0/Alert=1/Critical error=2/Error=3/Warning=4/Notice=5/Info=6/Debug=7. Default Notice includes precedents Emergency, Alert, Critical, Error and Warning.



NetAlertMAPIPROFILE:<your_MAPI_profile>&<password>* Alerts: MAPI profile and password for sending alerts



ProxySettingsAutodetect* Autodetect, HTTP or Socks4



ProxyAddressempty



ProxyPortempty



LastLogonAccountempty



FilterMgr0 Not supported yet! It does nothing right now. This feature will be used only in Longhorn (or Vista, or whatever the name of new version of Microsoft OS) to set the upper number limit of open connections in avast! providers.



ShowTxLogStuff0



LogEvents1



DefragmentDataFile1



VirusReportURLform.php?name%s&virus%s



MoveToFolderempty



LogMaxSize4096



NetAlertempty



LastChangeempty



SMTPLogempty



SMTPLogToempty



HideSimpleGui



HideEnhancedGui



HideResidentGui



HideChestGui0 0 is the default for Home version, 2 is the default for both Professional and Trial versions



DefTasksTimeStamp



LastINewsTimestampemptyThe value is the result of the time() function, i.e. representes the number of seconds elapsed since midnight, January 1st, 1970 until the last News time.



LateServiceStartemptyBy default there wouldn't be an ini entry, only if you elect to delay the avast services until other system services have loaded. So it is an on or off option 0 (there would only be an entry in the ini file if you change it back in the program settings, to the default of unchecked) or 1 (delay loading of avast! services until after other system services).



UserModeScanning1Set 1 for troubleshooting (debugging) mode. Normal user should let it empty.



« Last Edit: March 12, 2009, 11:16:19 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #2 on: November 03, 2003, 03:29:38 PM »
[Communication]



InformationTimeout300default: 5 x 60



InformationPortAddress6000



ClientsListenPortAddress6011



ClientsListenPortAddressSSL6002



ClientsPushPortAddress6009



PopTimeout600 default: 10 x 60



PopTimeoutDiff300 default: (PopTimeout / 2)



SynchroTimeout15



EmailChestFile_Tovirus@avast.come-mail address where will be sent files from Chest to Alwil Software



ProblemEmailsupport@avast.comSupport e-mail address



MaximumSendSize1024* Maximum size of file to be sent to Alwil Software in the e-mail attachment (in Kb)



SMTPServerempty* SMTP server address for sending alerts (and files from Chest to Alwil Software).
#smtp.<your ISP provider address>



SMTPFromempty* e-mail address (who sends the alerts) (and files from Chest to Alwil Software)



SMTPPort25* SMTP Port number for sending alerts (and files from Chest to Alwil Software)



SMTPUserNameempty * User name for SMTP authentication, if needed to send alerts (and files from Chest to Alwil Software)



SMTPUserPasswordempty * Password for SMTP authentication, if needed to send alerts (and files from Chest to Alwil Software)



ServerAddressempty



LastServerAddressempty



ChestServerempty



SendInfected0



InstallGUIDempty



ForbidSetup0



SendResidentVirus1 default in Home version



SendClientsVirus1 default in Home version



CrashAttachmentEmailsetup-support@asw.cz



« Last Edit: November 11, 2007, 06:07:17 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #3 on: November 03, 2003, 03:30:18 PM »
[Server]



SelectTimeout2Timeout to select function in miliseconds.



MinimalCacheTime300default: 5 x 60



StoreEvents31Time (days) to keep events in the server data file



ManageEngines300



FlushTimeout600 default: 10 x 60



StoreSessions7



EnginesOfflineTimeout300 default: 5 x 60



ClientsOfflineTimeout600 default: 10 x 60



Enterpriseempty



iAVSTaskempty



StatusCheckTimeout180 default: 3 x 60



CheckService10



OverwriteSettings30



ServerIdOBJID_SERVER



« Last Edit: November 11, 2007, 06:07:50 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #4 on: November 03, 2003, 03:30:58 PM »
[ODBC]These settings are for avast! internal use only to communicate between its components.



CompactNeeded0



DataSourceNameempty



Userempty



Passwordempty



Driverempty Default empty or Microsoft Access Driver (*.mdb)



AttributesDSN%1|DBQ%2.mdb|



CREATE_DB\"%2.mdb\"|



COMPACT_DB\"%2.mdb\" \"%2.mdb\" General| MS SQL server section (Network version only)



DataSourceavast Name of MS SQL instance



Catalogavast Name of database to be used from data source



UserIdas



Passwordempty



DBCreated0



ObjectsCreated0



« Last Edit: November 11, 2007, 06:08:12 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #5 on: November 03, 2003, 03:32:18 PM »
[Version30]



ListenPortAddress5313default: 5313. Port address on which the server will listen to version 3.0 clients messages.



RetrySend1default



RetryInterval1 default



Engines*



ExceptEnginesempty



ResultsTimeout10



BroadcastTimeout120 default: 2 x 60



MaxProcessThreads10



« Last Edit: November 11, 2007, 06:08:49 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #6 on: November 03, 2003, 03:33:00 PM »
[UserInterface]Enhanced User Interface (Professional Edition)



Version4.7 Major version information to be showed to the user.



Bitmapsimages



GradientFontTimes New RomanFont to be used on gradients



ErrorDlgTimeout10000



RespondTimeout30



EnableSkins0



RandomSkinChange0



StartWithSkin1Enable ActiveSkin (an 3rd party library used by avast for skinning). To disable skins (workaround mode), set it to 0.



ShowSplash1Corresponds to the settings Scroll session results in the Enhanced User Interface. It really doesn't have anything to do with splash screen when avast starts. To avoid the splash screen when starting avast!, you have to create your own shortcut and start the corresponding real application (ashSimple.exe or ashEnhcd.exe), instead of the splash (ashAvast.exe).



ShowSpecialTasks0Show special tasks (Explorer Extension, Screen-Saver, etc.) = 1; Do not show = 0



SplashTestMemory1* Do not test memory at startup = 0; Test memory at startup = 1



VPSWarn3628800 default: (6 * 7 * 24 * 60 * 60)



VPSOld5184000 default: (2 * 30 * 24 * 60 * 60)



UpdateLink/i_idt_112.htmlHomepage for updates



AutoDelete-1Automatically delete sessions after (days): -1 means no auto delete



ResidentBalloonShown1Specifies whether the baloon tooltip, displayed only once right after you install avast!, was already displayed or not. Not display (yet) = 0)



ShellExtensionFileName1 Displays the file name into the Context Menu of Windows Explorer. To hide the filename, use 0



VRDBBalloonShown1



ShellExtensionIcon1If 0, will turn off displaying of the icon next to the avast item in the Explorer context menu; To show = 1



ScrollResults1



BuyFormXXXX/i_idt_173.htmlWebform to buy avast!



HomePageXXXXhttp://www.avast.comHomepage of avast.



ProInfoXXXXhttp://www.avast.com/i_idt_152.htmlWebpage for Professional version info.



RegistrationFormXXXXhttp://www.avast.com/i_kat_207.php?lang=ENGWebform to register avast!



SkinsXXXXhttp://www.avast.com/i_kat_71.htmlSkins page.



SupportXXXXsupport@avast.comSupport email.



UserForumXXXXhttp://www.avast.com/forumavast! users forum.



VirusMessageemptyThis 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
Example: Something wrong dude!\n\navast (VPS %4) found virus %2 in file %1 (using task %3)\n\nDo something dude!!!



« Last Edit: November 11, 2007, 06:09:56 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #7 on: November 03, 2003, 03:33:44 PM »
[Simple]Simple User Inferface Options



ShowHelpCheckList0Shows the Help Check List at startup = 0; Hide = 1



SkinUseLayeredWindows512* Use translucent effects = 512; Do not use = 0



TimeOfLastScan0The value is the result of the time() function, i.e. representes the number of seconds elapsed since midnight, January 1st, 1970 until the last full scanning.



iNews_Days7Repeated value on [Splash] Section



ExactFontCharsetMatch0The value 1 means that the font will be replaced by a system one (Arial), with the correct charset. The characters will be displayed correctly – but the skin will look rather nasty, because the letters are way too big (that's why the custom – very narrow – font is included and the default value is set to 0. 8)



SpaceBetweenLines2



LineSpace2



NumberOfLines6



ToolTipTimeout550



FileRefreshTimer400



SkinUseLayeredWindows0



« Last Edit: November 11, 2007, 06:11:23 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #8 on: November 03, 2003, 03:34:29 PM »
[Quick]ashQuick Settings



EnableSkins0* Enable skins for Explorer Extension = 1; Disable = 0



InfectionExitApp0* Exit Explorer Extension when first infected file is found = 1; Do not exit = 0



ShowResults0* Show Results of Explorer Extension (scan will be ended with a scan statistics window) = 1; Do not show = 0



« Last Edit: November 11, 2007, 06:11:45 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #9 on: November 03, 2003, 03:35:15 PM »
[InetWD]Define which Internet connection do you have



Sleep40000 Default: 40000 (40 seconds)



UpdatePeriod360 Time (minutes) for update checking. Any value lower than 30 minutes is ignored (both in Home and Profesional versions), i.e., in this case the default value 2 hours (240 minutes) is used instead.



UseRAS0If you have a dial-up = 1; If you have a permanent connection (DSL) = 0



RASWaitSeconds15 Number of seconds to update after a dial-up connection is made.



AssumeAlwaysConnected0If you have a dial-up = 0; If you have a permanent connection (DSL) = 1. In Home version default is 0. In Network Edition the default is 1.



AlwaysConnectedWaitSeconds30Number of seconds to wait before attempting to update. The default is 30 but it may not be enough in some DSL systems. In this case, you can try increasing this e.g. to 60 (1 minute). That should be enough.



« Last Edit: July 17, 2009, 07:52:09 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #10 on: November 03, 2003, 03:36:07 PM »
[InetWDMirror]



PushDaemonEnabled1



PushDaemonPop3Serverempty



PushDaemonPop3UserNameempty



PushDaemonPop3Passwordempty



PushDaemonPop3Port110



PushDaemonDeleteMessages0



PushDaemonInterval3



« Last Edit: November 11, 2007, 06:12:32 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #11 on: November 03, 2003, 03:37:27 PM »
[MailScanner]Mail Protection



DefaultSmtpServeremptyDefault SMTP server (Outbound). Replace smtp.server.com by the address of your SMTP server. The values marked as Default are used only when the login name set in the e-mail program does not contain any server address. If the login name for the POP server is, for example, John, the Mail scanner will download the e-mail from the server given by DefaultPopServer value. However, if the login name is John#pop3.server.com, it will connect to the server pop3.server.com and it will download the mail for the user John. The server address (and/or port number) can be entered as a dotted IP address (192.168.1.1) or as a DNS name (oursmtp.domain.com:25).



DefaultPopServeremptyDefault POP server (Inbound).



DefaultImapServeremptyDefault IMAP server (only if you are using IMAP server for incoming mail).



DefaultNntpServeremptyDefault NNTP server.



PopListen127.0.0.1:110If you have more than one POP application, configure local host:port number. Write the port number behind the : (colon) character. You can use just the port number: PopListen=:110. The default port numbers are 25 for SMTP, 110 for POP3 and 143 for IMAP. Items SmtpListen, PopListen and ImapListen specify the network interface on which the Mail scanner will accept connections. If you have more than one network card adapter in your computer, you can specify just one needed for the Mail scanner.



SmtpListen127.0.0.1:25If you have more than one SMTP application, configure local host:port number



ImapListen127.0.0.1:143See SmtpListen above.



NntpListen127.0.0.1:119See SmtpListen above.



UseDefaultSmtp0If you have more than one SMTP server = 0, in that case, the address of the SMTP server is taken from the login name set in the e-mail program (the address is separated by the character #). You can use the value 0 if your e-mail program supports SMTP authentication or need to set a different login name for SMTP than for POP; if you use just one SMTP server = 1, i.e., all e-mails will be sent using the server given by the DefaultSmtpServer value. You can use the value 1 if your e-mail program does not support SMTP authentication (logging in) or you cannot set a different login name for SMTP than for POP



AutoSetProtection1Protect new created e-mail account = 1; Do not protect = 0



ShowTrayIcon0Shows an icon during e-mail process = 1; Hide icon = 0



UseAlternateRtfSyncing1 Another mechanism for inserting notes into the body of emails in Microsoft Outlook. RtfSyncing is concerned with Rich Text Format. In emails, the user typically save both Rich text (HTML) and plain form of message. When you modify one type of message, RTFSync is the right function to synchronize text of message to the second form. Disable = 0.



Log1Specifies the level of logging: disable log = 0; basic information (only initial loading info, errors and avast4.ini changes; default) = 1, all the communication data between the Mail scanner and mail servers = 20. Other values between 0 and 20 are not significant. Information is written into AswMaiSv.log file in Avast4\Data\LOG folder



PassThrough0Specifies the behavior of the Mail scanner in situations when the message cannot be tested: lets the messages pass through without testing = 1; does not allow any messages to pass through until the resident task is running or paused = 0; will not allow the mail program to connect to a mail Server = any other, different from 1 or 0 (you may encounter error messages from your e-mail program)



Trust127.0.0.1Specifies computers that are allowed to access the Mail scanner. Address can be defined by a dotted IP address or DNS name, separated by a comma. A group of IP addresses can be defined as well, in the form of ip-address/number-of-valid-bits. If the Trust item is left blank, it allows access from any address. If you set the Listen items in the form of: 127.0.0.1:Port, the Trust item has no effect, because only connections from the local address (127.0.0.1) are accepted



UseWSAAcceptempty



StartPopempty



StartSmtp1The Start items make it possible to define the protocols that the Mail scanner will be able to protect. Value 1 means that the daemon for the particular protocol will be started and it will occupy the port determined by the value Listen. Using the value 0, it is possible to turn off checking the protocols you do not use. The mail scanner listens permanently because it doesn't know when the mail program begins to download mail. Using the value 0 or a firewall block you will be able to stealth the ports too.



StartPopemptySee StartSmtp



StartImapemptySee StartSmtp



StartNntpemptySee StartSmtp



SmtpRedirectPort25 avast! bounds (monitors) to the specific(s) port(s) listed here to scan Outbound messages. It does not hook on every connection and heuristic detects if this is a SMTP communication or not. For any change to become effective, restart the Internet Mail provider. Although, it supports multiple ports separated by commas and without blank spaces, for instance: SmtpRedirectPort=25,26



PopRedirectPort110See SmtpRedirectPort above.



ImapRedirectPort143See SmtpRedirectPort above.



NntpRedirectPort143See SmtpRedirectPort above.



« Last Edit: November 11, 2007, 06:13:01 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #12 on: November 03, 2003, 03:38:20 PM »
[MailScanner]Mail Protection (continued)



PatchBase641There seems to be a bug in Outlook Express, in particular in its Base64 decoder. If a text is aligned (in Base64 format) using the '=' characters (as it should be) and a new piece of text is appended (e.g. when a note is inserted into the incomming message), Outlook Express ignores the alignment - so the inserted part merges" with the previous message body, corrupting it. Using the value 1 sets avast! to append email notes in a different way and could troubleshoot this.



MaxConnections20The default concurrent connection limit is 20 (for mail & news together). If the limit was exceeded, you would see the line Closing connection due to MaxConnections into aswMaiSv.log file. This limit exists not to save resources, but to prevent connection looping in strange configurations, so the user can increase it without worry to, for instance, 50. The value 0 disables the limit.



TranslateAddress0The mail scanner performs reverse lookup of the mail server IP address to be able to display DNS name. So could be a delay because the email client (program) could take a longer time to log into the mail server. It usually could take more time to negotiate a connection then to download and scan the incoming messages. To disable this feature and increase avast! scanning, set the value to 0.



AutoRedirect1This is the automatic mail scanning that makes the configuration process easier. In fact, when the user does nothing but installs avast!, all mail trafic will be protected. There shoud be no double scan if the user have a spam killer because localhost connections are not scanned, i.e, the ones between the email program and the spam killer, unless these connections were explicitly configured. To switch off automatic mail scan, set 0, this should restore the old behavior (version 4.1) of the Mail protection and Mail Protection Wizard. The value AutoRedirect=0 just stops the catching of all outgoing connections. It does not stop the mail scanning service and you should be able to use it normaly as in version 4.1. To check if the avast! Mail Scanner service is running click CTRL+ALT+DEL or by the command: net stop "avast! Mail Scanner"



IgnoreLocalhost1 This way avast! won't scan the connection to localhost. So whenever your mail client (or any application that scans and edits incoming mail on the local server) connects to 127.0.0.1 it should not be intercepted by avast!. This way, only connections leaving your computer would be scanned - that is when your local SMTP server pulls the mails from remote host.



IgnoreAddressemptyTo ingore scanning of a specific POP3 server (of one email account, for instance) the user should: In Windows 2k\XP: change this option to IgnoreAddress=<your smtp server IP address>, or switch off the transparent mail scanning alltogether and setup the other accounts through Internet Mail Wizard (AutoRedirect=0 option as above). In Windows 98\Me: the user should use the Mail Protection Wizard to remove the protection and then start the Wizard again, choose manual setup and select only the accounts that should be protected.



BurstTransferemptySet 1 to avoid speed degradation of outbound email scanning (troubleshooting or debugging mode). Normal user should let it empty. More info: http://forum.avast.com/index.php?topic=13678.0



SendInBlockingModeemptySet 1 to avoid speed degradation of outbound email scanning (troubleshooting or debugging mode). Normal user should let it empty. More info: http://forum.avast.com/index.php?topic=13678.0



IgnoreProcessemptyInternet Mail provider uses OptOut method of scanning, what means it scans mails from all processes except those listed here and those that are ignored internally. There is no way to include a process that is excluded in the VPS (internally).



Mail Scanner commentsTo use and configure more than one application to use the ports 25, 110 and 143 of your computer (for instance, a spam killer). If you have installed another program that uses these ports as well, it is necessary to change the port values for one of them. In the case of Mail scanner, you can do this by setting the items SmtpListen, PopListen and ImapListen. For example: SmtpListen=127.0.0.1:26, PopListen=127.0.0.1:111, ImapListen=127.0.0.1:144. Consequently, it is necessary to set the same port values in your mail program. If you wish the Mail scanner to cooperate with this another SMTP/POP3/IMAP - proxy/server-type program that is installed on your computer, it is necessary to properly set the items DefaultSmtpServer, DefaultPopServer and DefaultImapServer. For example, if you want to configure your system so that the Mail scanner "sits between" your mail program and a spam killer running on the same computer, configure items Listen as above and add: DefaultSmtpServer=127.0.0.1:25, DefaultPopServer=127.0.0.1:110.

Known problems: If your e-mail program does not support authentication (logging in) on SMTP server, or it cannot set a different login name for SMTP than for POP (e.g. Eudora), the Mail scanner will not be able to send your e-mails through multiple SMTP servers. In that case, use the UseDe-faultSmtp=1 setting; your e-mails will be sent through a single SMTP server only, just as in avast! version 4.0.235 and earlier. If the internet connection is too slow or the message being sent is too long, it is possible that the period your mail programs waits for the response, expires. A mail program that automatically disconnects after the times elapsed is not able to send such a message. This error will not be corrected, due to the characteristics of the SMTP protocol. It is necessary to set the interval to the highest possible value. When downloading a long message from a POP3 server, messages about timeout expiration should be eliminated. But it is still recommended to set this interval to the highest possible value, too. If your mail program downloads the message text and attachments separately from IMAP server (e.g. Eudora), no additional information will be put into the header or the text of the message. The checkbox "Insert note into clean message" on the "IMAP" page of the Internet Mail configuration will not work in that case. The Mail scanner does not support SSL (TLS) connections.



« Last Edit: November 11, 2007, 06:19:59 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #13 on: November 03, 2003, 03:39:09 PM »
[AAVM]



DefaultResTask*DefTask0



CheckFloppies0* Check floppy disks in drive when logging off = 1; Do not check = 0



CheckCDRom0* Check CD's in drive when logging off = 1; Do not check = 0



CheckRemovables0* Check other removable media when logging off = 1; Do not check = 0



SuppressUpdatedInfo1* Suppress the small blue info window (panel) in the notification area of your desktop on updating; Show it = 0



SuppressUpdateErrorInfo1* Suppress update error message (not the update itself) = 1; Show it = 0



SuppressExpirationWarning0



NeverShowInfo0



LogDiskChanges0



LogStart0



GradientStepMsg20



GradientStepInfo50



TagOpacity100Semi-transparent feature of avast! On-access scanner (if Internet Mail Provider is configured to "Show detailed info on performed action". The number represents a percentage: 100 is fully visible and 0 is fully transparent. A reboot may be required for the changes to take effect.



ShowTaskbarIcon1Show the main program system tray icon; Hide icon (suppress) = 0



ShowVirusTag1Avoid the displaying virus advice (yellow/red layer that pops up when a virus is found); Show it = 1. A reboot may be required for the changes to become effective.



AnimateIcon1Avoid the spinning of the system tray avast! icon.



GracefulRpcShutdown1With Windows 9x this option could troubleshoot the shutdown problems.



EventLogAnalysed1



ShowChestInMenu0Set it to 1 to show a Chest entry into the context menu of the system tray icon.



« Last Edit: November 19, 2007, 02:49:41 PM by Tech »
The best things in life are free.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67274
Re:Understanding avast4.ini file
« Reply #14 on: November 03, 2003, 03:40:04 PM »
[AAVM]AAVM section (continued)



Msg Group This group of values to change the colors of the info messages were built by Igor and will be supported only in the next build of avast (they are not supported right now (build 4.1.396), so we have to wait for the next program update). All the colors are entered as a number. If you have the color expressed as RGB, each component in the range 0..255, the formula for the color number is color = 65536*B + 256*G + R. In other words, the color is expressed as a decimal number whose hexadecimal representation is 00BBGGRR. Note: no checking is performed on the entered values, so using them is on your own risk. I believe that the worst that can happen is that you won't see anything (e.g. when using a black text on a black background), but I warned you. Unfortunatelly, it's not possible to test the colors anyhow (so you'll have to rely on your guesses). For the changes in the ini file to take effect, a reboot is required (or at least restart of ashDisp.exe on WinNT/2k/XP). If any of the values is not present in the ini file (which is the default), the default values are used by the pro-gram.



MaxMessages10 Number of lines of the messages.



ShowTime4Time (in seconds) of the duration of all the on-access scanner screen messages (email, News, Web Shield, Standard Shield, etc.)(



TagDontShowNextTime0



The values for the messages (e.g. the items displayed when Show detailed info on performed action) are described bellow:



MsgTitleBkgColor1emptyInitial color of the titlebar background



MsgTitleBkgColor2emptyFinal color of the titlebar background (a gradient is formed: initial color... final color)



MsgTitleTextColoremptyColor of the titlebar text



MsgInfoBkgColoremptyColor of the message background (simple info message)



MsgInfoTextColoremptyColor of the message text (simple info message)



MsgHighBkgColoremptyColor of the message background (high priority message)



MsgHighTextColoremptyColor of the message text (high priority message)



MsgFatalBkgColoremptyColor of the message background (fatal error)



MsgFatalTextColoremptyColor of the message text (fatal error)



MsgFontSizeemptyFont size for the usual messages



The values for the Info screens (e.g. the blue square saying that Program update is available) are described bellow:



InfoEmergencyTitleBkgColor1emptyInitial color of the background for emergency messages



InfoEmergencyTitleBkgColor2emptyFinal color of the background for emergency messages



InfoEmergencyTextColoremptyText color for emergency messages



InfoNormalTitleBkgColor1emptyInitial color of the background for normal messages



InfoNormalTitleBkgColor2emptyFinal color of the background for normal messages



InfoNormalTextColoremptyText color for normal messages



InfoTitleColoremptyTitle text color



InfoFontSizeemptyFont size for the Info screens



InfoTitleFontSizeemptyFont size for the Info screens titles

An example: to set the titlebar text color of the Show detailed info on performed action messages to green, use MsgTitleTextColor=65280.

When green is 000 255 000, the formula says color = 65536*B + 256*G + R = 65536*000 + 256*255 + 000 = 65280. So, for "pure colors" it's Red = 255, Green = 65280 and Blue = 16711680.

Igor's default avast settings: after some digging in avast! sourceshere are the default values of the AAVM message colors. When I checked them, I discovered some errors in the "high priority" and "fatal" messages (the colors were read from an incorrect key) - it will be fixed in the next version. Note that the default colors may change in the future (unlikely, I'd say, but possible).

MsgTitleBkgColor1: RGB(0, 84, 227)
MsgTitleBkgColor2: RGB(61, 149, 255)
MsgTitleTextColor: RGB(255, 255, 255)
MsgInfoBkgColor: GetSysColor(COLOR_INFOBK)
MsgInfoTextColor: GetSysColor(COLOR_INFOTEXT)
MsgHighBkgColor: RGB(0, 0, 0)
MsgHighTextColor: RGB(255, 255, 255)
MsgFatalBkgColor: RGB(255, 255, 0)
MsgFatalTextColor: RGB(255, 0, 0)

InfoEmergencyTitleBkgColor1: RGB(200, 0, 0)
InfoEmergencyTitleBkgColor2: RGB(255, 0, 0)
InfoEmergencyTextColor: RGB(255, 255, 140)
InfoNormalTitleBkgColor1: RGB(0, 84, 227)
InfoNormalTitleBkgColor2: RGB(61, 149, 255)
InfoNormalTextColor: RGB(160, 255, 255)
InfoTitleColor: RGB(255, 255, 255)


S.Z.Craftec’s example:

MsgTitleBkgColor1=10240 (dark green)
MsgTitleBkgColor2=65280 (green)
MsgTitleTextColor=16777215 (white)
MsgInfoBkgColor=11862015 (light yellow)
MsgInfoTextColor=0 (black)
MsgHighBkgColor=65535 (yellow)
MsgHighTextColor=0 (black)
MsgFatalBkgColor=255 (red)
MsgFatalTextColor=16777215 (white)

InfoEmergencyTitleBkgColor1=40 (dark red)
InfoEmergencyTitleBkgColor2=255 (red)
InfoEmergencyTextColor=16777215 (white)
InfoNormalTitleBkgColor1=10240 (dark green)
InfoNormalTitleBkgColor2=65280 (green)
InfoNormalTextColor=16777215 (white)
InfoTitleColor=65535 (yellow)

More details here.



« Last Edit: November 11, 2007, 06:15:13 PM by Tech »
The best things in life are free.