Can't get it to work

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
DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Can't get it to work

Post by DJ1TJOO » 2020-04-05 15:22

Hello,

I'm new to hmailserver and I have a windows server 2016 and a domainname. I wanted to get a email address for my domain: info@domain.

I set it up and the server is regestring all the message from a external email address and it says it was recived how ever I never see it in the inbox of my info@domain. Also I'm not able to send emails the server is not reciving it at all so maby it can be the client but I don't know what I did work if that is the case.

diagnostics:
Test: Collect server details
hMailServer version: hMailServer 5.6.7-B2425
Database type: MySQL

Test: Test IPv6
IPv6 support is available in operating system.

Test: Test outbound port
SMTP relayer not in use. Attempting mail.hmailserver.com:25...
Trying to connect to host mail.hmailserver.com...
Trying to connect to TCP/IP address 5.189.183.138 on port 25.
Received: 220 mail.hmailserver.com ESMTP.
Connected successfully.

Test: Test backup directory
ERROR: Backup directory has not been specified.

Test: Test MX records
Trying to resolve MX records for thomasbrants.nl...
Host name found: smtp.thomasbrants.nl

Test: Test local connect
Connecting to TCP/IP address in MX records for local domain domain thomasbrants.nl...
Trying to connect to host smtp.thomasbrants.nl...
Trying to connect to TCP/IP address 85.215.81.231 on port 25.
ERROR: It was not possible to connect.
ERROR: Was not able to open connection.

Test: Test message file locations
Relative message paths are stored in the database for all messages.

Test: Test IP range configuration
No problems were found in the IP range configuration.

Domain setup:

a-record: points to ip of my server where hmailserver is located
mx-record: smtp.domain
txt-record: t=s,k=rsa,p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCbEv2q9cWe2Efdc2prHrzdnhGS g+Q5mdhn32AGHdJJjHMUyrQoiHnCy4V4A1nVcOF6vcrJMlZKIHsmVpqqUjH0Gwvn vp0fuF4Ingzt1NLEKg7vKuTcqIKTIa6cToH6zfRr83dNpe/j1+YX3Toxtr+6terv RrLweRf+rl8HWE/DeQIDAQAB,v=DKIM1
cname-record: smtp=thomasbrants.nl.

User avatar
johang
Senior user
Senior user
Posts: 1128
Joined: 2008-09-01 09:20

Re: Can't get it to work

Post by johang » 2020-04-05 18:20

so how have you configured your firewall on your windows 2016 server ?
lets cheat darwin out of his legacy, find a cure for cancer...

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-05 18:37

My firewall is setup to open port 25 for in and out and I have a lot of other ports set open

User avatar
johang
Senior user
Senior user
Posts: 1128
Joined: 2008-09-01 09:20

Re: Can't get it to work

Post by johang » 2020-04-05 18:48

run this and post results please
viewtopic.php?f=20&t=30914

Have you set up your ip-ranges properly in hmailserver ?
( like one for internet allowing to reach your server )


if you try this site ..
https://mxtoolbox.com/SuperTool.aspx?ac ... pVersion=1#
you can click the link "SMTP test" link to check if you server is accesible from the internet via port 25


https://mxtoolbox.com/domain/thomasbran ... ndmonitors
you already got listed with Spamhaus and CBL ?? i would try get out of those as well ..
lets cheat darwin out of his legacy, find a cure for cancer...

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-05 19:19

Code: Select all

2020-04-05   Hmailserver: 5.6.7-B2425

DOMAINS

   "Domain1.com" - thxxxxxxxxxx.nl                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: 127.0.0.1 - 127.0.0.1     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


   !!  Warning:  DEFAULT DOMAIN is SET  !! - "EXTERNAL.TLD"
------------------------------------------------------
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
                     (none entered)            Disc. on invalid:  False  Delivered-To hdr: False
                                                                         Loop limit:           5
                                                                         Recipient hosts:     15
  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:   True
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: False

  Paths:-
    Error:    C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2020-04-05.log
    Event:    C:\Program Files (x86)\hMailServer\Logs\hmailserver_events.log - Not present
    Awstats:  C:\Program Files (x86)\hMailServer\Logs\hmailserver_awstats.log
-----------------------------------------------------------------------------------------------

SYSTEM TESTS

Database type: MySQL

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: 
Data folder:     C:\Program Files (x86)\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=              MYSQL
Username=          root
PasswordEncryption=1
Port=              3306
Server=            localhost
Internal=          0
-----------------------------------------------------------------------------------------------

And how do I get whitelisted? I don't realy understand how that happend? And what does it exaclty mean?

Generated by HMSSettingsDiagnostics v1.99, Hmailserver Forum.

User avatar
johang
Senior user
Senior user
Posts: 1128
Joined: 2008-09-01 09:20

Re: Can't get it to work

Post by johang » 2020-04-05 19:35

config looks good..
you have internet range configured and on that part it says to "accept traffic"
you have smtp configured on port 25 within hmailserver ..


BUT
Test: Test local connect
Connecting to TCP/IP address in MX records for local domain domain thomasbrants.nl...
Trying to connect to host smtp.thomasbrants.nl...
Trying to connect to TCP/IP address 85.215.81.231 on port 25.
ERROR: It was not possible to connect.
ERROR: Was not able to open connection.
it is your server .. saying that your server on 85.215.81.231 is not responding on port 25 ...
reboot ?
try again ..


Do you have another service in your win 2016 server trying to steal port 25 ? ( local mailservice of some sort )
lets cheat darwin out of his legacy, find a cure for cancer...

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-05 19:45

Test: Collect server details
hMailServer version: hMailServer 5.6.7-B2425
Database type: MySQL

Test: Test IPv6
IPv6 support is available in operating system.

Test: Test outbound port
SMTP relayer not in use. Attempting mail.hmailserver.com:25...
Trying to connect to host mail.hmailserver.com...
Trying to connect to TCP/IP address 5.189.183.138 on port 25.
Received: 220 mail.hmailserver.com ESMTP.
Connected successfully.

Test: Test backup directory
ERROR: Backup directory has not been specified.

Test: Test MX records
Trying to resolve MX records for thomasbrants.nl...
Host name found: smtp.thomasbrants.nl

Test: Test local connect
Connecting to TCP/IP address in MX records for local domain domain thomasbrants.nl...
Trying to connect to host smtp.thomasbrants.nl...
Trying to connect to TCP/IP address 85.215.81.231 on port 25.
Received: 220 smtp.thomasbrants.nl ESMTP.
Connected successfully.

Test: Test message file locations
Relative message paths are stored in the database for all messages.

Test: Test IP range configuration
No problems were found in the IP range configuration.

good now right?

User avatar
johang
Senior user
Senior user
Posts: 1128
Joined: 2008-09-01 09:20

Re: Can't get it to work

Post by johang » 2020-04-05 19:50

yes looks ok now ..

what was the problem ?


CBL - You have contracted a Virus or Malware that is operating a Botnet, either on your email server on a workstation behind the NAT - Continual delisting requests without eliminating the virus will result in permanent blacklisting;
go here and read .. https://www.spamhaus.org/
lets cheat darwin out of his legacy, find a cure for cancer...

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-05 20:03

