Search found 42 matches

by derelvis
2019-08-23 13:05
Forum: User contributed hMailServer 5 scripts
Topic: Automatic POP3 fetch with delay between each download
Replies: 0
Views: 545

Automatic POP3 fetch with delay between each download

As I recently had some trouble with handshake errors during download of external accounts via POP3, I managed to get rid of the problem by using a vbs script included in a task scheduler task. In my case the problem occurred because many pop3 fetches started at the same time and then ended up in abo...
by derelvis
2019-08-21 20:35
Forum: General discussions
Topic: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca
Replies: 16
Views: 867

Re: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca

jimimaseye wrote:
2019-08-21 20:08
Care to share the script? It will be useful for others.
Sure, I like too! Shall I do it directly here or better in the Scripting forum and post the link here as reference?
by derelvis
2019-08-21 19:28
Forum: General discussions
Topic: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca
Replies: 16
Views: 867

Re: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca

You cant't fix this Problem by changing or tweaking hMailServer or Windows settings. Your DSL signal cuts TCP Packets which are required to decode the Email message content. At this level, only fixing your DSL Problem will help. Or if its not DSL its your LAN cables or a switch which cripples hMail...
by derelvis
2019-08-20 18:40
Forum: General discussions
Topic: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca
Replies: 16
Views: 867

Re: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca

Yes, I understood. I ment it will get back to start all fetches at the same time when hms gets restarted. So it will only fix it for one day in my case. But anyway as I can now see it even does not. I adjusted all 18 accounts to different intervalls, some have 2 minutes, some 3, some 4 and some 5 mi...
by derelvis
2019-08-20 12:36
Forum: General discussions
Topic: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca
Replies: 16
Views: 867

Re: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca

Are you using 1&1 as Broadband DSL-Provider? If you are using a Fritzbox /or different DSL-Router, check your DSL-Sync / Noise reduction level. Restart your DSL-Router, update your Firmware and ping random ip addresses with -t against gmx.net and make sure there are no Timeouts. If there are Timeou...
by derelvis
2019-08-20 10:11
Forum: General discussions
Topic: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca
Replies: 16
Views: 867

Re: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca

Thanks to all of you for your answers and comments!! It really helps having more eyes on things like this :-) You mentioned, sometimes it works but sometimes not. Overall this is a clear indication there is something problematic going on with your Network, because you have Network Packet loss. This ...
by derelvis
2019-08-20 07:01
Forum: General discussions
Topic: TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca
Replies: 16
Views: 867

TCPConnection - TLS/SSL handshake failed. (...), Error code: 1, Message: stream trunca

Hi all, recently I got complaints about some mailboxes (all get fetched from external pop3 accounts) not receiving mails for hours (randomly for about 3 or 4, sometimes even 8 hours). After checking the logs I found that endeed some of the accounts fail in SSL/TLS handshaking and so don't connect an...
by derelvis
2019-08-19 17:28
Forum: General discussions
Topic: Status Tab Spam count
Replies: 16
Views: 2128

Re: Status Tab Spam count

Ok, maybe it is just like this: HMS will then apply its own further checks. If it finds any itself another (minimum of) 2 will be added internally (making 7). If it hits 8 with its tests it will simply be deleted without a trace. From here (the tutorial I used): https://www.hmailserver.com/forum/vie...
by derelvis
2019-08-18 09:41
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

Re: External POP3 Fetcher - DELE without RETR - crashing frequently

So as I can see in the other thread you now have successfully switched to 5.7.0. Was it some kind of configuration problem? Do you remember what fixed it?
by derelvis
2019-08-18 09:36
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 99
Views: 6324

Re: hMailServer 5.7

@app44: your're welcome :-) nice to hear

@mattg: Can confirm the part of failing mx query for pop.gmail.com in build 2469. I do not use gmail on our server so I did no further tests.
by derelvis
2019-08-17 16:11
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 99
Views: 6324

Re: hMailServer 5.7

