Is HmailServer for the likes of me?

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-25 13:30

Hi
I'm looking to change our current email system for our small office which is:

File server [FS] running Win 10 Pro 64bit
3 PC's / laptops running Win 10 Pro 32/64bit

Software: MailCopa [MC]
Server copy runs on FS which pull downs [POP3] emails from a number of places including business addresses hosted at 1&1, personal ones including yahoo. We don't have a website

Client copy runs on the PC's/Laptops. Retrieved emails are filed into the appropriate users inbox. The use of filters [rules] allows users to have multiple 'inboxes' to help manage business from personal etc

The PC's/laptops using MC read the emails retrieved and send emails. Users can see each others folders subject to access rights

MC was so easy to setup some 8 yrs ago but it is no longer a supported product hence looking to change. I tried to setup Hexamail which I believe would do the job but despite my IT experiences over many years from the late 70's I just can't get my head around it with regards setting it up.

Looking at HmailServer I get the sense it would replace MC and even host our business email address not that I'm looking to do that, certainly not at the moment. The question is will it?

Regards
Mark

palinka
Senior user
Senior user
Posts: 1747
Joined: 2017-09-12 17:57

Re: Is HmailServer for the likes of me?

Post by palinka » 2020-03-25 13:53

I never heard of mailcopa so I just did a quick search. It looks like a mail client that can be used in a shared environment. Hmailserver is a mail server.

Hmailserver can certainly do everything you mentioned, but you would still need a client to retrieve mail, like Thunderbird or outlook.

If I understood, you download mail from a single account at 1&1 (and other single accounts at yahoo, etc) and distribute mail to different users according to rules. Is that correct?

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-25 21:29

Hi
Thanks for the quick response

Initially emails sent to us land either at: 1&1 re business, Yahoo.co.uk etc
At this point we could access it via a web browser but that would be tedious!
MailCopa [MC] on our File server [FS] instead retrieves the emails using POP3 and in most cases deletes it from the host. Some are left there so our mobiles can view them too and our mobiles delete them after 14 days
Using MC on our PC's we can then view the emails sitting on the FS, reply, delete etc. Users can view all emails subject to access rights

I did take a look at Hexamail Server but even with some online support on to our system which got some of it working I couldn't work out the rest. Just got lost in all the settings domains, real and dummies etc. I watched during the online session, best part of 3 hours and I was barely any the wiser at the end of it as to how to finish it off. I've done some programming in my time, built networks including servers and cabling, installed Novel 2, 3 & 4 OS's and windows 2 thru 10 excl Vista and 8 but Hexa has lost me.

Maybe getting to old :wink:

I've used Thunderbird some years ago and currently use Outlook but not for emailing. I suspect though if we go down that route the users may not be able to folders other than there own but I'm definately guessing on that point :-)
Regards
Mark

palinka
Senior user
Senior user
Posts: 1747
Joined: 2017-09-12 17:57

Re: Is HmailServer for the likes of me?

Post by palinka » 2020-03-26 00:52

Sorry, but you didn't answer my question and it's kind of important to the topic. Are you retrieving 1&1 emails from a single account and then distributing the messages to individuals according to rules? Or does every user have his own account at 1&1?

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-26 15:38

Apolgies, each user has there on email address just as they do on Yahoo etc
Regards
Mark

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-26 17:56

SlapheadDiver wrote:
2020-03-25 21:29
I've done some programming in my time, built networks including servers and cabling, installed Novel 2, 3 & 4 OS's and windows 2 thru 10 excl Vista and 8 but Hexa has lost me.

Maybe getting to old :wink:
Oh well... They just finished writing RFC 821 when I started on my BSc.EE. There were no real "Software Engineer" degree back in those days but I do prefer reading a good manual opposed to a poorly written novel. Sadly the art of writing a really good and easily read manual has been lost over time somehow ;-)

I remember back in the day trolling through 20 shelf meters of manuals just because the bloody IBM4031 threw an execption on a core VM/CMS file and it turned out only to be a "slight" misconfiguration :roll: Now all you see is: "Google it!"
palinka wrote:
2020-03-25 13:53
I never heard of mailcopa so I just did a quick search. It looks like a mail client that can be used in a shared environment. Hmailserver is a mail server.

Hmailserver can certainly do everything you mentioned, but you would still need a client to retrieve mail, like Thunderbird or outlook.

If I understood, you download mail from a single account at 1&1 (and other single accounts at yahoo, etc) and distribute mail to different users according to rules. Is that correct?
MailCOPA do have a "server" function. Kommunication client <-> server is a proprietary protocol using TCP port 7491 and UDP ports 7491 and 7493.

http://www.mailcopa.com/manual/network_ ... ation.html
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-26 18:52

Hi Soren
MailCopa - Yes that's how I have it setup, it's been very good as whole over the year's although trying to migrate to the last version didn't work on the first attempt and reverted back to previous and before I got another chance at it they announced they wouldn't be supporting the product Spring 2020, hence looking for something else.

Sounds like you were well into IT whereas my experience has been thru necessity, self learning and if I screwed it up at least I hadn't paid an expert to do the same as has been my experience on some occassions. I've been at clients where they have an IT guy come in to fix an issue and I've just laughed inwardly as they fiddle and **** about trying this trying that hoping to hit on the answer LOL