I just rebooted, but I still can't send or receive emails. The mysql database does register the messages in the hm_messages and the delivery queue saw the messages come by. I still have not received any email in my external email and not the email address I setup up with hmailserver

User avatar
johang
Senior user
Senior user
Posts: 1128
Joined: 2008-09-01 09:20

Re: Can't get it to work

Post by johang » 2020-04-05 20:22

go into logging see to it that you start smtp logging

can you mail locally inside your server?
try to mail from hotmail gmail ?

.. what is your smtp log saying





FAIL
Acceptance of postmaster Mailserver rejected mail to postmaster. Mailservers are required by RFC822 6.3, RFC1123 5.2.7, and RFC2821 4.5.1 to have a valid postmaster address that is accepting mail. The Mailserver provided is:

85.215.81.231 | unexpected response to [RCPT TO: <postmaster@thomasbrants.nl>] | 550 Unknown user
FAIL
Acceptance of abuse Mailserver rejected mail to abuse. Mailservers are required by RFC2142 Section 2 to have a valid abuse address that is accepting mail.

85.215.81.231 | unexpected response to [RCPT TO: <abuse@thomasbrants.nl>] | 550 Unknown user
lets cheat darwin out of his legacy, find a cure for cancer...

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-05 20:29

what do you mean by mauling localy inside the server?
server sendout?

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-05 20:33

Here is my log(I cleared it and send 1 message from my gmail to info@domain and info@domain has also a forwarding to another external email):
"TCPIP" 4788 "2020-04-05 20:28:25.743" "TCP - 209.85.166.179 connected to 85.215.81.231:25."
"SMTPD" 4788 23 "2020-04-05 20:28:25.745" "209.85.166.179" "SENT: 220 smtp.thomasbrants.nl ESMTP"
"SMTPD" 4852 23 "2020-04-05 20:28:25.858" "209.85.166.179" "RECEIVED: EHLO mail-il1-f179.google.com"
"SMTPD" 4852 23 "2020-04-05 20:28:25.859" "209.85.166.179" "SENT: 250-smtp.thomasbrants.nl[nl]250-SIZE 20480000[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 2728 23 "2020-04-05 20:28:25.972" "209.85.166.179" "RECEIVED: MAIL FROM:<t.ferb1@gmail.com> SIZE=2493"
"TCPIP" 2728 "2020-04-05 20:28:25.978" "DNS lookup: 179.166.85.209.zen.spamhaus.org, 0 addresses found: (none), Match: False"
"TCPIP" 2728 "2020-04-05 20:28:25.996" "DNS lookup: 179.166.85.209.bl.spamcop.net, 0 addresses found: (none), Match: False"
"SMTPD" 2728 23 "2020-04-05 20:28:25.998" "209.85.166.179" "SENT: 250 OK"
"SMTPD" 4788 23 "2020-04-05 20:28:26.112" "209.85.166.179" "RECEIVED: RCPT TO:<info@thomasbrants.nl>"
"SMTPD" 4788 23 "2020-04-05 20:28:26.114" "209.85.166.179" "SENT: 250 OK"
"SMTPD" 4852 23 "2020-04-05 20:28:26.227" "209.85.166.179" "RECEIVED: DATA"
"SMTPD" 4852 23 "2020-04-05 20:28:26.229" "209.85.166.179" "SENT: 354 OK, send."
"SMTPD" 1004 23 "2020-04-05 20:28:26.383" "209.85.166.179" "SENT: 250 Queued (0.125 seconds)"
"SMTPD" 2812 23 "2020-04-05 20:28:26.497" "209.85.166.179" "RECEIVED: QUIT"
"SMTPD" 2812 23 "2020-04-05 20:28:26.499" "209.85.166.179" "SENT: 221 goodbye"
"TCPIP" 1060 "2020-04-05 20:29:28.758" "DNS MX lookup: outlook.com"
"TCPIP" 1060 "2020-04-05 20:29:28.789" "DNS - MX Result: 2 IP addresses were found."
"TCPIP" 1060 "2020-04-05 20:29:28.789" "Connecting to 104.47.59.161:25..."
"SMTPC" 4788 25 "2020-04-05 20:29:29.039" "104.47.59.161" "RECEIVED: 220 DM6NAM12FT025.mail.protection.outlook.com Microsoft ESMTP MAIL Service ready at Sun, 5 Apr 2020 18:29:28 +0000"
"SMTPC" 4788 25 "2020-04-05 20:29:29.039" "104.47.59.161" "SENT: EHLO smtp.thomasbrants.nl"
"SMTPC" 2564 25 "2020-04-05 20:29:29.164" "104.47.59.161" "RECEIVED: 250-DM6NAM12FT025.mail.protection.outlook.com Hello [85.215.81.231][nl]250-SIZE 49283072[nl]250-PIPELINING[nl]250-DSN[nl]250-ENHANCEDSTATUSCODES[nl]250-8BITMIME[nl]250-BINARYMIME[nl]250-CHUNKING[nl]250 SMTPUTF8"
"SMTPC" 2564 25 "2020-04-05 20:29:29.164" "104.47.59.161" "SENT: MAIL FROM:<t.ferb1@gmail.com>"
"SMTPC" 2812 25 "2020-04-05 20:29:29.289" "104.47.59.161" "RECEIVED: 550 5.7.1 Service unavailable, Client host [85.215.81.231] blocked using Spamhaus. To request removal from this list see https://www.spamhaus.org/query/ip/85.215.81.231 (AS3130). [DM6NAM12FT025.eop-nam12.prod.protection.outlook.com]"
"SMTPC" 2812 25 "2020-04-05 20:29:29.289" "104.47.59.161" "SENT: QUIT"
"TCPIP" 1060 "2020-04-05 20:30:31.156" "DNS MX lookup: gmail.com"
"TCPIP" 1060 "2020-04-05 20:30:31.156" "DNS - MX Result: 5 IP addresses were found."
"TCPIP" 1060 "2020-04-05 20:30:31.172" "Connecting to 173.194.79.27:25..."
"SMTPC" 2564 26 "2020-04-05 20:30:31.219" "173.194.79.27" "RECEIVED: 220 mx.google.com ESMTP b13si11445277edz.414 - gsmtp"
"SMTPC" 2564 26 "2020-04-05 20:30:31.219" "173.194.79.27" "SENT: EHLO smtp.thomasbrants.nl"
"SMTPC" 2564 26 "2020-04-05 20:30:31.250" "173.194.79.27" "RECEIVED: 250-mx.google.com at your service, [85.215.81.231][nl]250-SIZE 157286400[nl]250-8BITMIME[nl]250-STARTTLS[nl]250-ENHANCEDSTATUSCODES[nl]250-PIPELINING[nl]250-CHUNKING[nl]250 SMTPUTF8"
"SMTPC" 2564 26 "2020-04-05 20:30:31.250" "173.194.79.27" "SENT: STARTTLS"
"SMTPC" 4788 26 "2020-04-05 20:30:31.266" "173.194.79.27" "RECEIVED: 220 2.0.0 Ready to start TLS"
"TCPIP" 4852 "2020-04-05 20:30:31.312" "TCPConnection - TLS/SSL handshake completed. Session Id: 26, Remote IP: 173.194.79.27, Version: TLSv1.2, Cipher: ECDHE-RSA-AES128-GCM-SHA256, Bits: 128"
"SMTPC" 4852 26 "2020-04-05 20:30:31.312" "173.194.79.27" "SENT: EHLO smtp.thomasbrants.nl"
"SMTPC" 2812 26 "2020-04-05 20:30:31.328" "173.194.79.27" "RECEIVED: 250-mx.google.com at your service, [85.215.81.231][nl]250-SIZE 157286400[nl]250-8BITMIME[nl]250-ENHANCEDSTATUSCODES[nl]250-PIPELINING[nl]250-CHUNKING[nl]250 SMTPUTF8"
"SMTPC" 2812 26 "2020-04-05 20:30:31.328" "173.194.79.27" "SENT: MAIL FROM:<>"
"SMTPC" 612 26 "2020-04-05 20:30:31.344" "173.194.79.27" "RECEIVED: 250 2.1.0 OK b13si11445277edz.414 - gsmtp"
"SMTPC" 612 26 "2020-04-05 20:30:31.344" "173.194.79.27" "SENT: RCPT TO:<t.ferb1@gmail.com>"
"SMTPC" 4788 26 "2020-04-05 20:30:31.484" "173.194.79.27" "RECEIVED: 250 2.1.5 OK b13si11445277edz.414 - gsmtp"
"SMTPC" 4788 26 "2020-04-05 20:30:31.484" "173.194.79.27" "SENT: DATA"
"SMTPC" 4140 26 "2020-04-05 20:30:31.516" "173.194.79.27" "RECEIVED: 354 Go ahead b13si11445277edz.414 - gsmtp"
"SMTPC" 4140 26 "2020-04-05 20:30:31.516" "173.194.79.27" "SENT: [nl]."
"SMTPC" 2812 26 "2020-04-05 20:30:31.766" "173.194.79.27" "RECEIVED: 250 2.0.0 OK 1586111431 b13si11445277edz.414 - gsmtp"
"SMTPC" 2812 26 "2020-04-05 20:30:31.766" "173.194.79.27" "SENT: QUIT"
"SMTPC" 4140 26 "2020-04-05 20:30:31.781" "173.194.79.27" "RECEIVED: 221 2.0.0 closing connection b13si11445277edz.414 - gsmtp"

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Can't get it to work

