Using hMail as SMTP Relay for Scanners

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
lance.peterson
New user
New user
Posts: 6
Joined: 2020-10-08 16:39

Using hMail as SMTP Relay for Scanners

Post by lance.peterson » 2020-10-08 16:57

We had an inhouse Email Security Gateway that we took to the cloud. So our internal copiers pointed there, now that it's gone I'm hoping to use a simple hMail for that purpose. When I point the copier to it the logs indicate it doesn't see the account, which I haven't put all the accounts in it as I just want to relay off hMail. Anyone know how to set this up appropriately. I haven't been able to find any documentation on this on the website.

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

Re: Using hMail as SMTP Relay for Scanners

Post by jimimaseye » 2020-10-08 17:50

Without a Domain:

Delete INTERNET ip range.

Create new IP RANE for the IP ADDRESS of your internal printer

Set allow EXTERNAL to EXTERNAL Deliveries

OR

With a Domain:

create an authenticating account (eg, Authenticate@yourdomain.com )

use this address as the authentication account in your printer.

Delete INTERNET ip range.

Create new IP RANGE for the IP ADDRESS of your internal printer

Set allow LOCAL to EXTERNAL Deliveries with Authentication (disable all other options)
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

lance.peterson
New user
New user
Posts: 6
Joined: 2020-10-08 16:39

Re: Using hMail as SMTP Relay for Scanners

Post by lance.peterson » 2020-10-08 18:49

Ok so I attempted to do this without a domain. Attached are the screenshots. Do they look correct?

Here is what the logs say.

"SMTPD" 3124 18 "2020-10-08 11:42:05.236" "172.16.6.57" "SENT: 220 co.XXXX.XXX.XXX ESMTP"
"SMTPD" 3828 18 "2020-10-08 11:42:05.236" "172.16.6.57" "RECEIVED: HELO RODMULTI"
"SMTPD" 3828 18 "2020-10-08 11:42:05.236" "172.16.6.57" "SENT: 250 Hello."
"SMTPD" 5748 18 "2020-10-08 11:42:05.252" "172.16.6.57" "RECEIVED: MAIL FROM:<copier@co.XXX.XX.XX>"
"SMTPD" 5748 18 "2020-10-08 11:42:05.252" "172.16.6.57" "SENT: 250 OK"
"SMTPD" 5748 18 "2020-10-08 11:42:05.252" "172.16.6.57" "RECEIVED: RCPT TO:<firstname.lastname@co.XX.XX.XX>"
"SMTPD" 5748 18 "2020-10-08 11:42:05.252" "172.16.6.57" "SENT: 530 SMTP authentication is required."
"SMTPD" 5748 18 "2020-10-08 11:42:05.252" "172.16.6.57" "RECEIVED: QUIT"
"SMTPD" 5748 18 "2020-10-08 11:42:05.252" "172.16.6.57" "SENT: 221 goodbye"
Attachments
Mail2.JPG
Mail1.JPG

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

Re: Using hMail as SMTP Relay for Scanners

Post by palinka » 2020-10-08 19:17

Uncheck "external to external email addresses" under "require smtp authentication".

lance.peterson
New user
New user
Posts: 6
Joined: 2020-10-08 16:39

Re: Using hMail as SMTP Relay for Scanners

Post by lance.peterson » 2020-10-08 19:47

I no longer get the error message but now it's in the delivery queue and doesn't appear to want to go anywhere. See attachment.
Attachments
mail3.JPG

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

Re: Using hMail as SMTP Relay for Scanners

Post by johang » 2020-10-08 20:42

lance.peterson wrote:
2020-10-08 19:47
I no longer get the error message but now it's in the delivery queue and doesn't appear to want to go anywhere. See attachment.
what do your log say ( add everything to log TCP/IP SMTP DEBUG APPLICATION ) and try again
___________________________________________________________end of the line

lance.peterson
New user
New user
Posts: 6
Joined: 2020-10-08 16:39