Anyway hopefully HmailServer will be the solution and I can figure it out although at the present a lot of my time is advising and assisting clients on what the UK Government is doing to help businesses survive Covid 19.

Keep smiling :D
Mark

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-26 20:32

SlapheadDiver wrote:
2020-03-26 18:52
Hi Soren
MailCopa - Yes that's how I have it setup, it's been very good as whole over the year's although trying to migrate to the last version didn't work on the first attempt and reverted back to previous and before I got another chance at it they announced they wouldn't be supporting the product Spring 2020, hence looking for something else.

Sounds like you were well into IT whereas my experience has been thru necessity, self learning and if I screwed it up at least I hadn't paid an expert to do the same as has been my experience on some occassions. I've been at clients where they have an IT guy come in to fix an issue and I've just laughed inwardly as they fiddle and **** about trying this trying that hoping to hit on the answer LOL

Anyway hopefully HmailServer will be the solution and I can figure it out although at the present a lot of my time is advising and assisting clients on what the UK Government is doing to help businesses survive Covid 19.

Keep smiling :D
Mark
Since I abandoned the BSc.EE. back in the 80's I have mainly worked with communication from installing cable closets and the actual fiber connection over IVR and VoiceMail solutions and network protocol certifications and LAN/WAN end-to-end installation/configuration and ISP/ITSP billing/provisioning/mediation software.

My general litmus test is "how far can I get with this product before I have to read the manual" and for hMailServer ... Well, I have not read the entire manual yet since I joined 14 years ago :oops: Working with the script capabilities I hit some roadblocks a few years ago so I started looking at the code and made some changes, some public and others private 8)

I feel hMailServer is quite intuitive to install and configure but if used "publicly" it will require some background knowledge on DNS, SMTP and SSL certificates.
If all you want is to do is to collect emails from different sources, make them available to staff and NOT needing a custom domain then Bob's your uncle.

Contrary to your existing setup, collecting external (1&1 and/or yahoo.co.uk) mail is configured per user. Common folders are configured for the entire system and uses the IMAP protocol.

Taking external mail to the next level you can create a generic hMailServer user to collect ALL external mail and use logic or scripting to distribute amongst local hMailServer users (clients)

Anyways, there are users on this forum using hMailServer for a staff of 2-3 people and then there are other users here hosting many hundreds of domains with tens of thousand users.

hMailServer is using industry standard protocols that enable you to use virtually ANY non-proprietary email client software on virtually ANY operating system.

Try this...

- Comission an old laptop, windows XP and up
- create a gmail/yahoo/whatever mailbox
- install hMailServer 5.6.8 (32-bit)
- create a domain "acme.inc" and a user "wile.e.coyote"
- in hMailAdmin select domain "acme.inc", accounts, "wile.e.coyote", external account and fill in the details of the gmail/yahoo mailbox
- use the default Windows XP Outlook Express and configure new account on server "localhost", user "wile.e.coyote@acme.inc" and password "???"

This is the absolute basics and that should take you probably 20 minutes :mrgreen:
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-26 21:44

Thanks Soren
I'll give it a whirl and see how it and I get on, might be a week or three before I do due to current work load and challenges

Regarding manuals, the HmailServer ones look on a casual glance to be pretty comprehensive

Thank you for you help. I will post at least how I got on if nothing else :)

Kind regards
Mark

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-29 17:54

Hi
Well I felt an hour so off from working and installed hMailServer on our fileserver and set it up to retrieve one of my email addresses that I retrieve both on our network and mobile i.e. not deleted on retrieval by the network.

Domain: Mark-Personal
Account: Mark@Mark-Personal
External account: [taken from MailCopa]
Name: Mark@Slaphead
POP3: pop.mail.yahoo.com - 995
SSL/TLS
SlapHeadDiver@Yahoo.co.uk + password

Set logging to everything as nothing was showing in the Domain status as rec'd

Log shows:
"DEBUG" 8596 "2020-03-29 16:38:09.725" "Adding task ExternalFetchTask to work queue External fetch queue"
"DEBUG" 3372 "2020-03-29 16:38:09.729" "Executing task ExternalFetchTask in work queue External fetch queue"
"DEBUG" 3372 "2020-03-29 16:38:09.731" "Retrieving messages from external account Mark@SlapHead"
"DEBUG" 3372 "2020-03-29 16:38:09.732" "Creating session 11"
"TCPIP" 3372 "2020-03-29 16:38:09.733" "Connecting to 188.125.73.25:995..."
"DEBUG" 3536 "2020-03-29 16:38:09.733" "TCP connection started for session 11"
"DEBUG" 3536 "2020-03-29 16:38:09.733" "Performing SSL/TLS handshake for session 11. Verify certificate: True, Expected remote host name: pop.mail.yahoo.com"
"DEBUG" 9912 "2020-03-29 16:38:09.835" "Certificate verification failed for session 11. Expected host: pop.mail.yahoo.com, Windows error code: -2146885614, Windows error message: The revocation function was unable to check revocation for the certificate."
"TCPIP" 9912 "2020-03-29 16:38:09.836" "TCPConnection - TLS/SSL handshake failed. Session Id: 11, Remote IP: 188.125.73.25, Error code: 336134278, Message: certificate verify failed"
"DEBUG" 9912 "2020-03-29 16:38:09.837" "Ending session 11"
"DEBUG" 3372 "2020-03-29 16:38:09.837" "Completed retrieval of messages from external account."