Yes, from an external Exchange Server for several domains and from a mail provider for another domain.
by derelvis
2019-08-17 10:52
Forum: General discussions
Topic: Status Tab Spam count
Replies: 16
Views: 2128

Re: Status Tab Spam count

Everything except IMAP (but search in logfile for "rejected" gives 0 hits):

2019-08-17 10-31-52.jpg
Search for "rejected" says no hits
by derelvis
2019-08-17 08:34
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 99
Views: 6324

Re: hMailServer 5.7

I have merged this into master and also added it for 5.6.8 to give derelvis a chance to test it earlier (since he/she may not want to upgrade to 5.7 yet). I am creating new builds now which I'll run through the test suite to check that there's no regressions. Short update: using build 5.7.0-B2469 x...
by derelvis
2019-08-17 08:24
Forum: General discussions
Topic: Status Tab Spam count
Replies: 16
Views: 2128

Re: Status Tab Spam count

@martin Maybe you could shed some light on this? My SPAM and VIRUS counters started working at some time when database has been updated during HMS update. What I still don't understand is why I can't see any log entries like this: "APPLICATION" 3764 "2018-11-19 19:09:06.227" "hMailServer SpamProtect...
by derelvis
2019-08-15 22:23
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

Re: External POP3 Fetcher - DELE without RETR - crashing frequently - SOLVED

Server is running for about 12 hours now on version 5.7.0-B2469 without any single issue :!: :-) I had a very close look at the logfiles during this time period and all seems to be back to normal finally. Will keep an eye on it but so having a really good feeling I already mark the thread as solved....
by derelvis
2019-08-15 10:12
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

Re: External POP3 Fetcher - DELE without RETR - crashing frequently

Oh damn :?
Maybe because it was to early or I was too fast or I did not get the problem with this build or just because I use Team City for the first time :wink:
Sorry, backing up all again and installing build 2469 of 5.7.0 right now...
Thanks for the hint!! Will keep you updated.
by derelvis
2019-08-15 07:55
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

Re: External POP3 Fetcher - DELE without RETR - crashing frequently

