I took your advice and have been trying to get it working using no encryption on port 25 again. Yes, my instance of Mercury is to receive mail from my webform and send it off by smarthost through my provider. Incoming mail can be received now. Here is a copy of my Mercury.ini file
# MERCURY.INI generated by Mercury Setup
#
#
# Sample Bindery Mode MERCURY.INI file (in fact, the one I use on
# my production server). This one implements most of the possible
# switches for each module, but you can edit it to do less if you
# wish. All the fields shown below are described in the file
# MGUIDE.HLP which is supplied in the Mercury archive.
#
# Anything after a '#' to the end of the line is a comment and
# is stripped out before parsing. Trailing and leading whitespace
# is also stripped before parsing. Many sample commands have been
# left in this file commented out for reference purposes.
#
[General]
myname: localhost # Canonical name for this server
timezone: +0000 # Time Zone to add to date fields
file_api: 1 # Use the file api instead of queues
mailqueue: C:\XAMPP\MERCURYMAIL\QUEUE # Where mail should be put for delivery
smtpqueue: C:\XAMPP\MERCURYMAIL\QUEUE # Where the SMTP client should look for mail
newmail_path: C:\XAMPP\MERCURYMAIL\MAIL\~N # Where to find the users' WinPMail mailboxes.
[Protocols]
MERCURYS.DLL
MERCURYP.DLL
# MERCURYE.DLL
MERCURYC.DLL
MERCURYD.DLL
# MERCURYH.DLL
# MERCURYF.DLL
# MERCURYW.DLL
# MERCURYX.DLL
MERCURYI.DLL
# MERCURYB.DLL
[Mercury]
failfile: C:\xampp\MERCURYMAIL\Mercury\FAILURE.MER # Delivery failure notification template
confirmfile: C:\xampp\MERCURYMAIL\Mercury\CONFIRM.MER # Delivery confirmation template
aliasfile: C:\xampp\MERCURYMAIL\Mercury\ALIAS.MER # System-wide alias file
synfile: C:\xampp\MERCURYMAIL\Mercury\SYNONYM.MER # User synonym database
listfile: C:\xampp\MERCURYMAIL\Mercury\LISTS.MER # List of lists
logwidth: 30 # Width of address fields in logfile
retpath: 1 # Do/Don't use 'return-path' for errors
maxhops: 30 # Used to detect mailing loops
gullible: 0 # If NZ, don't validate 'From' fields
bitnethost: cunyvm.cuny.edu # Relay host for '.bitnet' rewrites
poll: 10 # Seconds between queue polling cycles
scratch: C:\xampp\MERCURYMAIL\Scratch # Where we can write temp files
returnlines: 15 # How many lines of failed messages to return
postmaster: Administrator # NetWare UIC of postmaster
broadcast: 1 # Yes, we want broadcast notifications, but
receipts: 0 # ... no broadcasts for receipt confirmations
PM_notify: 0 # Do/Don't send errors to the postmaster
change_owner: 1 # Change message ownership to recipient
auto_tzone: 1 # If NZ, obtain timezone information from OS
LogLevel: 15 # System message reporting level
LogMax: 100 # Maximum number of system messages to store
RetryPeriod: 30 # Period between job retries (minutes)
MaxRetries: 16 # Maximum number of times a job can fail
TwoPasses: 1 # If NZ, process submission queue in 2 passes
Autoaddress: 0 # If NZ, auto-generate user addresses based on name
Daily_exit: 0 # If NZ, auto-restart each day after maintenance
No_Areply: 0 # If NZ, disable automatic replies system-wide
Alt_Forward: 0 # If NZ, allow alternate forwarding specification
Maint_hour: 2 # Hour for daily maintenance (24-hour clock)
Maint_min: 0 # Minute for daily maintenance
Retry_Mode: 0 # If NZ, use progressive backoff for queue retries
Local_DSNs: 1 # If NZ generate Delivery Status for local users only
DSN_time1: 10800 # Seconds deferred before first DSN is sent
DSN_time2: 86400 # Seconds deferred before second DSN is sent
DSN_time3: 259200 # Seconds deferred before third DSN is sent
Host_in_title: 0 # If NZ, show hostname in system tray and taskbar
Lingering: 0 # Enable or disable 'lingering mailboxes'
Linger_Timeout: 60 # Seconds before a lingering mailbox is shut down
Alert_Host: notify.pmail.com # Host to check for licensee advisories
Alert_Interval: 720 # Frequency in minutes (min 240) for checks
Alert_Flags: 3 # Flags controlling advisory checks
Fast_First_Retry: 0 # Expedited first retries (greylist mitigation)
Fast_First_Retry_Secs: 60 # Delay in seconds for expedited retries
[MercuryC]
Host : smtp.talktalkbusiness.net
Failfile : C:\xampp\MERCURYMAIL\Mercury\FAILURE.MER
HELO : finchkeeper.com
Poll : 30
Scratch : C:\xampp\MERCURYMAIL\Mercury
ReturnLines : 15
Timeout : 30
ESMTP : 1
SMTP_Username: username
SMTP_Password: pass
POP3_Auth : 0
POP3_Host : pop3.talktalkbusiness.net
Logfile : C:\xampp\MERCURYMAIL\Mercury\GENERAL.MER
Log_Verbose : 0
Session_logging : C:\xampp\MERCURYMAIL\Mercury\SESSIONS.MER
Session_logmode : 0
[MercuryE]
HELO : finchkeeoer.com
Session_logging : C:\XAMPP\MERCURYMAIL\LOGS
Session_logmode : 1
Poll : 15
Timeout : 60
Nameservers : 208.67.222.222,208.67.220.220
Logfile : C:\XAMPP\MERCURYMAIL\LOGS
Log_Verbose : 1
DNS_Timeout : 20
DNS_Retries : 4
Transcripts : 1
MaxThreads : 1
[MercuryD]
scratch : C:\xampp\MERCURYMAIL\Mercury
# Timeout : 30
# Poll : 120 # How often to check hosts for new mail (seconds)
[MercuryS]
Debug : 1
Logfile : C:\xampp\MERCURYMAIL\Logs\MERCURYS.LOG
Timeout : 30
Relay : 0
Strict_Relay : 0
Interface :
Allow_Illegals : 0
SMTP_Authentication : 0
Compliance_Settings : 216
Maximum_Failed_Rcpts : 4
Max_Relay_Attempts : 4
SSL_Mode : 0
SSL_Certfile : C:\xampp\apache\conf\ssl.crt\server.crt
ST_Blacklisting : 288
No_VRFY : 0
SMTP_ConnFlags : 0
SSLD_Port : 0
Compliance_Exceptions :
Phish_Prot : 0
[MercuryP]
Scratch : C:\xampp\MERCURYMAIL\Mercury
Stack : 32768
Interface : 127.0.0.1
Mark_Read : 1
POPAlias_File :
SSL_Mode : 0
SSL_Certfile : C:\xampp\apache\conf\ssl.crt\server.crt
Login_Disabled : 0
UIDL_nul_list : 1
New_UIDs : 0
No_NUL_passwords : 1
SSLD_Port : 995
Timeout : 60
[MercuryX]
# Cmd_Delay: 10
# Cmd_Wait: 1
# IE4_Dialling: 0
# Use_ETRN: 1
# Clients_only: 1
# Sunday: 0800,1800,3,15,30,60
# Monday: 0830,2100,5,15,60,60
# Tuesday: 0830,2100,5,15,60,60
# Wednesday: 1500,1900,2,30,5,30
# Thursday: 0900,1900,2,30,0,0
# Friday: 0830,2100,5,15,60,60
# Saturday: 1031,1035,2,45,-1,0
# [Groups]
# testgroup : TESTGRP
[Domains]
localhost: localhost
localhost: aviandirectory.uk
localhost: [127.0.0.1]
localhost: 192.168.1.2
[Maiser]
Maiser: Maiser # 'Username' of mail server account
Helpfile: C:\xampp\MERCURYMAIL\Mercury\MAISER.HLP # Help sent on failed maiser requests
Lookupfile: C:\xampp\MERCURYMAIL\Mercury\MAISER.LKP # Format file for the 'lookup' command
Send_dir: C:\xampp\MERCURYMAIL\Mercury\SENDABLE # Directory for the 'send' command
Logfile: C:\xampp\MERCURYMAIL\Logs\MAISER.LOG # Mail server log file
Notify: C:\xampp\MERCURYMAIL\Mercury\TMP # Dir. for pending 'notify' commands
NoList: N # If 'Y', disable the 'list' command
Local_only: Y # If 'Y', local 'notify' commands only
[MercuryH]
Logfile : C:\xampp\MERCURYMAIL\Logs\MERCURYH.LOG
# Addressbook : \\CLIO\SYS\SYSTEM\MERCURY\PH.PMR
# MOTD : \\CLIO\SYS\SYSTEM\MERCURY\PH-MOTD.TXT
# Administrator : postmaster@clio.pmail.gen.nz
Timeout : 30
[MercuryI]
Scratch : C:\xampp\MERCURYMAIL\SCRATCH
Logfile : C:\xampp\MERCURYMAIL\Logs\imap
Timeout : 120
Server_Port : 143
SSL_Port: 993
Charset : ISO-8859-1
Interface : 127.0.0.1
Session_logging : C:\xampp\MERCURYMAIL\Logs
Session_logmode : 1
Idle_Timeout : 1800
SSL_Mode : 0
SSL_Certfile : C:\xampp\apache\conf\ssl.crt\server.crt
Login_Disabled : 0
No_NUL_passwords : 1
[MercuryB]
Scratch : C:\xampp\MERCURYMAIL\SCRATCH
Timeout : 120
Server_Port : 2224
Idle_Timeout : 1800
[Groups]
[Rewrite]
[Statistics]
StatFlags: 0 # Statistical reporting settings
STF_Hours: 24 # How often to write stat log files
STM_Hours: 24 # How often to e-mail stat log files
Here is my SESSION.LOG file
05:17:37.660: --- 26 Aug 2023, 5:17:37.660 ---
05:17:37.660: Connect to 'smtp.talktalkbusiness.net', timeout 30 seconds.
05:17:58.708: 15: Peer connect failure
Here is my MERCURY.LOG file after trying to send an email via webform.
T 20230826 051721 64e97cc2 Connection from 127.0.0.1
T 20230826 051721 64e97cc2 EHLO www.aviandirectory.uk
T 20230826 051721 64e97cc2 MAIL FROM:<noreply@aviandirectory.uk>
T 20230826 051721 64e97cc2 RCPT TO:<dion2u2002@hotmail.com>
T 20230826 051721 64e97cc2 DATA
T 20230826 051721 64e97cc2 DATA - 38 lines, 1427 bytes.
T 20230826 051721 64e97cc2 QUIT
T 20230826 051721 64e97cc2 Connection closed with 127.0.0.1, 0 sec. elapsed.
I took your advice and have been trying to get it working using no encryption on port 25 again. Yes, my instance of Mercury is to receive mail from my webform and send it off by smarthost through my provider. Incoming mail can be received now. Here is a copy of my Mercury.ini file
````
# MERCURY.INI generated by Mercury Setup
#
#
# Sample Bindery Mode MERCURY.INI file (in fact, the one I use on
# my production server). This one implements most of the possible
# switches for each module, but you can edit it to do less if you
# wish. All the fields shown below are described in the file
# MGUIDE.HLP which is supplied in the Mercury archive.
#
# Anything after a '#' to the end of the line is a comment and
# is stripped out before parsing. Trailing and leading whitespace
# is also stripped before parsing. Many sample commands have been
# left in this file commented out for reference purposes.
#
[General]
myname: localhost # Canonical name for this server
timezone: +0000 # Time Zone to add to date fields
file_api: 1 # Use the file api instead of queues
mailqueue: C:\XAMPP\MERCURYMAIL\QUEUE # Where mail should be put for delivery
smtpqueue: C:\XAMPP\MERCURYMAIL\QUEUE # Where the SMTP client should look for mail
newmail_path: C:\XAMPP\MERCURYMAIL\MAIL\~N # Where to find the users' WinPMail mailboxes.
[Protocols]
MERCURYS.DLL
MERCURYP.DLL
# MERCURYE.DLL
MERCURYC.DLL
MERCURYD.DLL
# MERCURYH.DLL
# MERCURYF.DLL
# MERCURYW.DLL
# MERCURYX.DLL
MERCURYI.DLL
# MERCURYB.DLL
[Mercury]
failfile: C:\xampp\MERCURYMAIL\Mercury\FAILURE.MER # Delivery failure notification template
confirmfile: C:\xampp\MERCURYMAIL\Mercury\CONFIRM.MER # Delivery confirmation template
aliasfile: C:\xampp\MERCURYMAIL\Mercury\ALIAS.MER # System-wide alias file
synfile: C:\xampp\MERCURYMAIL\Mercury\SYNONYM.MER # User synonym database
listfile: C:\xampp\MERCURYMAIL\Mercury\LISTS.MER # List of lists
logwidth: 30 # Width of address fields in logfile
retpath: 1 # Do/Don't use 'return-path' for errors
maxhops: 30 # Used to detect mailing loops
gullible: 0 # If NZ, don't validate 'From' fields
bitnethost: cunyvm.cuny.edu # Relay host for '.bitnet' rewrites
poll: 10 # Seconds between queue polling cycles
scratch: C:\xampp\MERCURYMAIL\Scratch # Where we can write temp files
returnlines: 15 # How many lines of failed messages to return
postmaster: Administrator # NetWare UIC of postmaster
broadcast: 1 # Yes, we want broadcast notifications, but
receipts: 0 # ... no broadcasts for receipt confirmations
PM_notify: 0 # Do/Don't send errors to the postmaster
change_owner: 1 # Change message ownership to recipient
auto_tzone: 1 # If NZ, obtain timezone information from OS
LogLevel: 15 # System message reporting level
LogMax: 100 # Maximum number of system messages to store
RetryPeriod: 30 # Period between job retries (minutes)
MaxRetries: 16 # Maximum number of times a job can fail
TwoPasses: 1 # If NZ, process submission queue in 2 passes
Autoaddress: 0 # If NZ, auto-generate user addresses based on name
Daily_exit: 0 # If NZ, auto-restart each day after maintenance
No_Areply: 0 # If NZ, disable automatic replies system-wide
Alt_Forward: 0 # If NZ, allow alternate forwarding specification
Maint_hour: 2 # Hour for daily maintenance (24-hour clock)
Maint_min: 0 # Minute for daily maintenance
Retry_Mode: 0 # If NZ, use progressive backoff for queue retries
Local_DSNs: 1 # If NZ generate Delivery Status for local users only
DSN_time1: 10800 # Seconds deferred before first DSN is sent
DSN_time2: 86400 # Seconds deferred before second DSN is sent
DSN_time3: 259200 # Seconds deferred before third DSN is sent
Host_in_title: 0 # If NZ, show hostname in system tray and taskbar
Lingering: 0 # Enable or disable 'lingering mailboxes'
Linger_Timeout: 60 # Seconds before a lingering mailbox is shut down
Alert_Host: notify.pmail.com # Host to check for licensee advisories
Alert_Interval: 720 # Frequency in minutes (min 240) for checks
Alert_Flags: 3 # Flags controlling advisory checks
Fast_First_Retry: 0 # Expedited first retries (greylist mitigation)
Fast_First_Retry_Secs: 60 # Delay in seconds for expedited retries
[MercuryC]
Host : smtp.talktalkbusiness.net
Failfile : C:\xampp\MERCURYMAIL\Mercury\FAILURE.MER
HELO : finchkeeper.com
Poll : 30
Scratch : C:\xampp\MERCURYMAIL\Mercury
ReturnLines : 15
Timeout : 30
ESMTP : 1
SMTP_Username: username
SMTP_Password: pass
POP3_Auth : 0
POP3_Host : pop3.talktalkbusiness.net
Logfile : C:\xampp\MERCURYMAIL\Mercury\GENERAL.MER
Log_Verbose : 0
Session_logging : C:\xampp\MERCURYMAIL\Mercury\SESSIONS.MER
Session_logmode : 0
[MercuryE]
HELO : finchkeeoer.com
Session_logging : C:\XAMPP\MERCURYMAIL\LOGS
Session_logmode : 1
Poll : 15
Timeout : 60
Nameservers : 208.67.222.222,208.67.220.220
Logfile : C:\XAMPP\MERCURYMAIL\LOGS
Log_Verbose : 1
DNS_Timeout : 20
DNS_Retries : 4
Transcripts : 1
MaxThreads : 1
[MercuryD]
scratch : C:\xampp\MERCURYMAIL\Mercury
# Timeout : 30
# Poll : 120 # How often to check hosts for new mail (seconds)
[MercuryS]
Debug : 1
Logfile : C:\xampp\MERCURYMAIL\Logs\MERCURYS.LOG
Timeout : 30
Relay : 0
Strict_Relay : 0
Interface :
Allow_Illegals : 0
SMTP_Authentication : 0
Compliance_Settings : 216
Maximum_Failed_Rcpts : 4
Max_Relay_Attempts : 4
SSL_Mode : 0
SSL_Certfile : C:\xampp\apache\conf\ssl.crt\server.crt
ST_Blacklisting : 288
No_VRFY : 0
SMTP_ConnFlags : 0
SSLD_Port : 0
Compliance_Exceptions :
Phish_Prot : 0
[MercuryP]
Scratch : C:\xampp\MERCURYMAIL\Mercury
Stack : 32768
Interface : 127.0.0.1
Mark_Read : 1
POPAlias_File :
SSL_Mode : 0
SSL_Certfile : C:\xampp\apache\conf\ssl.crt\server.crt
Login_Disabled : 0
UIDL_nul_list : 1
New_UIDs : 0
No_NUL_passwords : 1
SSLD_Port : 995
Timeout : 60
[MercuryX]
# Cmd_Delay: 10
# Cmd_Wait: 1
# IE4_Dialling: 0
# Use_ETRN: 1
# Clients_only: 1
# Sunday: 0800,1800,3,15,30,60
# Monday: 0830,2100,5,15,60,60
# Tuesday: 0830,2100,5,15,60,60
# Wednesday: 1500,1900,2,30,5,30
# Thursday: 0900,1900,2,30,0,0
# Friday: 0830,2100,5,15,60,60
# Saturday: 1031,1035,2,45,-1,0
# [Groups]
# testgroup : TESTGRP
[Domains]
localhost: localhost
localhost: aviandirectory.uk
localhost: [127.0.0.1]
localhost: 192.168.1.2
[Maiser]
Maiser: Maiser # 'Username' of mail server account
Helpfile: C:\xampp\MERCURYMAIL\Mercury\MAISER.HLP # Help sent on failed maiser requests
Lookupfile: C:\xampp\MERCURYMAIL\Mercury\MAISER.LKP # Format file for the 'lookup' command
Send_dir: C:\xampp\MERCURYMAIL\Mercury\SENDABLE # Directory for the 'send' command
Logfile: C:\xampp\MERCURYMAIL\Logs\MAISER.LOG # Mail server log file
Notify: C:\xampp\MERCURYMAIL\Mercury\TMP # Dir. for pending 'notify' commands
NoList: N # If 'Y', disable the 'list' command
Local_only: Y # If 'Y', local 'notify' commands only
[MercuryH]
Logfile : C:\xampp\MERCURYMAIL\Logs\MERCURYH.LOG
# Addressbook : \\CLIO\SYS\SYSTEM\MERCURY\PH.PMR
# MOTD : \\CLIO\SYS\SYSTEM\MERCURY\PH-MOTD.TXT
# Administrator : postmaster@clio.pmail.gen.nz
Timeout : 30
[MercuryI]
Scratch : C:\xampp\MERCURYMAIL\SCRATCH
Logfile : C:\xampp\MERCURYMAIL\Logs\imap
Timeout : 120
Server_Port : 143
SSL_Port: 993
Charset : ISO-8859-1
Interface : 127.0.0.1
Session_logging : C:\xampp\MERCURYMAIL\Logs
Session_logmode : 1
Idle_Timeout : 1800
SSL_Mode : 0
SSL_Certfile : C:\xampp\apache\conf\ssl.crt\server.crt
Login_Disabled : 0
No_NUL_passwords : 1
[MercuryB]
Scratch : C:\xampp\MERCURYMAIL\SCRATCH
Timeout : 120
Server_Port : 2224
Idle_Timeout : 1800
[Groups]
[Rewrite]
[Statistics]
StatFlags: 0 # Statistical reporting settings
STF_Hours: 24 # How often to write stat log files
STM_Hours: 24 # How often to e-mail stat log files
````
Here is my SESSION.LOG file
````
05:17:37.660: --- 26 Aug 2023, 5:17:37.660 ---
05:17:37.660: Connect to 'smtp.talktalkbusiness.net', timeout 30 seconds.
05:17:58.708: 15: Peer connect failure
````
Here is my MERCURY.LOG file after trying to send an email via webform.
````
T 20230826 051721 64e97cc2 Connection from 127.0.0.1
T 20230826 051721 64e97cc2 EHLO www.aviandirectory.uk
T 20230826 051721 64e97cc2 MAIL FROM:<noreply@aviandirectory.uk>
T 20230826 051721 64e97cc2 RCPT TO:<dion2u2002@hotmail.com>
T 20230826 051721 64e97cc2 DATA
T 20230826 051721 64e97cc2 DATA - 38 lines, 1427 bytes.
T 20230826 051721 64e97cc2 QUIT
T 20230826 051721 64e97cc2 Connection closed with 127.0.0.1, 0 sec. elapsed.
````
![64e97c5c0c0b2](serve/attachment&path=64e97c5c0c0b2)