Clearly something isn't right but not sure what :?

I've downloaded Thunderbird v68 but not yet installed, I thought first off can I get hMailServer retrieving. Little by Little. I takie it T/bird only needs installing on Clients?
Regards
Mark

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-29 18:41

hMailAdmin -> Settings -> Advanced -> SSL/TLS remove "V" from Verify remote server SSL/TLS certificates
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-29 19:57

Well I started to say .... then realised that the new data path was invalid, missed a level out! Doh!

I now have folders in the data directory. Need to get Thunderbird installed and setup

Thanks for your help and keep safe form Covid 19 where ever your are :D

Mark

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-29 19:58

Just realised .... Denmark
Not scoring high for observation :wink:

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-29 20:43

SlapheadDiver wrote:
2020-03-29 19:58
Just realised .... Denmark
Not scoring high for observation :wink:
Most people are going bonkers since all external socializing is closed down.
We worry for the people/family we know in the UK. Also wifeys niece is a pediatric nurse (and helicopter pilot) with a new house with her spouse (a CH-47 Chinook pilot) in Abingdon. She's got a job either way, but at what cost.

Me on the other hand... ;-)
Attachments
IMG_20190803_182909.jpg
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-29 21:04

We work from home so that bit is easy but we do visit clients but not at the moment.

Difficult times for all especial medics. A pity some idiots don't realise and are still socialising! Just read thread re party in Derby with 25 adults and kids. Unbelievable!!!!

Abingdon! Small world, we live near Lincoln and own a MGB roadster. I'm a committee member of MG on Tracks and our meetings are held at MGCC HQ in Abingdon!

Keep safe
Mark

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-30 14:19

Well I've installed Thunderbird and tried to set it up, maybe with some success not sure. I got a warning on my laptop re connections and found this in the server log

"DEBUG" 7176 "2020-03-30 12:37:24.063" "Creating session 42"
"TCPIP" 7176 "2020-03-30 12:37:24.064" "TCP - 192.168.1.127 connected to 192.168.1.121:143."
"DEBUG" 7176 "2020-03-30 12:37:24.068" "TCP connection started for session 40"
"DEBUG" 7176 "2020-03-30 12:37:24.464" "The read operation failed. Bytes transferred: 0 Remote IP: 192.168.1.127, Session: 40, Code: 2, Message: End of file"
"DEBUG" 7176 "2020-03-30 12:37:24.466" "Ending session 40"
"DEBUG" 7176 "2020-03-30 12:37:45.729" "Creating session 43"
"TCPIP" 7176 "2020-03-30 12:37:45.730" "TCP - 192.168.1.127 connected to 192.168.1.121:143."
"DEBUG" 7176 "2020-03-30 12:37:45.735" "TCP connection started for session 42"
"DEBUG" 6940 "2020-03-30 12:38:36.234" "Ending session 42"
"DEBUG" 7176 "2020-03-30 12:40:43.069" "Creating session 44"
"TCPIP" 7176 "2020-03-30 12:40:43.070" "TCP - 192.168.1.127 connected to 192.168.1.121:143."
"DEBUG" 7176 "2020-03-30 12:40:43.075" "Client connection from 192.168.1.127 was not accepted. Blocked either by IP range or by connection limit."
"DEBUG" 7176 "2020-03-30 12:40:43.076" "Ending session 43"

192.168.1.127 is my laptop. .1.121 is the Server where hMailServer is running

Prior to this I did have a problem during the T/bird setup when it asked for p/word. Not knowing which one it wanted I tried several until eventually it errored and know it does ask!

Maybe I shd uninstall T/bird and try agian?

Oh the fun :lol:

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-30 14:46

multiple login failures will ban your ip address, check your autoban settings.
A banned address will list in ipranges with a priority of 20 and an expiry date.

version 5.6.8 will ignore ban if priority > 20
version 5.7 iirc is 100... (somebody confirm?)
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

User avatar
mattg
Moderator
Moderator
Posts: 20640
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Is HmailServer for the likes of me?

Post by mattg » 2020-03-30 14:59

Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-30 16:23

Just to confirm I'm using 5.6.7-B2425

Ok, found Autoban which was and still enabled with 60min lapse time so I had another go loading T/bird, got p/word prompt again, still not sure one but I tried one and it failed so I stopped.

Despite any appearance to the contrary I have looked in the documentation and the forum but either I can't see for looking or I'm looking for the wrong thing :lol: but I do appreciate the response and speed of them too.

Is there any expamples of how to se the client up to access hMailServer?