Hi folks,
successfully switched to 5.7.0-B2468 now. But sadly after about 10 minutes again minidumps have been created and it keeps crashing.
Anyone interested in log entries or minidump(s)? ;-) :-(
Best regards
derelvis
by derelvis
2019-08-13 18:00
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 99
Views: 6324

Re: hMailServer 5.7

I have merged this into master and also added it for 5.6.8 to give derelvis a chance to test it earlier (since he/she may not want to upgrade to 5.7 yet). I am creating new builds now which I'll run through the test suite to check that there's no regressions. As already mentioned in the other threa...
by derelvis
2019-08-13 17:58
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

Re: External POP3 Fetcher - DELE without RETR - crashing frequently

Hey guys, sorry for the confusion! I am very confused too :? I switched to Dravions version (https://github.com/Dravion/hMailServer/releases/download/5.7.0.0/hMailServer-LTS-5.7.0-B2428-LibreSSL-x64.exe) at some time when trying to get rid of the error. Can't remember when and with which version I c...
by derelvis
2019-08-13 09:37
Forum: Development & alpha discussions
Topic: hMailServer 5.7
Replies: 99
Views: 6324

Re: hMailServer 5.7

RvdH wrote:
2019-08-13 08:28
2. Fix ExternalFetcher DELE when no RETR, pull pull #254
Thanks!!
by derelvis
2019-08-12 18:56
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

Re: External POP3 Fetcher - DELE without RETR - crashing frequently

Thanks very much to both of you! Sorry for having asked again but I was waiting for a very long time now (at least felt) and tried out several things on my own without success. And of course for the affected users it is really annoying to get old emails again and again every day ;-) I would really l...
by derelvis
2019-08-09 07:57
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

Re: External POP3 Fetcher - DELE without RETR - crashing frequently

Hi there,
any other hints on how to find the root cause or how to fix this problem?
Many thanks in advance for every response.
@martin: maybe it is just a simple oneliner like described here? https://github.com/hmailserver/hmailserver/issues/253
Best regards
Daniel
by derelvis
2019-05-25 18:52
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

Re: External POP3 Fetcher - DELE without RETR - crashing frequently

Sorry, no luck :( Set external pop3 fetcher to "delete after 30 days" (before it was "delete after 31 days") to get a result immediately and it just crashed again on the next try without new mails to fetch from pop3 server: "TCPIP" 85412 "2019-05-25 18:36:44.579" "TCPConnection - TLS/SSL handshake c...
by derelvis
2019-05-25 18:28
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

Re: External POP3 Fetcher - DELE without RETR - crashing frequently

Hi Dravion,

thank you for your reply and the hint. I downloaded and installed the LibreSSL x64 version and installed it (btw. it shows 5.7.0-B2429 in Status dialogue ;-) ).
I will check for errors and let you know.

Thanks again and best regards
by derelvis
2019-05-25 13:30
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

Re: External POP3 Fetcher - DELE without RETR - crashing frequently

@Dravion: It seems that there even already exists a fix for this issue: https://github.com/Dravion/hMailServer/issues/1 https://github.com/hmailserver/hmailserver/compare/master...sprintman:DELE_fix Any chance to get this solved in your version? I was not able to create a pull request from sprintman...
by derelvis
2019-04-29 19:31
Forum: Development & alpha discussions
Topic: External POP3 Fetcher - DELE without RETR - crashing frequently
Replies: 26
Views: 2099

External POP3 Fetcher - DELE without RETR - crashing frequently

Since version HMS 5.6.7-B2427 (x64) I have massive problems with refetching of old - already delivered emails - when fetcher tries to delete them during POP3fetch without getting new mails at the same time (like described here: https://www.hmailserver.com/forum/viewtopic.php?f=10&t=32493 ). And it c...
by derelvis
2019-03-13 17:56
Forum: General discussions
Topic: Error download mail external pop
Replies: 37
Views: 4370

Re: Error download mail external pop

Dravion wrote:
2019-03-10 16:01
Can you access the same Inbox via Imap without Errors?
Sorry, but no. I only have POP3 access to this mailbox and webmail which seems to be ok.
by derelvis
2019-03-10 15:31
Forum: General discussions
Topic: Status Tab Spam count
Replies: 16
Views: 2128

Re: Status Tab Spam count

I wanted to share news on this: It seems to have been fixed during update from HMS 5.6.7-B2425 to HMS 5.6.7-B2427 (x64) as it asked for a database update from version 5601 to 5700. After that I saw the SPAM counter working for the first time. Maybe some field or something else was missing in my data...
by derelvis
2019-03-10 15:25
Forum: General discussions
Topic: Error download mail external pop
Replies: 37
Views: 4370

Re: Error download mail external pop

Hi there, switched to HMS version 5.6.7-B2427 (x64) this weekend because of bad aloc errors when using 5.6.7-B2425 but check of memtest and chkdsk where ok. In addition I also switched from MSSQL CE to MSSQL Expr. 2014. No I am seeing this kind of errors here too very frequently and sometimes creati...
by derelvis
2019-01-14 00:17
Forum: General discussions
Topic: HMS behind Exchange server - no mails from specific domain
Replies: 12
Views: 1657

Re: HMS behind Exchange server - no mails from specific domain

Done. Exact same result.
Only new thing I found was that 4 "undelivered mail returned to sender" (because of mail size exceeded) mails from the exchange domain where fetched in the meantime, but again nothing else from it.
by derelvis
2019-01-13 22:32
Forum: General discussions
Topic: HMS behind Exchange server - no mails from specific domain
Replies: 12
Views: 1657

Re: HMS behind Exchange server - no mails from specific domain

Yes, already tried this. All mails get downloaded newly again but again without any of the ones sended from the problematic exchange domain. Did not yet try the second proposal because I fear that will again end up in hundreds of duplicate unread emails I will then have to cleanup again. No rules wi...
by derelvis
2019-01-13 16:27
Forum: General discussions
Topic: HMS behind Exchange server - no mails from specific domain
Replies: 12
Views: 1657

Re: HMS behind Exchange server - no mails from specific domain

domain1: hosted on exchange (MX record) and on hms domain2: hosted on 1und1.de (MX record) and on hms domain3: hosted on exchange (MX record) and on hms domain4: hosted on exchange (MX record) and on hms domain5: hosted on exchange (MX record) and on hms All of the user mailboxes within the domains(...
by derelvis
2019-01-12 18:32
Forum: General discussions
Topic: HMS behind Exchange server - no mails from specific domain
Replies: 12
Views: 1657

Re: HMS behind Exchange server - no mails from specific domain

Hi Jimimaseye, thanks for your reply. Here comes the log. "Domain1.com" ist the domain where it happens when the account user@Domain1.com fetches from problematic-exchange-domain[dot]de (91.xxx.xx.7). 2019-01-12 Hmailserver: 5.6.7-B2425 DOMAINS "Domain1.com" - asxxxxxxxxxxxxxxxxxx.de Enabled: True S...
by derelvis
2019-01-12 10:30
Forum: General discussions
Topic: HMS behind Exchange server - no mails from specific domain
Replies: 12
Views: 1657

Re: HMS behind Exchange server - no mails from specific domain

Hi Dravion, thanks for your reply. As I have no access to the external Exchange server I am not able to do that myself and they don't grant me access to the logs :-( Are imap ports really needed to be open on exchange side? I mean it is only possible to choose type pop3 within hms creating a new ext...
by derelvis
2019-01-08 01:48
Forum: General discussions
Topic: HMS behind Exchange server - no mails from specific domain
Replies: 12
Views: 1657

Re: HMS behind Exchange server - no mails from specific domain

Hi mattg, thank you very much for your reply! Yes, you are right. That's quite what I thought too. What I did now is to setup the exact same pop account like in hms in thunderbird and despite my expectation the missing emails get correctly delivered from exchange there. I then deleted the external p...
by derelvis
2019-01-07 16:07
Forum: General discussions
Topic: HMS behind Exchange server - no mails from specific domain
Replies: 12
Views: 1657

HMS behind Exchange server - no mails from specific domain

Hi there, I have a strange problem with our HMS setup. We receive and send mails in hms through an external Exchange server where our domain is hosted. clients <--- imap/smtp ---> hms (domain2.de) <--- pop3/stmp ---> exchange (domain1.de, domain2.de) When someone sends mails from another domain also...
by derelvis
2018-11-20 17:10
Forum: General discussions
Topic: Status Tab Spam count
Replies: 16
Views: 2128

Re: Status Tab Spam count

First of all, thanks for the hint of activation the application log in addition to debug log and looking for reason "rejected" or "deleted". So actually my status tab shows: Server up since: 2018-11-18 15:23:47 Processed messages: 489 Viruses detected: 1 Spam messages: 0 Looking into the logs does n...
by derelvis
2018-11-19 22:10
Forum: General discussions
Topic: Status Tab Spam count
Replies: 16
Views: 2128

Re: Status Tab Spam count

Ok, so finaly at least the Virus counter got hit the first time about an hour ago ;-)
by derelvis
2018-11-19 20:07
Forum: General discussions
Topic: Status Tab Spam count
Replies: 16
Views: 2128

Re: Status Tab Spam count

Ok, so maybe I missed that part that SA score is not used there. But a HMS score of 7 should be counted, right? And I also tested with "use SA score" checked and newer so the counter hitting... I thought that when HMS sees a message as Spam (threshold 5) it gets marked with [SPAM] and should increas...
by derelvis
2018-11-19 19:33
Forum: General discussions
Topic: Status Tab Spam count
Replies: 16
Views: 2128

Status Tab Spam count

Hi there, first of all many thanks for the great work here in the forum. There is so much usefull information and help in here. As I just set up my Spamassassin, sanesecurity and clamav combination from the tutorials (mostly by the examples of jimimaseye) and nearly everythings works like a charme I...