Post by Dravion » 2020-04-05 20:42

Your last log is perfectly ok.

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-05 20:49

but I still haven't received my mail
Not my forwarded email address and not in the info one

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Can't get it to work

Post by Dravion » 2020-04-05 21:04

DJ1TJOO wrote:
2020-04-05 20:49
but I still haven't received my mail
Not my forwarded email address and not in the info one
Follow the link to remove your SPAM entry

Spamhaus. To request removal from this list see

https://www.spamhaus.org/query/ip/85.215.81.231

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-05 21:06

I already did and resended the email
Still nothing

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Can't get it to work

Post by Dravion » 2020-04-05 21:15

Be patient.
Maybe its Graylisting.
It can take up to 72 hours before a new domain is seen as valid for deployment (new in terms of a SMTP-Server).

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Can't get it to work

Post by Dravion » 2020-04-05 21:56

Also add a account with the name

postmaster@yourdomain.com
and
abuse@yourdomain.com

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-05 22:00

Can I ask why?

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Can't get it to work

Post by Dravion » 2020-04-05 22:07

There are some specifications, demanding the availability of such accounts.
It could impact your overall rating if you don't have such email accounts.

Something like this:
FAIL
Acceptance of postmaster Mailserver rejected mail to postmaster. Mailservers are required by RFC822 6.3, RFC1123 5.2.7, and RFC2821 4.5.1 to have a valid postmaster address that is accepting mail

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-05 22:21

I've added it. So it should work in around 72 hours, right?

User avatar
jim.bus
Senior user
Senior user
Posts: 1571
Joined: 2011-05-28 11:49
Location: US

Re: Can't get it to work

Post by jim.bus » 2020-04-06 08:04

This is not your specific problem but as a warning, I saw where you have a Default Domain specified. This is not considered wise from a hacking standpoint. It eliminates one less thing a hacker has to guess such as what Domain the User portion of an email address is. Meaning all the hacker has to guess is the User Portion of the whole email address (ex. only 'username' instead of 'username@domain.com').

You should go back and select 'Advanced' in hMailAdmin and remove the Default Domain entry.

Also, apparently you were forwarding the email sent to info@thomasbrants.nl to an email account on Outlook.Com. You also stated you couldn't find the email you implied you sent to info@Thomasbrants.nl when you went looking to see if hMailServer had received the email. I can't confirm this because I didn't see your Forwarding configuration but by default when forwarding an email message a copy isn't retained on the forwarded email address on hMailServer unless you specify it to keep a copy of that forwarded email address. So if this is the case this is why you probably didn't see the email on hMailServer and of course you didn't receive the email on the Outlook email address because your hMailServer was on Spamhaus' Block List.
If you think you understand quantum mechanics, you don't understand quantum mechanics.

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-06 19:42

Now that my block is gone it still doesn't work and I removed localhost as default domain. Here are the latest log from my latest try:

"TCPIP" 4788 "2020-04-06 19:34:16.974" "TCP - 209.85.166.170 connected to 85.215.81.231:25."
"SMTPD" 4788 36 "2020-04-06 19:34:16.990" "209.85.166.170" "SENT: 220 smtp.thomasbrants.nl ESMTP"
"SMTPD" 2812 36 "2020-04-06 19:34:17.099" "209.85.166.170" "RECEIVED: EHLO mail-il1-f170.google.com"
"SMTPD" 2812 36 "2020-04-06 19:34:17.099" "209.85.166.170" "SENT: 250-smtp.thomasbrants.nl[nl]250-SIZE 20480000[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 4788 36 "2020-04-06 19:34:17.228" "209.85.166.170" "RECEIVED: MAIL FROM:<t.ferb1@gmail.com> SIZE=2289"
"TCPIP" 4788 "2020-04-06 19:34:17.259" "DNS lookup: 170.166.85.209.zen.spamhaus.org, 0 addresses found: (none), Match: False"
"TCPIP" 4788 "2020-04-06 19:34:17.291" "DNS lookup: 170.166.85.209.bl.spamcop.net, 0 addresses found: (none), Match: False"
"SMTPD" 4788 36 "2020-04-06 19:34:17.291" "209.85.166.170" "SENT: 250 OK"
"SMTPD" 4912 36 "2020-04-06 19:34:17.415" "209.85.166.170" "RECEIVED: RCPT TO:<info@thomasbrants.nl>"
"SMTPD" 4912 36 "2020-04-06 19:34:17.462" "209.85.166.170" "SENT: 250 OK"
"SMTPD" 2812 36 "2020-04-06 19:34:17.567" "209.85.166.170" "RECEIVED: DATA"
"SMTPD" 2812 36 "2020-04-06 19:34:17.567" "209.85.166.170" "SENT: 354 OK, send."
"SMTPD" 1004 36 "2020-04-06 19:34:17.928" "209.85.166.170" "SENT: 250 Queued (0.280 seconds)"
"SMTPD" 612 36 "2020-04-06 19:34:18.053" "209.85.166.170" "RECEIVED: QUIT"
"SMTPD" 612 36 "2020-04-06 19:34:18.053" "209.85.166.170" "SENT: 221 goodbye"
"TCPIP" 1060 "2020-04-06 19:35:21.413" "DNS MX lookup: outlook.com"
"TCPIP" 1060 "2020-04-06 19:35:21.444" "DNS - MX Result: 2 IP addresses were found."
"TCPIP" 1060 "2020-04-06 19:35:21.444" "Connecting to 104.47.12.33:25..."
"SMTPC" 4788 38 "2020-04-06 19:35:21.507" "104.47.12.33" "RECEIVED: 220 DB3EUR04FT019.mail.protection.outlook.com Microsoft ESMTP MAIL Service ready at Mon, 6 Apr 2020 17:35:20 +0000"
"SMTPC" 4788 38 "2020-04-06 19:35:21.507" "104.47.12.33" "SENT: EHLO smtp.thomasbrants.nl"
"SMTPC" 4912 38 "2020-04-06 19:35:21.538" "104.47.12.33" "RECEIVED: 250-DB3EUR04FT019.mail.protection.outlook.com Hello [85.215.81.231][nl]250-SIZE 49283072[nl]250-PIPELINING[nl]250-DSN[nl]250-ENHANCEDSTATUSCODES[nl]250-STARTTLS[nl]250-8BITMIME[nl]250-BINARYMIME[nl]250-CHUNKING[nl]250 SMTPUTF8"
"SMTPC" 4912 38 "2020-04-06 19:35:21.538" "104.47.12.33" "SENT: STARTTLS"
"SMTPC" 2812 38 "2020-04-06 19:35:21.569" "104.47.12.33" "RECEIVED: 220 2.0.0 SMTP server ready"
"TCPIP" 612 "2020-04-06 19:35:21.835" "TCPConnection - TLS/SSL handshake completed. Session Id: 38, Remote IP: 104.47.12.33, Version: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384, Bits: 256"
"SMTPC" 612 38 "2020-04-06 19:35:21.835" "104.47.12.33" "SENT: EHLO smtp.thomasbrants.nl"
"SMTPC" 4912 38 "2020-04-06 19:35:21.866" "104.47.12.33" "RECEIVED: 250-DB3EUR04FT019.mail.protection.outlook.com Hello [85.215.81.231][nl]250-SIZE 49283072[nl]250-PIPELINING[nl]250-DSN[nl]250-ENHANCEDSTATUSCODES[nl]250-8BITMIME[nl]250-BINARYMIME[nl]250-CHUNKING[nl]250 SMTPUTF8"
"SMTPC" 4912 38 "2020-04-06 19:35:21.866" "104.47.12.33" "SENT: MAIL FROM:<t.ferb1@gmail.com>"
"SMTPC" 4788 38 "2020-04-06 19:35:21.899" "104.47.12.33" "RECEIVED: 250 2.1.0 Sender OK"
"SMTPC" 4788 38 "2020-04-06 19:35:21.899" "104.47.12.33" "SENT: RCPT TO:<thomasbrants2@outlook.com>"
"SMTPC" 2812 38 "2020-04-06 19:35:21.945" "104.47.12.33" "RECEIVED: 250 2.1.5 Recipient OK"
"SMTPC" 2812 38 "2020-04-06 19:35:21.945" "104.47.12.33" "SENT: DATA"
"SMTPC" 4912 38 "2020-04-06 19:35:21.977" "104.47.12.33" "RECEIVED: 354 Start mail input; end with <CRLF>.<CRLF>"
"SMTPC" 4912 38 "2020-04-06 19:35:21.992" "104.47.12.33" "SENT: [nl]."
"SMTPC" 2812 38 "2020-04-06 19:35:22.248" "104.47.12.33" "RECEIVED: 250 2.6.0 <CAKPRP4UwU20DMNHcJYq1Kj6QkwjOhumGtQ0JFpdP_6MGVs5zvw@mail.gmail.com> [InternalId=24206435740966, Hostname=DB3EUR04HT120.eop-eur04.prod.protection.outlook.com] 10510 bytes in 0.121, 84.242 KB/sec Queued mail for delivery -> 250 2.1.5"
"SMTPC" 2812 38 "2020-04-06 19:35:22.248" "104.47.12.33" "SENT: QUIT"
"SMTPC" 4788 38 "2020-04-06 19:35:22.279" "104.47.12.33" "RECEIVED: 221 2.0.0 Service closing transmission channel"

User avatar
jimimaseye
Moderator
Moderator
Posts: 10060
Joined: 2011-09-08 17:48

Re: Can't get it to work

Post by jimimaseye » 2020-04-06 19:50

"SMTPC" 2812 38 "2020-04-06 19:35:22.248" "104.47.12.33" "RECEIVED: 250 2.6.0 <CAKPRP4UwU20DMNHcJYq1Kj6QkwjOhumGtQ0JFpdP_6MGVs5zvw@mail.gmail.com> [InternalId=24206435740966, Hostname=DB3EUR04HT120.eop-eur04.prod.protection.outlook.com] 10510 bytes in 0.121, 84.242 KB/sec Queued mail for delivery -> 250 2.1.5"
"SMTPC" 2812 38 "2020-04-06 19:35:22.248" "104.47.12.33" "SENT: QUIT"
That has been delivered to outlook servers. Get recipient to check spam folder.

[Entered by mobile. Excuse my spelling.]
5.7 on test.
SpamassassinForWindows 3.4.0 spamd service
AV: Clamwin + Clamd service + sanesecurity defs : https://www.hmailserver.com/forum/viewtopic.php?f=21&t=26829

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-06 19:58

I now receive them in my outlook but still not in my info@domain account
Or maby better my client is not seeing them in my inbox

User avatar
jim.bus
Senior user
Senior user
Posts: 1571
Joined: 2011-05-28 11:49
Location: US

Re: Can't get it to work

Post by jim.bus » 2020-04-06 20:14

DJ1TJOO wrote:
2020-04-06 19:58
I now receive them in my outlook but still not in my info@domain account
If by info@domain account, you mean info@thomasbrants.nl on your hMailServer, then you didn't understand what I wrote above about forwarding email through hMailServer.

Without seeing what your Forwarding configuration is for info@thomasbrants.nl, I have to assume you are using the Default setting for Forwarding which will not leave a copy of the email in the info@thomasbrants.nl email account. If you want a copy of the message in that email account you have to specify on hMailServer under the Forwarding Tab of the Email Account info@thomasbrants.nl that you want to 'Keep original message'.
Last edited by jim.bus on 2020-04-06 20:18, edited 1 time in total.
If you think you understand quantum mechanics, you don't understand quantum mechanics.

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-06 20:15