Latest log extract:
"DEBUG" 7052 "2020-03-30 14:56:21.042" "Adding task ExternalFetchTask to work queue External fetch queue"
"DEBUG" 7156 "2020-03-30 14:56:21.043" "Executing task ExternalFetchTask in work queue External fetch queue"
"DEBUG" 7156 "2020-03-30 14:56:21.044" "Retrieving messages from external account Mark@SlapHead"
"DEBUG" 7156 "2020-03-30 14:56:21.046" "Creating session 60"
"TCPIP" 7156 "2020-03-30 14:56:21.080" "Connecting to 217.146.190.246:995..."
"DEBUG" 5244 "2020-03-30 14:56:21.081" "TCP connection started for session 60"
"DEBUG" 5244 "2020-03-30 14:56:21.082" "Performing SSL/TLS handshake for session 60. Verify certificate: False, Expected remote host name: pop.mail.yahoo.com"
"TCPIP" 5244 "2020-03-30 14:56:21.209" "TCPConnection - TLS/SSL handshake completed. Session Id: 60, Remote IP: 217.146.190.246, Version: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256, Bits: 128"
"POP3C" 6940 60 "2020-03-30 14:56:21.210" "217.146.190.246" "RECEIVED: +OK Hello from jpop-0.1"
"POP3C" 6940 60 "2020-03-30 14:56:21.210" "217.146.190.246" "SENT: USER SlapHeadDiver@Yahoo.co.uk"
"POP3C" 5244 60 "2020-03-30 14:56:21.240" "217.146.190.246" "RECEIVED: +OK Password required."
"POP3C" 5244 60 "2020-03-30 14:56:21.241" "217.146.190.246" "SENT: ***"
"POP3C" 132 60 "2020-03-30 14:56:21.497" "217.146.190.246" "RECEIVED: +OK Maildrop ready, (JPOP server ready)."
"POP3C" 132 60 "2020-03-30 14:56:21.498" "217.146.190.246" "SENT: UIDL"
"POP3C" 6940 60 "2020-03-30 14:56:21.881" "217.146.190.246" "RECEIVED: +OK 12 message(s) (1094399 octets).[nl]1 ACLNmxh/gncIXnD/OAOZ4DRYbAE[nl]2 AImIma4GFwZsXnJTqg2E8Dfw/34[nl]3 APeQB6c2d/JxXnJhVwImyKJVHb0[nl]4 AOO45ud7gmG8XnPFZQuJIIfA5LQ[nl]5 AA0ltVZzQrSrXns4dAXMYOBKxhY[nl]6 ADs3xyti75MiXntNigiykCA/XyU[nl]7 APvlgbtmCaQqXntfawZwcM3s3x8[nl]8 APGJ7Qg1RWzlXntgEwMRKP5oyCU[nl]9 AGi5sAMSu6mvXnucvQv6aEMaTU4[nl]10 APVwR6t6y3fNXnztDghQ6PgUJTU[nl]11 AHVxh8A/yud9Xn3QsQzkyE2iAUU[nl]12 ANEI6G0NMqtHXoC60QxzgK5S8tg[nl]."
"DEBUG" 6940 "2020-03-30 14:56:21.886" "POP3 External Account: Normal QUIT."
"POP3C" 6940 60 "2020-03-30 14:56:21.887" "217.146.190.246" "SENT: QUIT"
"POP3C" 7176 60 "2020-03-30 14:56:21.917" "217.146.190.246" "RECEIVED: +OK Server signing off."
"DEBUG" 7176 "2020-03-30 14:56:21.918" "Ending session 60"
"DEBUG" 7156 "2020-03-30 14:56:21.920" "Completed retrieval of messages from external account."
"DEBUG" 7052 "2020-03-30 15:11:56.498" "Adding task ExternalFetchTask to work queue External fetch queue"
"DEBUG" 7156 "2020-03-30 15:11:56.498" "Executing task ExternalFetchTask in work queue External fetch queue"
"DEBUG" 7156 "2020-03-30 15:11:56.499" "Retrieving messages from external account Mark@SlapHead"
"DEBUG" 7156 "2020-03-30 15:11:56.500" "Creating session 61"
"TCPIP" 7156 "2020-03-30 15:11:56.533" "Connecting to 217.146.190.238:995..."
"DEBUG" 7176 "2020-03-30 15:11:56.534" "TCP connection started for session 61"
"DEBUG" 7176 "2020-03-30 15:11:56.535" "Performing SSL/TLS handshake for session 61. Verify certificate: False, Expected remote host name: pop.mail.yahoo.com"
"TCPIP" 7176 "2020-03-30 15:11:56.647" "TCPConnection - TLS/SSL handshake completed. Session Id: 61, Remote IP: 217.146.190.238, Version: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256, Bits: 128"
"POP3C" 6940 61 "2020-03-30 15:11:56.648" "217.146.190.238" "RECEIVED: +OK Hello from jpop-0.1"
"POP3C" 6940 61 "2020-03-30 15:11:56.649" "217.146.190.238" "SENT: USER SlapHeadDiver@Yahoo.co.uk"
"POP3C" 132 61 "2020-03-30 15:11:56.678" "217.146.190.238" "RECEIVED: +OK Password required."
"POP3C" 132 61 "2020-03-30 15:11:56.679" "217.146.190.238" "SENT: ***"
"POP3C" 7176 61 "2020-03-30 15:11:56.922" "217.146.190.238" "RECEIVED: +OK Maildrop ready, (JPOP server ready)."
"POP3C" 7176 61 "2020-03-30 15:11:56.923" "217.146.190.238" "SENT: UIDL"
"POP3C" 6940 61 "2020-03-30 15:11:57.267" "217.146.190.238" "RECEIVED: +OK 12 message(s) (1094399 octets).[nl]1 ACLNmxh/gncIXnD/OAOZ4DRYbAE[nl]2 AImIma4GFwZsXnJTqg2E8Dfw/34[nl]3 APeQB6c2d/JxXnJhVwImyKJVHb0[nl]4 AOO45ud7gmG8XnPFZQuJIIfA5LQ[nl]5 AA0ltVZzQrSrXns4dAXMYOBKxhY[nl]6 ADs3xyti75MiXntNigiykCA/XyU[nl]7 APvlgbtmCaQqXntfawZwcM3s3x8[nl]8 APGJ7Qg1RWzlXntgEwMRKP5oyCU[nl]9 AGi5sAMSu6mvXnucvQv6aEMaTU4[nl]10 APVwR6t6y3fNXnztDghQ6PgUJTU[nl]11 AHVxh8A/yud9Xn3QsQzkyE2iAUU[nl]12 ANEI6G0NMqtHXoC60QxzgK5S8tg[nl]."
"DEBUG" 6940 "2020-03-30 15:11:57.271" "POP3 External Account: Normal QUIT."
"POP3C" 6940 61 "2020-03-30 15:11:57.273" "217.146.190.238" "SENT: QUIT"
"POP3C" 132 61 "2020-03-30 15:11:57.303" "217.146.190.238" "RECEIVED: +OK Server signing off."
"DEBUG" 132 "2020-03-30 15:11:57.305" "Ending session 61"
"DEBUG" 7156 "2020-03-30 15:11:57.306" "Completed retrieval of messages from external account."
"DEBUG" 7176 "2020-03-30 15:12:45.554" "Creating session 62"
"TCPIP" 7176 "2020-03-30 15:12:45.554" "TCP - 192.168.1.127 connected to 192.168.1.121:143."
"DEBUG" 7176 "2020-03-30 15:12:45.555" "TCP connection started for session 50"
"DEBUG" 132 "2020-03-30 15:13:10.467" "The read operation failed. Bytes transferred: 0 Remote IP: 192.168.1.127, Session: 50, Code: 2, Message: End of file"
"DEBUG" 132 "2020-03-30 15:13:10.469" "Ending session 50"
"DEBUG" 7176 "2020-03-30 15:14:24.069" "Creating session 63"
"TCPIP" 7176 "2020-03-30 15:14:24.070" "TCP - 192.168.1.127 connected to 192.168.1.121:143."
"DEBUG" 7176 "2020-03-30 15:14:24.075" "TCP connection started for session 62"
"DEBUG" 7176 "2020-03-30 15:14:27.833" "The read operation failed. Bytes transferred: 0 Remote IP: 192.168.1.127, Session: 62, Code: 2, Message: End of file"
"DEBUG" 7176 "2020-03-30 15:14:27.834" "Ending session 62"

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-30 18:15

SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-30 18:50

SorenR wrote:
2020-03-30 18:15
Can you download this and run it? https://www.hmailserver.com/forum/viewt ... 20&t=30914
EDIT... I seem to get an error when running this script. The script WILL complete however it seems my version 5.6.8-custom have an incompatibility in selecting/reading the "TLS 1.3" object. :roll:

Oh dear... I believe the script will need some groming to go easy on my OCD lite 8)
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-30 20:36

Seem to fine here i.e. no errors or warnings. My plain vanilla version ;-)

Code: Select all

2020-03-30   Hmailserver: 5.6.7-B2425

DOMAINS

   "Domain1.com" - AAx                            Enabled: True

SIGNATURE         LIMITS                       DKIM               ADVANCED
  Enabled: False   Max size:                0   Enabled: False   
                   Max message size:        0                      Plus addressing: False
                   Max size of accounts:    0                    
                                                                   Greylisting:     False

   "Domain2.com" - Maxxxxxxxxxxx                  Enabled: True

SIGNATURE         LIMITS                       DKIM               ADVANCED
  Enabled: False   Max size:                0   Enabled: False   
                   Max message size:        0                      Plus addressing: False
                   Max size of accounts:    0                    
                                                                   Greylisting:     False
-----------------------------------------------------------------------------------------------

IP RANGES

IP: 192.168.1.100 - 192.168.1.200     Priority: 15     Name: My computer

  Allow connections                         Other
     SMTP:   True                              Antispam :   True !! 'Spam tests' not enabled !!
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:   True                              SSL/TLS:    False

  Allow Deliveries from                     Require Authentication from
     Local To Local       -  True              Local To Local       - False
     Local To External    -  True              Local To External    - False
     External To Local    -  True              External To Local    - False
     External To External -  True              External To External -  True


IP: 0.0.0.0 - 255.255.255.255     Priority: 10     Name: Internet

  Allow connections                         Other
     SMTP:   True                              Antispam :   True !! 'Spam tests' not enabled !!
     POP3:   True                              Antivirus:   True !! ANTIVIRUS NOT CONFIGURED !!
     IMAP:   True                              SSL/TLS:    False

  Allow Deliveries from                     Require Authentication from
     Local To Local       -  True              Local To Local       -  True
     Local To External    -  True              Local To External    -  True
     External To Local    -  True              External To Local    - False
     External To External -  True              External To External -  True


