====== SMD Daemon Support ====== The smd daemon monitors the [[http://www.scanmail-software.com|PTSFilter]] and performs regular maintenance and "house cleaning".\\ **Options:**\\ **do_refresh :** restarts the ptsfilter without performing maintenance. It has one option which is the time in minutes before it restarts the filter. example: do_refresh~10~ : restarts the filter every ten minutes.\\ **socket :** the socket you will use to communicate between sendmail and the ptsfilter. ex: socket~local:/usr/local/etc/ptsfilter/ptsfilter.sock~ NOTE: this must match exactly what you have in your sendmail.cf file\\ **num_of_processes :** the number of processes that your OS runs for the ptsfilter. ex: num_of_processes~1~ Note: this is OS specific.\\ **freshclam :** this updates the clamav virus database. this is done during maintenance cycle. ex: freshclam~/usr/local/bin/freshclam --quiet >/dev/null to> &1~\\ **elapsedtime :** the elapsed time is the time between the maintenance cycles. it is measured in minutes. ex: elapsedtime~360~ this would be 6 hours between maintenance cycles\\ **users_time :** during the maintenance cycle this will remove any files in the users directory that are older than the specified time. this is measured in hours. ex: users_time~24~\\ **temp_time :** during the maintenance cycle this will remove any files in the temp directory that are older than the specified time. this is measured in hours. ex: temp_time~24~\\ **rejects_time :** during the maintenance cycle this will remove any files in the rejects directory that are older than the specified time. this is measured in hours. ex: rejects_time~24~\\ **quarantine_time :** during the maintenance cycle this will remove any files in the quarantine directory that are older than the specified time. this is measured in hours. ex: quarantine_time~24~\\ **DomainList :** this removes the domain entries in the database table after the time specified. time is measured in days. ex: DomainList~7~\\ **tblgreylist :** this removes the greylist entries in the tblgreylist table after the time specified. time is measured in days. ex: tblgreylist~7~\\ **tblmessage :** this removes the domain entries in the tblmessage table after the time specified. time is measured in days. ex: tblmessage~7~\\ **sendmailinfo :** this removes the domain entries in the sendmailinfo table after the time specified. time is measured in days. ex: sendmailinfo~7~\\ **tblEmailFilter :** this removes the stats entries in the tblEmailFilter table after the time specified. time is measured in days. ex: tblEmailFilter~7~\\ **BlackList :** this removes the domain entries in the BlackList table after the time specified. time is measured in days. ex: BlackList~7~\\ **use_mysql :** no options, just tells the daemon that you are using a mysql database.\\ **repair_table :** this does a repair on each table in the ptsmail database. this takes one of three options: repair table with quick, extended or use_frm\\ **rebuild_access :** this will rebuild the sendmail access database during the maintenance cycle adding entries from the DomainList table in the ptsmail database. this takes one of three options: 0, 1, 2. 1 - puts ip address from the BlackList DomainList table. 2 - puts domain names from the DomainList table. 3 - does both.\\ **orderly_shutdown :** performs an orderly shutdown of the ptsfilter allowing all processes to finish before shutdown as opposed to killing the processes that are running.\\ ** will_do_clamupdate :** this updates the clamav virus database during the maintenance cycle. NOTE: if you use this, you must use the freshclam. no options.\\ For more information about our software please contact us: [[info@expertsinunix.com]] , or call our offices at 410-838-5100. [[http://www.skype.com|Skype]]: pts.support\\