Weird Task Scheduler error 0x1

If you’re a “poor soul” administering an Exchange server, then you probably know that it lacks some of the security features. I use the smart host solution at the front of the server to increase email security. However, I will explain the concept of smart host in another article.

Part of this solution is the Spam Assassin anti-spam engine. The key problem here was the scheduled task that is used to update the Spam Assassin’s definition files; it failed with error 0x1 and the reason was weird.

Continue reading

Advertisements

How to use special characters like letters in the batch files

For most of the users, the batch files are just a short script files for the automation of tasks. However, we can use those files for more than just running some program with additional parameters.

A few months ago I made a filter files for the XMail server using the batch files to process incoming e-mail message and conduct appropriate action after the test. One of the filters is the filter for non-existing mailboxes.

Continue reading

How to check the password expiration date?

One of the most frequent and urgent calls to the help desk is the locked account. The account lockout can occur due the different reasons. I demonstrate such situation in this post, where the user changed password in the system and not updated his own mobile phone.

Second most common reason for account lockout is the password expiration. In properly administrated systems all user’s password must expire after X amount of time. The best security practice is to change password on the regular intervals of 30 days. If this is too short for you, you can change your password on the intervals from 45 to 60 days.

Continue reading

Today’s date as a part of the file name in the batch file

Using current date as part of the file or a folder (the directory) name is very useful. We can use, for example, the dates to distinguish the log files by the days.

We can use the value of current date (and also time) in the batch files, whenever we generating new files and folders. The batch files can use special variable named DATE and which returns the current date in the local regional format. Continue reading