------------------------------------------------------
AUTOBANNED Local Addresses:
    No entries

-----------------------------------------------------------------------------------------------

AUTOBAN
  Autoban Enabled: True       Max invalid logon attempts:      3
                              Minutes Before Reset:           30  (0.50 hours, 0.02 days)
                              Minutes to Autoban:             60  (1.00 hours, 0.04 days)

No problems were found in the IP range configuration.
-----------------------------------------------------------------------------------------------

INCOMING RELAYS
   No entries
-----------------------------------------------------------------------------------------------

MIRRORING         Disabled
-----------------------------------------------------------------------------------------------

PROTOCOLS

SMTP
GENERAL             DELIVERY                  RFC COMPLIANCE            ADVANCED
No. Connections:  0  No Retries:  4 Mins: 60   Plain Text:        False  Bind: 
                     Host: EXTERNAL.TLD        Empty sender:       True  Batch recipients:   100
Max Msg Size: 20480  Relay:-                   Incorrect endings:  True  Use STARTTLS:      True
                      EXTERNAL.TLD  (ok)       Disc. on invalid:  False  Delivered-To hdr: False
                     Port: 587                                           Loop limit:           5
                     Req Auth: True *User Entered*                       Recipient hosts:     15
                     Con. Sec.: SSL/TLS
  Routes:
     No routes defined.

POP3
  No. Connections: 0

IMAP
 GENERAL                   PUBLIC FOLDERS                    ADVANCED
  No. Connections:   0      Public folder name: #Public       IMAP sort:  True
                                                              IMAP Quota: True
                                                              IMAP Idle:  True
                                                              IMAP ACL:   True
                                                              Delim: "."
-----------------------------------------------------------------------------------------------

ANTISPAM

GENERAL                              SPAM TESTS              Score   SPAMASSASSIN
  Spam Mark:                  5       Use SPF:           False        Use Spamassassin:   False
  Add X-HmailServer-Spam:     True    Check HELO host:   False    
  Add X-HmailServer-Reason:   True    Check MX records:  False    
  Add X-HmailServer-Subject: False    Verify DKIM:       False    

  Spam delete threshold: 20         Maximum message size: 1024

DNSBL ENTRIES:
   No 'enabled' entries

SURBL ENTRIES:
   No 'enabled' entries

GREYLISTING:
  Greylisting:  False

WHITELISTING
   No entries
-----------------------------------------------------------------------------------------------

ANTIVIRUS:  No application configured.

  Block Attachments: False
-----------------------------------------------------------------------------------------------

SSL CERTIFICATES
   No entries
-----------------------------------------------------------------------------------------------

SSL/TLS
             SSL 3.0 :  False
             TLS 1.0 :   True
             TLS 1.1 :   True
             TLS 1.2 :   True                Verify Remote SSL/TLS Certs:  False
SslCipherList  :

ECDHE-RSA-AES128-GCM-SHA256     - ECDHE-ECDSA-AES128-GCM-SHA256   - ECDHE-RSA-AES256-GCM-SHA384     
ECDHE-ECDSA-AES256-GCM-SHA384   - DHE-RSA-AES128-GCM-SHA256       - DHE-DSS-AES128-GCM-SHA256       
kEDH+AESGCM                     - ECDHE-RSA-AES128-SHA256         - ECDHE-ECDSA-AES128-SHA256       
ECDHE-RSA-AES128-SHA            - ECDHE-ECDSA-AES128-SHA          - ECDHE-RSA-AES256-SHA384         
ECDHE-ECDSA-AES256-SHA384       - ECDHE-RSA-AES256-SHA            - ECDHE-ECDSA-AES256-SHA          
DHE-RSA-AES128-SHA256           - DHE-RSA-AES128-SHA              - DHE-DSS-AES128-SHA256           
DHE-RSA-AES256-SHA256           - DHE-DSS-AES256-SHA              - DHE-RSA-AES256-SHA              
AES128-GCM-SHA256               - AES256-GCM-SHA384               - ECDHE-RSA-RC4-SHA               
ECDHE-ECDSA-RC4-SHA             - AES128                          - AES256                          
RC4-SHA                         - HIGH                            - !aNULL                          
!eNULL                          - !EXPORT                         - !DES                            
!3DES                           - !MD5                            - !PSK;                           
-----------------------------------------------------------------------------------------------

TCPIP PORTS                                         Connection Sec
               0.0.0.0         / 25    / SMTP   -   None                
               0.0.0.0         / 110   / POP3   -   None                
               0.0.0.0         / 143   / IMAP   -   None                
               0.0.0.0         / 587   / SMTP   -   None                
-----------------------------------------------------------------------------------------------

LOGGING      Logging Enabled: True

  Paths:-
    Current:  C:\Program Files (x86)\hMailServer\Logs\hmailserver_2020-03-30.log
    Error:    C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2020-03-30.log
    Event:    C:\Program Files (x86)\hMailServer\Logs\hmailserver_events.log - Not present
    Awstats:  C:\Program Files (x86)\hMailServer\Logs\hmailserver_awstats.log
                        APPLICATION -    True
                        SMTP        -    True
                        POP3        -    True
                        IMAP        -      .
                        TCPIP       -    True
                        DEBUG       -    True
                        AWSTATS     -    True
