Here's a question for you: If you look in the _logs directory,
C:\Program Files\ArGo Software Design\ArGoSoft Mail Server .NET\_logs for example, when the service starts up, you should see the following entries when everything starts like it should:
[SYST XXXXXX 09-06-09 00:13:14] Resetting outbox
[SYST XXXXXX 09-06-09 00:13:14] Resetting POP/IMAP Before SMTP database
[SYST XXXXXX 09-06-09 00:13:15] Resetting lockout manager databases
[SYST XXXXXX 09-06-09 00:13:15] Removing expired records from the lockout manager database
[SYST XXXXXX 09-06-09 00:13:15] Removing old records from the address verification cache
[SYST XXXXXX 09-06-09 00:13:15] Removing expired records from DNS Cache
[SYST XXXXXX 09-06-09 00:28:13] Resetting outbox
[SYST XXXXXX 09-06-09 00:28:13] Resetting POP/IMAP Before SMTP database
[SYST XXXXXX 09-06-09 00:28:13] Resetting lockout manager databases
[SYST XXXXXX 09-06-09 00:28:13] Removing expired records from the lockout manager database
[SYST XXXXXX 09-06-09 00:28:13] Removing old records from the address verification cache
[SYST XXXXXX 09-06-09 00:28:13] Removing expired records from DNS Cache
[SYST XXXXXX 09-06-09 00:28:13] Removing expired records from autoresponder cache
[SYST XXXXXX 09-06-09 00:28:14] Removing expired records from greylisting database
[SYST XXXXXX 09-06-09 00:28:14] Starting the imap service at 70.89.127.76:143
[SYST XXXXXX 09-06-09 00:28:14] imap service started
[SYST XXXXXX 09-06-09 00:28:14] Starting the smtp service at 70.89.127.76:25
[SYST XXXXXX 09-06-09 00:28:14] smtp service started
[SYST XXXXXX 09-06-09 00:28:14] Starting the pop3 service at 70.89.127.76:110
[SYST XXXXXX 09-06-09 00:28:14] pop3 service started
[SYST XXXXXX 09-06-09 00:28:14] Starting the delivery service
[SYST XXXXXX 09-06-09 00:28:14] Delivery service started
[SYST XXXXXX 09-06-09 00:28:15] Remoting Server started. Listening on port 6060
[SYST XXXXXX 09-06-09 00:28:15] Connection monitor started. Interval is 30 minutes.
I found that if you're using anti spam tools and you see a lot of spam traffic, the DnsCache table will be slow to respond when the service starts up and cause the time out. The logs showed it stopping at:
[SYST XXXXXX 09-06-09 00:13:14] Resetting outbox
[SYST XXXXXX 09-06-09 00:13:14] Resetting POP/IMAP Before SMTP database
[SYST XXXXXX 09-06-09 00:13:15] Resetting lockout manager databases
[SYST XXXXXX 09-06-09 00:13:15] Removing expired records from the lockout manager database
[SYST XXXXXX 09-06-09 00:13:15] Removing old records from the address verification cache
[SYST XXXXXX 09-06-09 00:13:15] Removing expired records from DNS Cache
[SYST XXXXXX 09-06-09 00:28:13] Resetting outbox
[SYST XXXXXX 09-06-09 00:28:13] Resetting POP/IMAP Before SMTP database
[SYST XXXXXX 09-06-09 00:28:13] Resetting lockout manager databases
[SYST XXXXXX 09-06-09 00:28:13] Removing expired records from the lockout manager database
[SYST XXXXXX 09-06-09 00:28:13] Removing old records from the address verification cache
[SYST XXXXXX 09-06-09 00:28:13] Removing expired records from DNS Cache
I have run into this problem this problem twice now. The cause is pretty simple, the DnsCache table isn't indexed and it's not getting cleared out often enough.
To prevent this, I created a Scheduled Task in Windows to run everyday and clear out the cache. The scheduled task uses the following command line:
"c:\Program Files\Microsoft SQL Server\90\Tools\Binn\OSQL.EXE" -S .\SqlExpress -d MailServerData -E -Q "delete DnsCache Where Expires < GetDate()"
Note: This may not work quite as written as I have attached the MailServerData.mdf to my instance of SQL Server 2005 and this is not the default scenario when ArgoSoft Mail Server .Net is installed and if you attach the database to the SQL Server instance, you have to dettach the database when you upgrade.
"c:\Program Files\Microsoft SQL Server\90\Tools\Binn\OSQL.EXE" -S
.\SqlExpress -E -Q "sp_attach_db @dbname='MailServerData', @filename1='
', @filename2=''"
I hope this helps.
Thanks!
Rory