Search found 20 matches

by screenman47
2020-05-25 16:14
Forum: Scripting
Topic: Search entire message text in the rule selection.
Replies: 7
Views: 2232

Search entire message text in the rule selection.

When I want to add a new entry to a rule I have only a few options as to where Hmail looks for the offending text. Is it possible to search the whole .eml source instead of making multiple entries to the rule. I know there is a "custom header field" box but how do I tell it to search everything.
by screenman47
2020-04-03 12:49
Forum: Scripting
Topic: Change subject with script
Replies: 9
Views: 3703

Re: Change subject with script

Okay. I have it working. First I emptied the eventhandlers file and just entered the script I wanted. Then I tested it and I still got the error for line 31. Strange since there was only 4 lines now in the script. So I looked at the Hmail app and saw a button which said "Reload" - not really noticed...
by screenman47
2020-04-02 21:08
Forum: Scripting
Topic: Change subject with script
Replies: 9
Views: 3703

Re: Change subject with script

No. I just edited the sample provided by adding the 4 lines.
by screenman47
2020-04-02 20:44
Forum: Scripting
Topic: Change subject with script
Replies: 9
Views: 3703

Re: Change subject with script

The first line of the script.
Sub..........
by screenman47
2020-04-02 20:04
Forum: Scripting
Topic: Change subject with script
Replies: 9
Views: 3703

Re: Change subject with script

Within a rule - Action - Run Function - SpamToSubject
by screenman47
2020-04-02 18:39
Forum: Scripting
Topic: Change subject with script
Replies: 9
Views: 3703

Change subject with script

When an email message matches a rule I want to run a script that changes the subject - just add "SPAM" actually. I saw an old thread which seemed to be what I wanted and tried it out. When I do I get an error on the first line. The O/S is Windows 2016 server. This is the script within eventhandlers....
by screenman47
2019-05-03 13:20
Forum: User contributed hMailServer 5 scripts
Topic: Batch Add Users and/or Aliases from CSV file
Replies: 28
Views: 28306

Re: Batch Add Users and/or Aliases from CSV file

The script above works perfectly for me and my users. I have automated their adding of aliases in my system. BUT is there a script for the other way round - DELETE - the aliases from the system once they have finished with them. I do not write VBS scripts so no experience there.
by screenman47
2019-01-10 00:55
Forum: General discussions
Topic: Invalid Password Error on Android not on Windows clients.
Replies: 10
Views: 2338

Re: Invalid Password Error on Android not on Windows clients.

Fortunately the user is a friend - and when we get together we drink toooo much. Just told my wife we're fixing Kevin's phone this weekend.
That pleased her !!!
by screenman47
2019-01-09 22:22
Forum: General discussions
Topic: Invalid Password Error on Android not on Windows clients.
Replies: 10
Views: 2338

Re: Invalid Password Error on Android not on Windows clients.

Thank you for your messages. I installed Wireshark - and once I had re-accustomed myself with the program I found out that the phone was sending a bad username. I entered "reservations@thedomain.com" and the phone sent "reservat" then some garble characters and then "ons" and the rest. When I entere...
by screenman47
2019-01-07 01:38
Forum: General discussions
Topic: Invalid Password Error on Android not on Windows clients.
Replies: 10
Views: 2338

Re: Invalid Password Error on Android not on Windows clients.

Thank you for the replies. I input the account details myself and the full username is entered. The log file shows the phone connecting as below. "POP3D" 2184 10145 "2019-01-06 17:02:06.425" "85.12.58.140" "RECEIVED: USER customer@hisdomain.com" "POP3D" 2184 10145 "2019-01-06 17:02:06.425" "85.12.58...
by screenman47
2019-01-06 19:27
Forum: General discussions
Topic: Invalid Password Error on Android not on Windows clients.
Replies: 10
Views: 2338

Invalid Password Error on Android not on Windows clients.

One of my users has an Android 7 phone and is having problems logging in the email server to collect his emails. I deleted the account on his phone and re-installed the email account with the correct settings and the password that he has used for 10 years with this system and a previous email server...
by screenman47
2018-11-30 01:51
Forum: General discussions
Topic: DataDirectory Synchronizer
Replies: 10
Views: 3078

Re: DataDirectory Synchronizer

So. There is no way of matching the database to the amount of emails physically in the folder. So this script - which has never worked for me - will not do this. Is there no way to just refresh the database so that it reports the number of emails that are actually there. If not what is the purpose o...
by screenman47
2018-11-29 19:03
Forum: General discussions
Topic: DataDirectory Synchronizer
Replies: 10
Views: 3078

Re: DataDirectory Synchronizer

We use the data folder within the main hmail server folder - and then of course the sub folders for each domain and user.
by screenman47
2018-11-28 22:55
Forum: General discussions
Topic: DataDirectory Synchronizer
Replies: 10
Views: 3078

Re: DataDirectory Synchronizer

Sorry - should have said - everyone on my server are very old school and use only POP3.
by screenman47
2018-11-28 22:24
Forum: General discussions
Topic: DataDirectory Synchronizer
Replies: 10
Views: 3078

DataDirectory Synchronizer

I have been using Hmail Server for roughly 2 years and this script has never worked for me. For example - one of my user accounts has 50 emails actually existing the data folder. When the user logs in to check for new messages the log file shows that he has 250 emails. I run the script and nothing c...
by screenman47
2018-05-14 21:04
Forum: General discussions
Topic: Backup or restore operation is already started
Replies: 2
Views: 2130

Re: Backup or restore operation is already started

It is working. I stopped and then re-started the .exe file after waiting for 30 seconds.
But I have rebooted the server several times in the last few weeks and the backup would not work.
The "Databackup" folder was already emptied.

Thank you.
by screenman47
2018-05-14 18:48
Forum: General discussions
Topic: Backup or restore operation is already started
Replies: 2
Views: 2130

Backup or restore operation is already started

No matter what I do I get this error message. Rebooted etc but nothing makes any difference. It worked once many months ago. The script in the Addons\Utilities folder itself is very simple so nothing in there to look at except for the password. Changed various settings back and forth but nothing mak...
by screenman47
2018-03-28 16:02
Forum: General discussions
Topic: Need to merge two Hmail servers following crash
Replies: 3
Views: 1417

Re: Need to merge two Hmail servers following crash

Sorry. I meant to update the Hmail database on the main server - not my email clients because the main server has emails on there from before the crash and the new vps has emails received since. There are some emails that the users have not downloaded since the crash on the main server. Am I suppose...
by screenman47
2018-03-28 15:17
Forum: General discussions
Topic: Need to merge two Hmail servers following crash
Replies: 3
Views: 1417

Need to merge two Hmail servers following crash

My main server crashed while I was travelling and was unable to access it in any way. So to save time I setup a cheap VPS system and installed Hmail from scratch - changed the dns entries and this has run perfectly for 10 days - and now that I am back from my travels I have re-started my main server...