-----------------------------------------------------------------------------------------------

SYSTEM TESTS

Database type: MSSQL Compact

IPv6 support is available in operating system.

ERROR: Backup directory has not been specified.

Relative message paths are stored in the database for all messages.

-----------------------------------------------------------------------------------------------

HMAILSERVER.INI

[Directories]
Program folder:  C:\Program Files (x86)\hMailServer\
Database folder: C:\Program Files (x86)\hMailServer\Database
Data folder:     N:\Internet\hMailServer\Data
Log folder:      C:\Program Files (x86)\hMailServer\Logs
Temp folder:     C:\Program Files (x86)\hMailServer\Temp
Event folder:    C:\Program Files (x86)\hMailServer\Events

[Database]
Type=              MSSQLCE
Username=           
PasswordEncryption=1
Port=              0
Server=             
Internal=          1
-----------------------------------------------------------------------------------------------

Generated by HMSSettingsDiagnostics v1.98, Hmailserver Forum.

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-30 22:44

I just need to ask...

Thunderbird is configured to use IMAP protocol on port 143? Yes?

hMailServer appear to pickup from Yahoo OK
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-30 23:28

Um, not sure I wouldn't be surprised not as imap is not something before!
If not I'll change see if it fixes it
Thanks

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-31 09:37

Yep IMAP port 143
It's still prompting for a p/word still not sure which one it's asking for
Regards
Mark

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-31 10:06

Thunderbird is prompting you for the account password of the mailbox you created in hMailServer. I presume that is the details you entered into Thunderbird.
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-31 11:01

Hi
Well I changed the password in hMailServer Admin [screenshot attached] then went back to T/bird and pasted the same p/word and it failed. So if this is the p/word it's asking for then something else is wrong but I can't spot it
Frustrating as I seem to be so close to getting it wroking or rather you getting it working
Thanks
Mark
Attachments
TBird logon fail.jpg
HMailServer user details.jpg

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-31 12:41

I don't use Thunderbird so I'm just as lost with it as you are... :oops:

However.... We can test directly on the server by using TELNET...

If by any chance TELNET is not available on Windows 10...
C:\>TELNET 192.168.1.121 143
'telnet' is not recognized as an internal or external command, operable program or batch file.
C:\>
Run this as administrator in a command prompt: dism /online /Enable-Feature /FeatureName:TelnetClient

The red lines are hMailServer responding - and yes, you have to type the letter "A" ;-)
C:\>TELNET 192.168.1.121 143

* OK IMAPrev1
A CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 CHILDREN QUOTA SORT ACL NAMESPACE RIGHTS=texk
A OK CAPABILITY completed

A LOGIN mark@mark-personal MyPassword
A OK LOGIN completed
A LIST ""INBOX""
A OK LIST completed
A LOGOUT
* BYE Have a nice day
A OK Logout completed


Ingen forbindelse til værten.

C:\>
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-31 13:08

Well that was short and sweet ;-)
Ran DISM
Ran Telnet .....
Response was "DNS Server not authorative for zone"

Well that told me!

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-31 13:55

SlapheadDiver wrote:
2020-03-31 13:08
Well that was short and sweet ;-)
Ran DISM
Ran Telnet .....
Response was "DNS Server not authorative for zone"

Well that told me!
Huh??

If "TELNET 192.168.1.121 143" result in "DNS Server not authorative for zone" then you have bigger problems :mrgreen:

Could your problem be related to this?

https://tech.megaluh.com/dns-server-not ... rompt-fix/
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

User avatar
mattg
Moderator
Moderator
Posts: 20640
Joined: 2007-06-14 05:12
Location: 'The Outback' Australia

Re: Is HmailServer for the likes of me?

Post by mattg » 2020-03-31 14:39

in account settings in thunderbird >> Server settings >> User name should be in the form 'Mark@mark-personal" not just Mark

Same in 'Outgoing Mail server'
Just 'cause I link to a page and say little else doesn't mean I am not being nice.
https://www.hmailserver.com/documentation

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-31 16:15

Made user name changes still no joy

Looks like I have more than I bargained for with the Telnet issue. Tried sfc /scannow and this failed to run too "Windows Resource Protection could not start the repair service" :roll:

Hopefully I can sort it without too much disruption work wise then see if it's fixed the T/bird issue

I'll let you know either way :cry:

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-31 16:48

SlapheadDiver wrote:
2020-03-31 16:15
Made user name changes still no joy

Looks like I have more than I bargained for with the Telnet issue. Tried sfc /scannow and this failed to run too "Windows Resource Protection could not start the repair service" :roll:

Hopefully I can sort it without too much disruption work wise then see if it's fixed the T/bird issue

I'll let you know either way :cry:
Did you "run as" administrator when you opened the command prompt?

I ran both the dism and sfc myself and sfc found only minor things...
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-31 17:09

Yes I ran as admin'r

What promised to be a better day is turning into a bad one, Server errors and currently grappling with conflicting statements on 2 differenet pages of HMRC.Gov re Cvoid 19! :evil:

Living life on the edge :mrgreen:

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-31 18:16

SlapheadDiver wrote:
2020-03-31 17:09
Yes I ran as admin'r

What promised to be a better day is turning into a bad one, Server errors and currently grappling with conflicting statements on 2 differenet pages of HMRC.Gov re Cvoid 19! :evil:

Living life on the edge :mrgreen:
Anti-Virus is up to date?? :mrgreen:
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-03-31 19:33

AVG Internet Suite - Full licence on all our computers and mobiles - Auto updates
But thanks anyway

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-03-31 23:12

SlapheadDiver wrote:
2020-03-30 16:23
Just to confirm I'm using 5.6.7-B2425

"DEBUG" 7176 "2020-03-30 15:14:24.075" "TCP connection started for session 62"
"DEBUG" 7176 "2020-03-30 15:14:27.833" "The read operation failed. Bytes transferred: 0 Remote IP: 192.168.1.127, Session: 62, Code: 2, Message: End of file"
"DEBUG" 7176 "2020-03-30 15:14:27.834" "Ending session 62"
Hmm... Similar problem to this?

https://www.hmailserver.com/forum/viewt ... 99#p219399

I wonder if AVG on the server is the problem?

Anyways, you need to exempt the hMailServer directory tree from real-time scan or you can potentially loose emails. Emails are stored in "\hMailServer\Data\<domain>\<account>\<id>\" as *.eml files. hMailServer support anti-virus scanning by running e.g. AVG with commandline parameters - or any other antivirus program.

I use AVAST Free edition (AVAST own AVG) on all clients and phones but NOT on the server. I do manual scans of the server and ClamAV is run by SpamAssassin on every incoming email. Server is a dedicated mailserver.
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-04-01 18:50

Thanks, I'll have a look at this and report back. I'm afraid today has just flown by on other stuff!

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-04-06 16:25

Hi
Finally got some time to look into this. Still can't find a solution that will enable sfc /scannow to run nor TelNet but .............

Following your suggestion re AntiVirus I turned AVG off on both laptop and server and T/bird loaded up on my laptop, no p/word requested [see below]

Gradually brought AVG back to full running on my laptop and still T/bird loading

Server - As soon as AVG is back online T/bird prompts for password so to my mind it can't get thru to the server.

Server, AVG - I've add HmailServer pgm and Data folders to the exceptions and add HS to the allowed Apps but T/bird is still asking for the P/word. Is it a Port setting that needs changing?
Regards
Mark

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-04-06 18:27

SlapheadDiver wrote:
2020-04-06 16:25
Hi
Finally got some time to look into this. Still can't find a solution that will enable sfc /scannow to run nor TelNet but .............

Following your suggestion re AntiVirus I turned AVG off on both laptop and server and T/bird loaded up on my laptop, no p/word requested [see below]

Gradually brought AVG back to full running on my laptop and still T/bird loading

Server - As soon as AVG is back online T/bird prompts for password so to my mind it can't get thru to the server.

Server, AVG - I've add HmailServer pgm and Data folders to the exceptions and add HS to the allowed Apps but T/bird is still asking for the P/word. Is it a Port setting that needs changing?
Regards
Mark
AVG is taking control of your protocols (if it works the same way as it's big sister AVAST) so you need to switch off the email shield in AVG (MAILSERVER ONLY!). In AVAST there are options to switch off POP3/IMAP scanning and SMTP scanning.
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-04-06 19:02

Um, disabled Email shield on the Server and T/bird still prompting for p/word ;-(

So near yet so far. Why is life so complicated these days? When I were a lad we used tin cans and piece of string LOL Simplys best :lol:

User avatar
SorenR
Senior user
Senior user
Posts: 3429
Joined: 2006-08-21 15:38
Location: Denmark

Re: Is HmailServer for the likes of me?

Post by SorenR » 2020-04-07 02:39

SlapheadDiver wrote:
2020-04-06 19:02
Um, disabled Email shield on the Server and T/bird still prompting for p/word ;-(

So near yet so far. Why is life so complicated these days? When I were a lad we used tin cans and piece of string LOL Simplys best :lol:
Well... Your "server" is a Windows 10 Pro Client OS and your Antivirus is a Client application - not a Server application - so it WILL require some level of persuasion to do what what we want it to do.

I have no idea how AVG compares to AVAST but with AVAST you go to "menu" - "settings" - "protection" - "core shields" - TAB: "Mail shield" and here you unselect "scan Inbound..." and "scan Outbound..." - or unselect "Enable Mail Shield" and choose "Stop indefinitely" when prompted.

Same location is a setting to add a signature to outbound messages...
SørenR.

“With age comes wisdom, but sometimes age comes alone.”
- Oscar Wilde

SlapheadDiver
New user
New user
Posts: 23
Joined: 2020-03-25 13:05

Re: Is HmailServer for the likes of me?

Post by SlapheadDiver » 2020-04-07 10:20

Hi
I've tried a number of setting changes on the server and client re AVG and it still not working. I think as you have suggested the issue is AVG, whether there is a solution or not remains to be seen. I'm going to contact AVG and see if they can help me. Either way I will report back to this thread if only to help possible others in the future
Thanks

Post Reply