Re: Using hMail as SMTP Relay for Scanners

Post by lance.peterson » 2020-10-08 20:57

"DEBUG" 3124 "2020-10-08 13:52:33.449" "Creating session 29"
"TCPIP" 3124 "2020-10-08 13:52:33.449" "TCP - 172.16.X.57 connected to 172.16.X.48:25."
"DEBUG" 3124 "2020-10-08 13:52:33.449" "TCP connection started for session 22"
"SMTPD" 3124 22 "2020-10-08 13:52:33.465" "172.16.x.57" "SENT: 220 co.XX.xx.xx ESMTP"
"SMTPD" 3124 22 "2020-10-08 13:52:33.481" "172.16.x.57" "RECEIVED: HELO RODMULTI"
"SMTPD" 3124 22 "2020-10-08 13:52:33.481" "172.16.x.57" "SENT: 250 Hello."
"SMTPD" 5748 22 "2020-10-08 13:52:33.496" "172.16.x.57" "RECEIVED: MAIL FROM:<x@co.x.x.x>"
"SMTPD" 5748 22 "2020-10-08 13:52:33.512" "172.16.x.57" "SENT: 250 OK"
"SMTPD" 3124 22 "2020-10-08 13:52:33.512" "172.16.x.57" "RECEIVED: RCPT TO:<x.x@co.xx.x.x>"
"SMTPD" 3124 22 "2020-10-08 13:52:33.527" "172.16.x.57" "SENT: 250 OK"
"SMTPD" 2168 22 "2020-10-08 13:52:33.543" "172.16.x.57" "RECEIVED: RCPT TO:<x.x@co.x.x.x>"
"SMTPD" 2168 22 "2020-10-08 13:52:33.543" "172.16.x.57" "SENT: 250 OK"
"SMTPD" 2788 22 "2020-10-08 13:52:33.559" "172.16.x.57" "RECEIVED: DATA"
"SMTPD" 2788 22 "2020-10-08 13:52:33.559" "172.16.x.57" "SENT: 354 OK, send."
"DEBUG" 2788 "2020-10-08 13:52:34.508" "Could not retrieve PTR record for IP (false)! 172.16.x.57"
"DEBUG" 2788 "2020-10-08 13:52:34.508" "Adding task AsynchronousTask to work queue Asynchronous task queue"
"DEBUG" 512 "2020-10-08 13:52:34.508" "Executing task AsynchronousTask in work queue Asynchronous task queue"
"DEBUG" 512 "2020-10-08 13:52:34.508" "Saving message: {F5164411-9249-431A-8742-8E6C6B1A85E1}.eml"
"DEBUG" 512 "2020-10-08 13:52:34.508" "Requesting SMTPDeliveryManager to start message delivery"
"SMTPD" 512 22 "2020-10-08 13:52:34.508" "172.16.x.57" "SENT: 250 Queued (0.928 seconds)"
"DEBUG" 2412 "2020-10-08 13:52:34.524" "Adding task DeliveryTask to work queue SMTP delivery queue"
"SMTPD" 2168 22 "2020-10-08 13:52:34.524" "172.16.x.57" "RECEIVED: QUIT"
"SMTPD" 2168 22 "2020-10-08 13:52:34.524" "172.16.x.57" "SENT: 221 goodbye"
"DEBUG" 716 "2020-10-08 13:52:34.524" "Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG" 716 "2020-10-08 13:52:34.524" "Delivering message..."
"APPLICATION" 716 "2020-10-08 13:52:34.524" "SMTPDeliverer - Message 3: Delivering message from copier@co.x.x.x to x.x@co.x.x.x, x.x@co.xx.x.x. File: C:\Program Files (x86)\hMailServer\Data\{F5164411-9249-431A-8742-8E6C6B1A85E1}.eml"
"DEBUG" 716 "2020-10-08 13:52:34.524" "Applying rules"
"DEBUG" 716 "2020-10-08 13:52:34.524" "Performing local delivery"
"DEBUG" 716 "2020-10-08 13:52:34.524" "Local delivery completed"
"DEBUG" 5748 "2020-10-08 13:52:34.524" "Ending session 22"
"APPLICATION" 716 "2020-10-08 13:52:34.555" "SMTPDeliverer - Message 3: Relaying to host smtp-relay.gmail.com."
"DEBUG" 716 "2020-10-08 13:52:34.555" "Starting external delivery process. Server: smtp-relay.gmail.com (74.125.202.28), Port: 587, Security: 1, User name: copier"
"DEBUG" 716 "2020-10-08 13:52:34.555" "Creating session 30"
"TCPIP" 716 "2020-10-08 13:52:34.555" "Connecting to 74.125.202.28:587..."
"DEBUG" 2788 "2020-10-08 13:52:34.570" "TCP connection started for session 30"
"DEBUG" 2788 "2020-10-08 13:52:34.570" "Performing SSL/TLS handshake for session 30. Verify certificate: True, Expected remote host name: smtp-relay.gmail.com"
"TCPIP" 5748 "2020-10-08 13:52:34.633" "TCPConnection - TLS/SSL handshake failed. Session Id: 30, Remote IP: 74.125.202.28, Error code: 336031996, Message: unknown protocol"
"DEBUG" 5748 "2020-10-08 13:52:34.633" "Ending session 30"
"DEBUG" 716 "2020-10-08 13:52:34.633" "External delivery process completed"
"DEBUG" 716 "2020-10-08 13:52:34.633" "Summarizing delivery result"
"DEBUG" 716 "2020-10-08 13:52:34.649" "Summarized delivery results"
"DEBUG" 716 "2020-10-08 13:52:34.649" "SD::RescheduleDelivery_"
"DEBUG" 716 "2020-10-08 13:52:34.649" "Retrieving retry options."
"DEBUG" 716 "2020-10-08 13:52:34.649" "Starting rescheduling."
"APPLICATION" 716 "2020-10-08 13:52:34.649" "SMTPDeliverer - Message 3: Message could not be delivered. Scheduling it for later delivery in 10 minutes."
"DEBUG" 716 "2020-10-08 13:52:34.649" "PersistentMessage::SetNextTryTime()"
"DEBUG" 716 "2020-10-08 13:52:34.649" "PersistentMessage::~SetNextTryTime()"
"DEBUG" 716 "2020-10-08 13:52:34.649" "Message rescheduled for later delivery."
"APPLICATION" 716 "2020-10-08 13:52:34.649" "SMTPDeliverer - Message 3: Message delivery thread completed."

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

