> I recently noticed that I apparently had left the session logging for my mercury32 STMP system on, and that it was writing huge (up to
> 500MB) session logs. I decided to turn it off and disabled session logging both for MERCURYS and MERCURYE. Since then, no new files are
> being created in the c:\MERCURY\SESSION\MERCURYE directory, but the server continues to create huge log files in
> c:\MERCURY\SESSION\MERCURYS. I've restarted the mercury task and the whole machine, but it keeps on logging.
This is probably the MercuryS log. Have you tried making a daily, weekly or monthly log? You can then delete the old logs when you no longer need them.
General logging is supported by MercuryS (the SMTP server), MercuryP (the POP3 server), MercuryC (the SMTP relay client), MercuryE (the full-delivery SMTP client), MercuryI (the IMAP4 server) and MercuryH (the PH Directory Services server). Each of these modules can be given a filename for a general log file: they will create this file as required and will write a single-line record describing each connection they process. Each module's general log file has a regular format that can be parsed by software tools to generate statistics and reporting. To turn general logging off, enter a blank filename. You can change the name of the general log file any time you wish in order to start a new log file. You must not attempt to use the same filename for the logging output of two different modules - this will result in improper behaviour and may result in Mercury crashing.
Special naming options for log files: Mercury allows you to use certain special characters in the names you give for log files: these special characters are replaced by Mercury each time it needs to open the log file, allowing you to "build" a filename based on the time and date. This is particularly useful for making log files "roll over" periodically. The special characters you can use in log file names are:
~Y The year, expressed as 2 digits
~M The month, expressed as 2 digits
~D The day of the month (1..31), expressed as 2 digits
~W The week of the year, starting from 0.
Example: to create a logfile for each week of the year, you might enter a path like this:
C:\MERCURY\LOGS\MERC~Y~W.LOG
> I recently noticed that I apparently had left the session logging for my mercury32 STMP system on, and that it was writing huge (up to
> 500MB) session logs.  I decided to turn it off and disabled session logging both for MERCURYS and MERCURYE. Since then, no new files are
> being created in the c:\MERCURY\SESSION\MERCURYE directory, but the server continues to create huge log files in
> c:\MERCURY\SESSION\MERCURYS. I've restarted the mercury task and the whole machine, but it keeps on logging.
This is probably the MercuryS log.  Have you tried making a daily, weekly or monthly log?  You can then delete the old logs when you no longer need them.
General logging is supported by MercuryS (the SMTP server), MercuryP (the POP3 server), MercuryC (the SMTP relay client), MercuryE (the full-delivery SMTP client), MercuryI (the IMAP4 server) and MercuryH (the PH Directory Services server). Each of these modules can be given a filename for a general log file: they will create this file as required and will write a single-line record describing each connection they process. Each module's general log file has a regular format that can be parsed by software tools to generate statistics and reporting. To turn general logging off, enter a blank filename. You can change the name of the general log file any time you wish in order to start a new log file. You must not attempt to use the same filename for the logging output of two different modules - this will result in improper behaviour and may result in Mercury crashing.
Special naming options for log files:  Mercury allows you to use certain special characters in the names you give for log files: these special characters are replaced by Mercury each time it needs to open the log file, allowing you to "build" a filename based on the time and date. This is particularly useful for making log files "roll over" periodically. The special characters you can use in log file names are:
    ~Y    The year, expressed as 2 digits
    ~M    The month, expressed as 2 digits
~D    The day of the month (1..31), expressed as 2 digits
    ~W    The week of the year, starting from 0.
Example: to create a logfile for each week of the year, you might enter a path like this:
    C:\MERCURY\LOGS\MERC~Y~W.LOG