I had Keep original message on and still have
https://imgur.com/a/J5qedAO

User avatar
jim.bus
Senior user
Senior user
Posts: 1571
Joined: 2011-05-28 11:49
Location: US

Re: Can't get it to work

Post by jim.bus » 2020-04-06 20:36

DJ1TJOO wrote:
2020-04-06 20:15
I had Keep original message on and still have
https://imgur.com/a/J5qedAO
Something doesn't look right in your log messages meaning that we are not seeing all the log messages. I remember from the earlier part of this thread you didn't have all the Logs turned on which is why we are not seeing all the Log entries. With all the Logs turned on, we should see where the email message sent to info@thomasbrants.nl is indicated as "Forwarding message".

I would suggest you turn on all the Logs. Check again that you have 'Keep original message' selected. Resend your email message exactly as you did before. Then show us all the Log Entries for sending this email message. Confirm your info@thomasbrants.nl did or did not receive the email message (meaning copy was or was not kept). Confirm that your Outlook Email Account also received the email message as you did before.
If you think you understand quantum mechanics, you don't understand quantum mechanics.

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-06 20:47

Image of my account settings info@thomasbrants.nl for my email client: https://imgur.com/a/uypseF6

log:
"DEBUG" 4788 "2020-04-06 20:46:05.018" "Creating session 47"
"TCPIP" 4788 "2020-04-06 20:46:05.034" "TCP - 209.85.166.181 connected to 85.215.81.231:25."
"DEBUG" 4788 "2020-04-06 20:46:05.034" "TCP connection started for session 46"
"SMTPD" 4788 46 "2020-04-06 20:46:05.034" "209.85.166.181" "SENT: 220 smtp.thomasbrants.nl ESMTP"
"SMTPD" 4140 46 "2020-04-06 20:46:05.143" "209.85.166.181" "RECEIVED: EHLO mail-il1-f181.google.com"
"SMTPD" 4140 46 "2020-04-06 20:46:05.143" "209.85.166.181" "SENT: 250-smtp.thomasbrants.nl[nl]250-SIZE 20480000[nl]250-AUTH LOGIN[nl]250 HELP"
"SMTPD" 4904 46 "2020-04-06 20:46:05.269" "209.85.166.181" "RECEIVED: MAIL FROM:<t.ferb1@gmail.com> SIZE=2299"
"DEBUG" 4904 "2020-04-06 20:46:05.269" "Total spam score: 0"
"SMTPD" 4904 46 "2020-04-06 20:46:05.285" "209.85.166.181" "SENT: 250 OK"
"SMTPD" 4140 46 "2020-04-06 20:46:05.401" "209.85.166.181" "RECEIVED: RCPT TO:<info@thomasbrants.nl>"
"SMTPD" 4140 46 "2020-04-06 20:46:05.416" "209.85.166.181" "SENT: 250 OK"
"SMTPD" 4904 46 "2020-04-06 20:46:05.526" "209.85.166.181" "RECEIVED: DATA"
"SMTPD" 4904 46 "2020-04-06 20:46:05.541" "209.85.166.181" "SENT: 354 OK, send."
"DEBUG" 2812 "2020-04-06 20:46:05.647" "Adding task AsynchronousTask to work queue Asynchronous task queue"
"DEBUG" 1004 "2020-04-06 20:46:05.647" "Executing task AsynchronousTask in work queue Asynchronous task queue"
"DEBUG" 1004 "2020-04-06 20:46:05.663" "DKIM: Message passed validation."
"DEBUG" 1004 "2020-04-06 20:46:05.663" "Spam test: SpamTestDKIM, Score: 0"
"DEBUG" 1004 "2020-04-06 20:46:05.663" "Total spam score: 0"
"DEBUG" 1004 "2020-04-06 20:46:05.663" "Saving message: {D10E6542-CE20-4CBB-9254-491258E38A39}.eml"
"DEBUG" 1004 "2020-04-06 20:46:05.679" "Requesting SMTPDeliveryManager to start message delivery"
"SMTPD" 1004 46 "2020-04-06 20:46:05.679" "209.85.166.181" "SENT: 250 Queued (0.112 seconds)"
"DEBUG" 908 "2020-04-06 20:46:05.695" "Adding task DeliveryTask to work queue SMTP delivery queue"
"DEBUG" 1060 "2020-04-06 20:46:05.695" "Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG" 1060 "2020-04-06 20:46:05.695" "Delivering message..."
"APPLICATION" 1060 "2020-04-06 20:46:05.710" "SMTPDeliverer - Message 31: Delivering message from t.ferb1@gmail.com to info@thomasbrants.nl. File: C:\Program Files (x86)\hMailServer\Data\{D10E6542-CE20-4CBB-9254-491258E38A39}.eml"
"DEBUG" 1060 "2020-04-06 20:46:05.710" "Applying rules"
"DEBUG" 1060 "2020-04-06 20:46:05.710" "Performing local delivery"
"DEBUG" 1060 "2020-04-06 20:46:05.726" "Applying rules"
"DEBUG" 1060 "2020-04-06 20:46:05.726" "Forwarding message"
"DEBUG" 1060 "2020-04-06 20:46:05.726" "Copying mail contents"
"DEBUG" 1060 "2020-04-06 20:46:05.747" "Saving message: {D3D3E2E1-9C2E-4ABF-8186-0DF252A6BBB7}.eml"
"DEBUG" 1060 "2020-04-06 20:46:05.757" "Saving message: {D10E6542-CE20-4CBB-9254-491258E38A39}.eml"
"DEBUG" 1060 "2020-04-06 20:46:05.777" "AWStats::LogDeliverySuccess"
"DEBUG" 1060 "2020-04-06 20:46:05.793" "Local delivery completed"
"APPLICATION" 1060 "2020-04-06 20:46:05.793" "SMTPDeliverer - Message 31: Message delivery thread completed."
"SMTPD" 2812 46 "2020-04-06 20:46:05.793" "209.85.166.181" "RECEIVED: QUIT"
"SMTPD" 2812 46 "2020-04-06 20:46:05.809" "209.85.166.181" "SENT: 221 goodbye"
"DEBUG" 4140 "2020-04-06 20:46:05.809" "Ending session 46"
"DEBUG" 908 "2020-04-06 20:47:08.084" "Adding task DeliveryTask to work queue SMTP delivery queue"
"DEBUG" 1060 "2020-04-06 20:47:08.084" "Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG" 1060 "2020-04-06 20:47:08.084" "Delivering message..."
"APPLICATION" 1060 "2020-04-06 20:47:08.099" "SMTPDeliverer - Message 32: Delivering message from t.ferb1@gmail.com to thomasbrants2@outlook.com. File: C:\Program Files (x86)\hMailServer\Data\{D3D3E2E1-9C2E-4ABF-8186-0DF252A6BBB7}.eml"
"DEBUG" 1060 "2020-04-06 20:47:08.099" "Applying rules"
"DEBUG" 1060 "2020-04-06 20:47:08.099" "Performing local delivery"
"DEBUG" 1060 "2020-04-06 20:47:08.099" "Local delivery completed"
"TCPIP" 1060 "2020-04-06 20:47:08.099" "DNS MX lookup: outlook.com"
"TCPIP" 1060 "2020-04-06 20:47:08.115" "DNS - MX Result: 2 IP addresses were found."
"DEBUG" 1060 "2020-04-06 20:47:08.115" "Starting external delivery process. Server: outlook-com.olc.protection.outlook.com (104.47.9.33), Port: 25, Security: 2, User name: "
"DEBUG" 1060 "2020-04-06 20:47:08.115" "Creating session 48"
"TCPIP" 1060 "2020-04-06 20:47:08.115" "Connecting to 104.47.9.33:25..."
"DEBUG" 4140 "2020-04-06 20:47:08.146" "TCP connection started for session 48"
"SMTPC" 4140 48 "2020-04-06 20:47:08.181" "104.47.9.33" "RECEIVED: 220 VE1EUR03FT061.mail.protection.outlook.com Microsoft ESMTP MAIL Service ready at Mon, 6 Apr 2020 18:47:07 +0000"
"SMTPC" 4140 48 "2020-04-06 20:47:08.181" "104.47.9.33" "SENT: EHLO smtp.thomasbrants.nl"
"SMTPC" 4788 48 "2020-04-06 20:47:08.195" "104.47.9.33" "RECEIVED: 250-VE1EUR03FT061.mail.protection.outlook.com Hello [85.215.81.231][nl]250-SIZE 49283072[nl]250-PIPELINING[nl]250-DSN[nl]250-ENHANCEDSTATUSCODES[nl]250-STARTTLS[nl]250-8BITMIME[nl]250-BINARYMIME[nl]250-CHUNKING[nl]250 SMTPUTF8"
"SMTPC" 4788 48 "2020-04-06 20:47:08.210" "104.47.9.33" "SENT: STARTTLS"
"SMTPC" 4788 48 "2020-04-06 20:47:08.226" "104.47.9.33" "RECEIVED: 220 2.0.0 SMTP server ready"
"DEBUG" 4788 "2020-04-06 20:47:08.226" "Performing SSL/TLS handshake for session 48. Verify certificate: True, Expected remote host name: outlook-com.olc.protection.outlook.com"
"DEBUG" 4788 "2020-04-06 20:47:08.320" "Certificate verification succeeded for session 48."
"TCPIP" 4788 "2020-04-06 20:47:08.351" "TCPConnection - TLS/SSL handshake completed. Session Id: 48, Remote IP: 104.47.9.33, Version: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384, Bits: 256"
"SMTPC" 4788 48 "2020-04-06 20:47:08.351" "104.47.9.33" "SENT: EHLO smtp.thomasbrants.nl"
"SMTPC" 2812 48 "2020-04-06 20:47:08.382" "104.47.9.33" "RECEIVED: 250-VE1EUR03FT061.mail.protection.outlook.com Hello [85.215.81.231][nl]250-SIZE 49283072[nl]250-PIPELINING[nl]250-DSN[nl]250-ENHANCEDSTATUSCODES[nl]250-8BITMIME[nl]250-BINARYMIME[nl]250-CHUNKING[nl]250 SMTPUTF8"
"SMTPC" 2812 48 "2020-04-06 20:47:08.382" "104.47.9.33" "SENT: MAIL FROM:<t.ferb1@gmail.com>"
"SMTPC" 4904 48 "2020-04-06 20:47:08.413" "104.47.9.33" "RECEIVED: 250 2.1.0 Sender OK"
"SMTPC" 4904 48 "2020-04-06 20:47:08.413" "104.47.9.33" "SENT: RCPT TO:<thomasbrants2@outlook.com>"
"SMTPC" 2812 48 "2020-04-06 20:47:08.460" "104.47.9.33" "RECEIVED: 250 2.1.5 Recipient OK"
"SMTPC" 2812 48 "2020-04-06 20:47:08.460" "104.47.9.33" "SENT: DATA"
"SMTPC" 4140 48 "2020-04-06 20:47:08.492" "104.47.9.33" "RECEIVED: 354 Start mail input; end with <CRLF>.<CRLF>"
"SMTPC" 4140 48 "2020-04-06 20:47:08.492" "104.47.9.33" "SENT: [nl]."
"SMTPC" 4904 48 "2020-04-06 20:47:08.786" "104.47.9.33" "RECEIVED: 250 2.6.0 <CAKPRP4XAoBOxw7p48VtFsUn5gOZqFthTAhgL6bZE-CL=KC0G8w@mail.gmail.com> [InternalId=82978768196221, Hostname=VE1EUR03HT227.eop-EUR03.prod.protection.outlook.com] 10535 bytes in 0.127, 80.706 KB/sec Queued mail for delivery -> 250 2.1.5"
"SMTPC" 4904 48 "2020-04-06 20:47:08.786" "104.47.9.33" "SENT: QUIT"
"SMTPC" 4140 48 "2020-04-06 20:47:08.818" "104.47.9.33" "RECEIVED: 221 2.0.0 Service closing transmission channel"
"DEBUG" 4140 "2020-04-06 20:47:08.818" "Ending session 48"
"DEBUG" 1060 "2020-04-06 20:47:08.818" "External delivery process completed"
"DEBUG" 1060 "2020-04-06 20:47:08.818" "Summarizing delivery result"
"DEBUG" 1060 "2020-04-06 20:47:08.818" "AWStats::LogDeliverySuccess"
"DEBUG" 1060 "2020-04-06 20:47:08.818" "Summarized delivery results"
"DEBUG" 1060 "2020-04-06 20:47:08.818" "Deleting message"
"DEBUG" 1060 "2020-04-06 20:47:08.833" "Deleting message file."
"APPLICATION" 1060 "2020-04-06 20:47:08.833" "SMTPDeliverer - Message 32: Message delivery thread completed."