Re: Using hMail as SMTP Relay for Scanners

Post by johang » 2020-10-08 21:11

"TCPIP" 5748 "2020-10-08 13:52:34.633" "TCPConnection - TLS/SSL handshake failed. Session Id: 30, Remote IP: 74.125.202.28, Error code: 336031996, Message: unknown protocol"

do you have a firewall messing with the SSL trying to inspect it so it fails ?
do you have an antivirus that is getting into the "conversation" ?
did you disable SSL v 3.0 in [Settings][Advanced][SSL/TLS] ?
___________________________________________________________end of the line

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

Re: Using hMail as SMTP Relay for Scanners

Post by palinka » 2020-10-09 00:03

lance.peterson wrote:
2020-10-08 20:57
"DEBUG" 2788 "2020-10-08 13:52:34.570" "Performing SSL/TLS handshake for session 30. Verify certificate: True, Expected remote host name: smtp-relay.gmail.com"
"TCPIP" 5748 "2020-10-08 13:52:34.633" "TCPConnection - TLS/SSL handshake failed. Session Id: 30, Remote IP: 74.125.202.28, Error code: 336031996, Message: unknown protocol"
In settings > advanced > ssl/tls, uncheck "verify remote server ssl/tls certificates".

If I remember correctly, gmail uses a self signed certificate. Can't be verified.

Edit - if you want to verify gmail certificates, have a look here: https://www.hmailserver.com/forum/viewtopic.php?t=32158

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

Re: Using hMail as SMTP Relay for Scanners

Post by johang » 2020-10-09 08:20

palinka wrote:
2020-10-09 00:03
In settings > advanced > ssl/tls, uncheck "verify remote server ssl/tls certificates".

If I remember correctly, gmail uses a self signed certificate. Can't be verified.

Edit - if you want to verify gmail certificates, have a look here: https://www.hmailserver.com/forum/viewtopic.php?t=32158
:oops: :oops: that was a very much better answer then mine ..
___________________________________________________________end of the line

lance.peterson
New user
New user
Posts: 6
Joined: 2020-10-08 16:39

Re: Using hMail as SMTP Relay for Scanners

Post by lance.peterson » 2020-10-22 19:50

I was able to get it working with your instruction previously. I had set this server up with a temporary IP. My plan was to shut off the old device that we need to send back and then re-IP this new Server to what the other IP was so we didn't have to touch each machine to change the IP and touch the code of some applications. I did that and it wasn't working after that. Here is the log from the email I tried to send after the re-IP. Any suggestions for this would be great.

"DEBUG" 2572 "2020-10-22 12:35:11.085" "Adding task DeliveryTask to work queue SMTP delivery queue"
"DEBUG" 2612 "2020-10-22 12:35:11.085" "Executing task DeliveryTask in work queue SMTP delivery queue"
"DEBUG" 2612 "2020-10-22 12:35:11.085" "Delivering message..."
"APPLICATION" 2612 "2020-10-22 12:35:11.085" "SMTPDeliverer - Message 47: Delivering message from copier@co.barron.wi.us to lance.peterson@co.barron.wi.us. File: C:\Program Files (x86)\hMailServer\Data\{036AA217-5371-4B1B-8794-8ADEF464012E}.eml"
"DEBUG" 2612 "2020-10-22 12:35:11.085" "Applying rules"
"DEBUG" 2612 "2020-10-22 12:35:11.085" "Performing local delivery"
"DEBUG" 2612 "2020-10-22 12:35:11.085" "Local delivery completed"
"TCPIP" 2612 "2020-10-22 12:35:11.085" "DNS MX lookup: co.barron.wi.us"
"TCPIP" 2612 "2020-10-22 12:35:11.085" "DNS - MX Result: 2 IP addresses were found."
"DEBUG" 2612 "2020-10-22 12:35:11.085" "Starting external delivery process. Server: smtp2.co.barron.wi.us (172.16.6.100), Port: 25, Security: 2, User name: "
"DEBUG" 2612 "2020-10-22 12:35:11.085" "Creating session 64"
"TCPIP" 2612 "2020-10-22 12:35:11.100" "Connecting to 172.16.6.100:25..."
"DEBUG" 2612 "2020-10-22 12:35:11.100" "SMTPDeliverer - Message 47 - Connection failed: Could not connect to 172.16.6.100 on port 25 since this would mean connecting to myself."
"TCPIP" 2612 "2020-10-22 12:35:11.100" "TCPConnection - Could not connect to 172.16.6.100 on port 25 since this would mean connecting to myself."
"DEBUG" 2612 "2020-10-22 12:35:11.100" "Ending session 64"
"DEBUG" 2612 "2020-10-22 12:35:11.100" "External delivery process completed"
"DEBUG" 2612 "2020-10-22 12:35:11.100" "Summarizing delivery result"
"DEBUG" 2612 "2020-10-22 12:35:11.100" "Summarized delivery results"
"DEBUG" 2612 "2020-10-22 12:35:11.100" "SD::RescheduleDelivery_"
"DEBUG" 2612 "2020-10-22 12:35:11.100" "Retrieving retry options."
"DEBUG" 2612 "2020-10-22 12:35:11.100" "Aborting delivery."
"APPLICATION" 2612 "2020-10-22 12:35:11.100" "SMTPDeliverer - Message 47: Message could not be delivered. Returning error log to sender."
"DEBUG" 2612 "2020-10-22 12:35:11.100" "Message not rescheduled for later delivery."
"DEBUG" 2612 "2020-10-22 12:35:11.100" "SD::SubmitErrorLog_"
"DEBUG" 2612 "2020-10-22 12:35:11.116" "Saving message: {DF90E4E4-AEB5-4B0D-82F3-6374007E3CFD}.eml"
"DEBUG" 2612 "2020-10-22 12:35:11.116" "SD::~SubmitErrorLog_"
"DEBUG" 2612 "2020-10-22 12:35:11.116" "Deleting message"
"DEBUG" 2612 "2020-10-22 12:35:11.116" "Deleting message file."
"APPLICATION" 2612 "2020-10-22 12:35:11.116" "SMTPDeliverer - Message 47: Message delivery thread completed."

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