User avatar
johang
Senior user
Senior user
Posts: 1128
Joined: 2008-09-01 09:20

Re: Can't get it to work

Post by johang » 2020-04-06 21:42

reboot ?

i had to test out a redirect of my own just to check MY log against Your log.. and.. your log seems fine ..
in my interface my "redirect user" has 0.001 MB stored .. is your info@"yourdomain".nl users dir empty ??
bebop.png
is your IMAP4 client reading all dirs at server.. ? do you have to add which to read ??
have you tried another mailclient ?
lets cheat darwin out of his legacy, find a cure for cancer...

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-06 22:09

no my dir had 0,043 mb. I've tried thunderbird but I keep getting "login to server is not possible. probably an incorrect configuration, username or password", but they are all correct I think.
https://imgur.com/a/U6TtzHu

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-06 22:23

It works I've got all of my other e-mails to. The IMAP doesn't encrypt my password and I thought it did, but I can't change that on the standard windows 10 mail client. But I still can't send emails. What are the correct settings for thunderbird for my smtp server? Now I have:

server name: smtp.thomasbrants.nl
port: 25
connection security: none
authentication method: password, unsecured
username: info@thomasbrants.nl

User avatar
jim.bus
Senior user
Senior user
Posts: 1571
Joined: 2011-05-28 11:49
Location: US