Re: Using hMail as SMTP Relay for Scanners

Post by jimimaseye » 2020-10-22 20:55

run this and post the results: https://www.hmailserver.com/forum/viewt ... 20&t=30914

The clue is here:
lance.peterson wrote:
2020-10-22 19:50
"DEBUG" 2612 "2020-10-22 12:35:11.085" "Starting external delivery process. Server: smtp2.co.barron.wi.us (172.16.6.100), Port: 25, Security: 2, User name: "
"DEBUG" 2612 "2020-10-22 12:35:11.085" "Creating session 64"
"TCPIP" 2612 "2020-10-22 12:35:11.100" "Connecting to 172.16.6.100:25..."
"DEBUG" 2612 "2020-10-22 12:35:11.100" "SMTPDeliverer - Message 47 - Connection failed: Could not connect to 172.16.6.100 on port 25 since this would mean connecting to myself."
[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

lance.peterson
New user
New user
Posts: 6
Joined: 2020-10-08 16:39

Re: Using hMail as SMTP Relay for Scanners

Post by lance.peterson » 2020-10-22 21:07

What I did change was under SMTP>Delivery of email I changed to smtp.gmail.com, from co.barron.wi.us. The text below from the VBS script. The IP I want to change it to is 172.16.6.100

Code: Select all

2020-10-22   Hmailserver: 5.6.7-B2425

DOMAINS
     (No Domains Entered)

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

IP RANGES

IP: 172.16.6.1 - 172.16.6.250     Priority: 0     Name: Copiers

  Allow connections                         Other
     SMTP:   True                              Antispam :  False
     POP3:  False                              Antivirus:  False
     IMAP:  False                              SSL/TLS:    False

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


IP: 172.16.89.1 - 172.16.89.250     Priority: 0     Name: Servers

  Allow connections                         Other
     SMTP:   True                              Antispam :  False
     POP3:  False                              Antivirus:  False
     IMAP:  False                              SSL/TLS:    False

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


------------------------------------------------------
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: 10   Plain Text:        False  Bind: 
                     Host: EXTERNAL.TLD        Empty sender:       True  Batch recipients:   400
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 :   True
             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: True

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

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:     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=              MSSQLCE
Username=           
PasswordEncryption=1
Port=              0
Server=             
Internal=          1
-----------------------------------------------------------------------------------------------

Generated by HMSSettingsDiagnostics v2.01, Hmailserver Forum.

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

Re: Using hMail as SMTP Relay for Scanners

Post by jimimaseye » 2020-10-22 22:51

Toe dns lookup from that internal server is being ripped differently to that of the external dns servers.

https://mxtoolbox.com/SuperTool.aspx?ac ... n=toolpage

This shows mx records for co.barron.wi.us to be pointing at d227320a/b.ess.barracudanetworks.com yet your hms is resolving tosmtp2.co.barron.wi.us

So check your local dns tables.

[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

Post Reply