Re: Can't get it to work

Post by jim.bus » 2020-04-06 23:14

I looked at your All Logs Entries again.

I'm not positive of this but it looks like your Logs indicate the info@thomasbrants.nl email message was deleted. Look near bottom of your last set of 3 Log entries above. Those last 3 lines seems to indicate to me that the email message on hMailServer was deleted after it was forwarded to the Outlook email account.

This would contradict the Forwarding set up you showed us earlier. I tested the same process on my server and I successfully left a copy on the forwarded email account and I didn't have the entry in my Logs which showed the forwarded account message Deleted. However, I am not an IMAP user so I don't know what may happen if info@thomasbrants.nl is stored in an IMAP Folder. My understanding is IMAP Folders do not Delete items on the Server.

A bit of a warning unrelated to the problem. I noticed you are not using connection security on your client connection to your hMailServer. You really should be using Security Encryption on your Client connections. For your TCIP Ports you have specified for Connection Sec 'None' on all your Ports. You should at least have security specified for Ports 993 (should add this Port) and 587. Of course this would necessitate having a Security Certificate. You can obtain free Security Certificates from Let's Encrypt good for 90 days and Renewable.
If you think you understand quantum mechanics, you don't understand quantum mechanics.

User avatar
jim.bus
Senior user
Senior user
Posts: 1571
Joined: 2011-05-28 11:49
Location: US

Re: Can't get it to work

Post by jim.bus » 2020-04-07 00:36

Just notice something I believe is incorrect in your Server Settings for your Client Setup which pulls the info@thomasbrants.nl email account.

You have I believe the wrong server name specified for the Incoming IMAP Server. The Server name you have specified is thomasbrants.nl. It should be smtp.thomasbrants.nl. hMailServer performs the function for all Protocols (POP3, SMTP, and IMAP) in the one server. Therefore, you should use the same Server name for both Incoming hMailServer and Outgoing hMailServer.

One thing puzzles me though is that you should have gotten a Client Error when it attempted to connect to Incoming Server thomasbrants.nl as that Server doesn't exist as far as I can tell. But this could probably account for why you can't see your info@thomasbrants.nl email message for hMailServer.

Change your Incoming Server name on your Client to smtp.thomasbrants.nl.
If you think you understand quantum mechanics, you don't understand quantum mechanics.

User avatar
johang
Senior user
Senior user
Posts: 1128
Joined: 2008-09-01 09:20

Re: Can't get it to work

Post by johang » 2020-04-07 07:55

I believe you problem is on client side, i am sorry i dont know how to check thunderbird and settings .. or win10 native mail client ..
i agree with jim.bus try to use smtp.thomasbrants.nl as both incomming and outgoing.
even though you have configured an IP for the "record you are asking for"..
thomasbrants.nl. IN A 85.215.81.231
( which made me look at something else.. that i will try to explain furter down.. )



====
in your dns you have:
thomasbrants.nl. IN MX 10 smtp.thomasbrants.nl.
smtp.thomasbrants.nl. IN CNAME thomasbrants.nl.


When you point a MX record to a CNAME, you’re in fact inviting double the DNS traffic to your DNS servers.
To resolve the CNAME, the sender’s DNS server will have to perform a second query.
Not only is that inefficient, it is in fact explicitly prohibited by RFC 2181. https://www.rfc-editor.org/rfc/rfc2181.txt i know some say it should work.. ( but as you propabally well know ,,, should.. and DO WORK is not always the same ..)

i suggest that you in your dns change to:
smtp.thomasbrants.nl. IN A 85.215.81.231



.
lets cheat darwin out of his legacy, find a cure for cancer...

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-07 10:25

Thanks for helping it finally works both ways. Only my mail client say that the certificate is not correct or something, but I could exept it or something. I don't know I it's important?

User avatar
jim.bus
Senior user
Senior user
Posts: 1571
Joined: 2011-05-28 11:49
Location: US

Re: Can't get it to work

Post by jim.bus » 2020-04-07 12:31

To further clarify the DNS MX Record.

An MX Record can point to a CNAME record. The RFC does require that it point to an A Record, though. But for years I did use a CNAME record as the hostname of my Email Server and never had any problems. The RFC I believe forbids it because presumably in most cases it does cause extra work on the DNS Servers. I believe there was also some mention (if memory serves me correctly) there could be a problem in that somehow the CNAME Record might resolve to more than one IP Address. I have since changed my MX Records to point to A Records which are in the form of a subdomain hostname where the hostname resolves to the IP Address of the Email Server.

There is no need for more than one hostname for the Email Server in the case of hMailServer since it performs all the mail protocol functions of POP3, IMAP, and SMTP.

Therefore since you have defined an A Record of smtp.thomasbrants.nl pointing to the IP Address of your hMailServer. That one MX Record is all you need to point to your hMailServer's IP Address. If you make the change I indicated in your Email Client for the Incoming server name, your Email Client should work OK unless the MX Record is somehow formatted incorrectly but from your prior post it sounds like it will work OK.

As far as your Certificate showing incorrect, most likely the cause is because your mail Certificate Common Name or Subject Alternate Name (SAN) does not include the Email Server hostname smtp.thousandbrants.nl. Therefore the Client thinks it is the wrong server. I use Outlook and when that situation existed for me, Outlook always just wanted the user to confirm to go ahead and use the incorrect Certificate or to cancel the use of that Email Server. You should replace that Certificate with a new Certificate which includes your Email Server hostname smtp.thousandbrants.nl or change your Email Server hostname to a hostname which is included on your Email Server Certificate.

And as a suggestion if in fact you do have a Certificate for the Email Server, as I indicated before you should be using Security Encryption on your TCPIP Ports because as you have your Email Server now, your Client Connections are not Secure Encrypted.
If you think you understand quantum mechanics, you don't understand quantum mechanics.

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-07 12:52

I think I've created a new problem when I applied the cert. Now I can send mails from info@thomasbrants.nl to others, but others can send me emails. Here I've got the log:

"TCPIP" 5712 "2020-04-07 12:47:56.930" "TCPConnection - TLS/SSL handshake failed. Session Id: 108, Remote IP: 84.105.10.144, Error code: 10054, Message: De externe host heeft een verbinding verbroken"
"DEBUG" 5712 "2020-04-07 12:47:56.930" "Ending session 108"
"DEBUG" 5712 "2020-04-07 12:47:59.750" "Creating session 110"
"TCPIP" 5712 "2020-04-07 12:47:59.750" "TCP - 209.85.128.50 connected to 85.215.81.231:25."
"DEBUG" 5712 "2020-04-07 12:47:59.750" "TCP connection started for session 101"
"DEBUG" 5712 "2020-04-07 12:47:59.750" "Performing SSL/TLS handshake for session 101. Verify certificate: False"
"DEBUG" 5712 "2020-04-07 12:49:21.130" "Creating session 111"
"TCPIP" 5712 "2020-04-07 12:49:21.130" "TCP - 84.105.10.144 connected to 85.215.81.231:587."
"DEBUG" 5712 "2020-04-07 12:49:21.130" "TCP connection started for session 109"
"DEBUG" 5712 "2020-04-07 12:49:21.130" "Performing SSL/TLS handshake for session 109. Verify certificate: False"
"TCPIP" 5712 "2020-04-07 12:49:21.193" "TCPConnection - TLS/SSL handshake completed. Session Id: 109, Remote IP: 84.105.10.144, Version: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384, Bits: 256"
"SMTPD" 5712 109 "2020-04-07 12:49:21.193" "84.105.10.144" "SENT: 220 smtp.thomasbrants.nl ESMTP"
"DEBUG" 5984 "2020-04-07 12:49:21.224" "The read operation failed. Bytes transferred: 0 Remote IP: 84.105.10.144, Session: 109, Code: 335544539, Message: short read"
"DEBUG" 5984 "2020-04-07 12:49:21.224" "Ending session 109"
"DEBUG" 5712 "2020-04-07 12:49:21.271" "Creating session 112"
"TCPIP" 5712 "2020-04-07 12:49:21.271" "TCP - 84.105.10.144 connected to 85.215.81.231:587."
"DEBUG" 5712 "2020-04-07 12:49:21.271" "TCP connection started for session 111"
"DEBUG" 5712 "2020-04-07 12:49:21.271" "Performing SSL/TLS handshake for session 111. Verify certificate: False"
"TCPIP" 5984 "2020-04-07 12:49:21.271" "TCPConnection - TLS/SSL handshake failed. Session Id: 111, Remote IP: 84.105.10.144, Error code: 336109835, Message: wrong version number"
"DEBUG" 5984 "2020-04-07 12:49:21.271" "Ending session 111"

and I ran the program again so you can see the settings:

Code: Select all

2020-04-07   Hmailserver: 5.6.7-B2425

DOMAINS

   "Domain1.com" - thxxxxxxxxxx.nl                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: 127.0.0.1 - 127.0.0.1     Priority: 15     Name: My computer

  Allow connections                         Other
     SMTP:   True                              Antispam :   True
     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
     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
                     (none entered)            Disc. on invalid:  False  Delivered-To hdr: False
                                                                         Loop limit:           5
                                                                         Recipient hosts:     15
  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:        True - 5

  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
   ThomasBrants.nl
       Certificate: C:\Users\Administrator\Desktop\smtp.Domain1.com\certificate.crt
       Private key: C:\Users\Administrator\Desktop\smtp.Domain1.com\private.key
-----------------------------------------------------------------------------------------------

SSL/TLS
             SSL 3.0 :  False
             TLS 1.0 :   True
             TLS 1.1 :   True
             TLS 1.2 :   True                Verify Remote SSL/TLS Certs:   True
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   -   SSL/TLS             !! External Email Blocked !!  Cert: ThomasBrants.nl
               0.0.0.0         / 110   / POP3   -   SSL/TLS             Cert: ThomasBrants.nl
               0.0.0.0         / 143   / IMAP   -   SSL/TLS             Cert: ThomasBrants.nl
               0.0.0.0         / 587   / SMTP   -   SSL/TLS             Cert: ThomasBrants.nl
               0.0.0.0         / 993   / IMAP   -   SSL/TLS             Cert: ThomasBrants.nl
-----------------------------------------------------------------------------------------------

LOGGING      Logging Enabled: True

  Paths:-
    Current:  C:\Program Files (x86)\hMailServer\Logs\hmailserver_2020-04-07.log
    Error:    C:\Program Files (x86)\hMailServer\Logs\ERROR_hmailserver_2020-04-07.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        -    True
                        TCPIP       -    True
                        DEBUG       -    True
                        AWSTATS     -    True
-----------------------------------------------------------------------------------------------

SYSTEM TESTS

Database type: MySQL

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: 
Data folder:     C:\Program Files (x86)\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=              MYSQL
Username=          root
PasswordEncryption=1
Port=              3306
Server=            localhost
Internal=          0
-----------------------------------------------------------------------------------------------

Generated by HMSSettingsDiagnostics v1.99, Hmailserver Forum.

User avatar
Dravion
Senior user
Senior user
Posts: 2071
Joined: 2015-09-26 11:50
Location: Germany
Contact:

Re: Can't get it to work

Post by Dravion » 2020-04-07 14:07

You cannot use SSL/TLS if it isnt enabled.
Check the Docs regarding installing a SSL-Certificate.

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-07 14:24

What do you mean by not enabled?
And the docs keep saying there is a Settings -> Advanced -> Security tab, but I don't see it.

User avatar
RvdH
Senior user
Senior user
Posts: 3235
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Can't get it to work

Post by RvdH » 2020-04-07 14:57

DJ1TJOO wrote:
2020-04-07 14:24
What do you mean by not enabled?
And the docs keep saying there is a Settings -> Advanced -> Security tab, but I don't see it.
Don't know what docs you are reading, but the latest clearly states: Settings -> Advanced -> SSL certificates
https://www.hmailserver.com/documentati ... rtificates
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-07 15:03

Do you mean this:
https://imgur.com/a/RFLev5c

I've done that

User avatar
RvdH
Senior user
Senior user
Posts: 3235
Joined: 2008-06-27 14:42
Location: The Netherlands

Re: Can't get it to work

Post by RvdH » 2020-04-07 15:20

Code: Select all

               0.0.0.0         / 25    / SMTP   -   SSL/TLS             !! External Email Blocked !!  Cert: ThomasBrants.nl
               0.0.0.0         / 110   / POP3   -   SSL/TLS             Cert: ThomasBrants.nl
               0.0.0.0         / 143   / IMAP   -   SSL/TLS             Cert: ThomasBrants.nl
               0.0.0.0         / 587   / SMTP   -   SSL/TLS             Cert: ThomasBrants.nl
               0.0.0.0         / 993   / IMAP   -   SSL/TLS             Cert: ThomasBrants.nl
SMTP:25 make it STARTTLS (Optional)
SMTP:110 make it at least STARTTLS (Optional), STARTTLS (Required) if you have a very good reason for that
IMAP:143 make it at least STARTTLS (Optional), STARTTLS (Required) if you have a very good reason for that
SMTP:587 make it at least STARTTLS (Optional), STARTTLS (Required) if you have a very good reason for that
IMAP:993 the only right one in your setup
CIDR to RegEx: d-fault.nl/cidrtoregex
DNS Lookup: d-fault.nl/dnstools
DKIM Generator: d-fault.nl/dkimgenerator
DNSBL Lookup: d-fault.nl/dnsbllookup
GEOIP Lookup: d-fault.nl/geoiplookup

DJ1TJOO
New user
New user
Posts: 22
Joined: 2020-04-05 15:14

Re: Can't get it to work

Post by DJ1TJOO » 2020-04-07 15:24

It works! Thanks!

Post Reply