Community Discussions and Support
Problem: Mail-Loop (although mail successfully retrieved)

The hosts file isn't expected to contain MX information so MercuryE will always query available name servers. However, in this case you could probably use the (not very well documented) domain re-write function in Mercury.

Find the empty Rewrite section towards the end of mercury.ini and add this line:

[Rewrite]
serverB: [192.168.2.34]

This should redirect all mail

for someuser@serverB to someuser@[192.168.2.34]. You will need to restart Mercury for this to take effect.

/Rolf

 

<p>The hosts file isn't expected to contain MX information so MercuryE will always query available name servers. However, in this case you could probably use the (not very well documented) domain re-write function in Mercury. </p><p>Find the empty Rewrite section towards the end of mercury.ini and add this line:</p><blockquote><p>[Rewrite] <b>serverB: [192.168.2.34]</b></p></blockquote><p>This should redirect all mail for someuser@serverB to someuser@[192.168.2.34]. You will need to restart Mercury for this to take effect.</p><p>/Rolf </p><p> </p>

Hello :)

Hopefully someone could help me with my problem. I have configured Mercury 4.72 and it is possible to send by using "file -> send mail" a mail without any problem from userA (local) to userB (local). But when the mail was successfully fetched and delivered to the folder of userB, the same mail is seemingly took out of this folder and is going to be sended again (shown in "Mercury Core Process" -> job ready), delivered to the folder of the addressee and the same procedure happens again and so on.

This looks in Mercury as follows:

1. "Mercury Core Process":

Wed 02, 16:07:15: Job MG000001: from admin@serverA.tld (local)
   To: benny (local) -OK

2. Polling "Mercury Distributing POP3 Client":

16:07:22 - Connecting to 192.168.2.33:110 as 'Benny'
  - 1 message successfully retrieved.
  - 1 message delivered to 'Benny'.

3. "Mercury Core Process" -> incoming job (ready: 1):

Wed 02, 16:07:26: Job MG000002: from admin@serverA.tld (local)
   To: Benny (local) -OK

4. Polling "Mercury Distributing POP3 Client":

16:07:55 - Connecting to 192.168.2.33:110 as 'Benny'
  - 1 message successfully retrieved.
  - 1 message delivered to 'Benny'.

and so on...

This happens 17 times and then "Mercury Core Process" says:

Wed 02, 16:13:02: Job MG000011: from admin@serverA.tld (local)
   To: Benny (local)
Wed 02, 16:13:02: **** Message loop detected - message discarded. -OK


Here you can see the content of MERCURY.INI (if needed): 

[General]
myname:          serverA.tld    # 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:       D:\MERCURY\QUEUE    # Where mail should be put for delivery
smtpqueue:       D:\MERCURY\QUEUE    # Where the SMTP client should look for mail
newmail_path:    D:\MERCURY\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:      D:\MERCURY\Mercury\FAILURE.MER    # Delivery failure notification template
confirmfile:   D:\MERCURY\Mercury\CONFIRM.MER    # Delivery confirmation template
aliasfile:     D:\MERCURY\Mercury\ALIAS.MER    # System-wide alias file
synfile:       D:\MERCURY\Mercury\SYNONYM.MER    # User synonym database
listfile:      D:\MERCURY\Mercury\LISTS.MER    # List of lists
logfile:       D:\MERCURY\Logs\Core\~y-~m-~d.log    # Traffic logging file
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
poll:          10   # Seconds between queue polling cycles
scratch:       D:\MERCURY\Scratch    # Where we can write temp files
returnlines:   15    # How many lines of failed messages to return
postmaster:    Admin    # NetWare UIC of postmaster
broadcast:     1    # Yes, we want broadcast notifications, but
receipts:      0    # ... no broadcasts for receipt confirmations
PM_notify:     1    # 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:    2    # 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

[MercuryC]
Host : smtp.serverB
Failfile : D:\MERCURY\Mercury\FAILURE.MER
Poll : 30
Scratch : D:\MERCURY\scratch
ReturnLines : 15
Timeout : 30
ESMTP : 1
POP3_Auth : 0
Logfile : D:\MERCURY\Logs\MercuryC\~y-~m-~d.log
Log_Verbose : 0
Session_logging : D:\MERCURY\Sessions\MercuryC
Session_logmode : 0

[MercuryE]
HELO : serverA
Session_logging : D:\MERCURY\Sessions\MercuryE
Session_logmode : 0
Poll : 15
Timeout : 60
Nameservers : localhost
Logfile : D:\MERCURY\Logs\MercuryE\~y-~m-~d.log
Log_Verbose : 0
DNS_Timeout : 20
DNS_Retries : 4
Transcripts : 1
MaxThreads : 10

[MercuryD]
Scratch : D:\MERCURY\Scratch\MercuryD
Timeout : 30
Poll : 30
Session_logging : D:\MERCURY\Sessions\MercuryD
Session_logmode : 0

[MercuryS]
Debug : 1
HELO : serverA
Logfile : D:\MERCURY\Logs\MercuryS\~y-~m-~d.log
Timeout : 30
Relay : 0
Strict_Relay : 1
Interface : 192.168.2.33
Allow_Illegals : 0
SMTP_Authentication : 0
Session_logging : D:\MERCURY\Sessions\MercuryS
Session_logmode : 0
Compliance_Settings : 0
Maximum_Failed_Rcpts : 4
Max_Relay_Attempts : 4
SSL_Mode : 0
ST_Blacklisting : 288
No_VRFY : 0
SMTP_ConnFlags : 0

[MercuryP]
Scratch : D:\MERCURY\Scratch\MercuryP
Logfile : D:\MERCURY\Logs\MercuryP\~y-~m-~d.log
Stack : 32768
Mark_Read : 1
SSL_Mode : 0
Login_Disabled : 0
UIDL_nul_list : 1
New_UIDs : 1
No_NUL_passwords : 1
Session_logging : D:\MERCURY\Sessions\MercuryP
Session_logmode : 1
Timeout : 60

[MercuryX]
Drain_queues: 1
# 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]
serverA: serverA.tld

[Maiser]
Maiser:          Maiser   # 'Username' of mail server account
Helpfile:        D:\MERCURY\Mercury\MAISER.HLP   # Help sent on failed maiser requests
Lookupfile:      D:\MERCURY\Mercury\MAISER.LKP   # Format file for the 'lookup' command
Send_dir:        D:\MERCURY\Mercury\SENDABLE   # Directory for the 'send' command
Logfile:         D:\MERCURY\Logs\Maiser\~y-~m-~d.LOG   # Mail server log file
Notify:          D:\MERCURY\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 : D:\MERCURY\Logs\MercuryH\~y-~m-~d.log   # Traffic logging file
# 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 : D:\MERCURY\Scratch\MercuryI
logfile : D:\MERCURY\Logs\MercuryI\~y-~m-~d.log   # Traffic logging file
Session_logging : D:\MERCURY\Sessions\MercuryI\   # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 143
Idle_Timeout : 1800

[MercuryB]
Scratch : D:\MERCURY\Scratch\MercuryB
logfile : D:\MERCURY\Logs\MercuryB\~y-~m-~d.log   # Traffic logging file
Session_logging : D:\MERCURY\Sessions\MercuryB\   # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 80
Idle_Timeout : 1800
# URL_Base : enter_your_domain_here

[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

I chose MercuryE because I want to simulate the communication between two mail servers in the LAN. This is also working but with the same problem: When sending a message from serverA to serverB, the message is getting into the folder of the receiving user of serverB but serverB know wants to send the mail again... 

Thanks & kind regards from Germany

Benny


<p>Hello :)</p><p>Hopefully someone could help me with my problem. I have configured Mercury 4.72 and it is possible to send by using "file -> send mail" a mail without any problem from userA (local) to userB (local). But when the mail was successfully fetched and delivered to the folder of userB, the same mail is seemingly took out of this folder and is going to be sended again (shown in "Mercury Core Process" -> job ready), delivered to the folder of the addressee and the same procedure happens again and so on. </p><p>This looks in Mercury as follows: </p><p><u>1. "Mercury Core Process":</u> </p><p><b>Wed 02, 16:07:15: Job MG000001: from admin@serverA.tld (local)    To: benny (local) -OK</b> </p><p><u>2. Polling "Mercury Distributing POP3 Client":</u></p><p><b>16:07:22 - Connecting to 192.168.2.33:110 as 'Benny'   - 1 message successfully retrieved.   - 1 message delivered to 'Benny'.</b> <u></u></p><p><u>3. "Mercury Core Process" -> incoming job (ready: 1):</u> </p><p><b>Wed 02, 16:07:26: Job MG000002: from admin@serverA.tld (local)    To: Benny (local) -OK</b></p><p><u>4. Polling "Mercury Distributing POP3 Client":</u></p><p><b>16:07:55 - Connecting to 192.168.2.33:110 as 'Benny'   - 1 message successfully retrieved.   - 1 message delivered to 'Benny'.</b> </p><p><i>and so on... </i> </p><p>This happens 17 times and then "Mercury Core Process" says: </p><p><b>Wed 02, 16:13:02: Job MG000011: from admin@serverA.tld (local)    To: Benny (local) Wed 02, 16:13:02: **** Message loop detected - message discarded. -OK</b> Here you can see the content of MERCURY.INI (if needed):  </p><p><i>[General] myname:          serverA.tld    # 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:       D:\MERCURY\QUEUE    # Where mail should be put for delivery smtpqueue:       D:\MERCURY\QUEUE    # Where the SMTP client should look for mail newmail_path:    D:\MERCURY\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:      D:\MERCURY\Mercury\FAILURE.MER    # Delivery failure notification template confirmfile:   D:\MERCURY\Mercury\CONFIRM.MER    # Delivery confirmation template aliasfile:     D:\MERCURY\Mercury\ALIAS.MER    # System-wide alias file synfile:       D:\MERCURY\Mercury\SYNONYM.MER    # User synonym database listfile:      D:\MERCURY\Mercury\LISTS.MER    # List of lists logfile:       D:\MERCURY\Logs\Core\~y-~m-~d.log    # Traffic logging file 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 poll:          10   # Seconds between queue polling cycles scratch:       D:\MERCURY\Scratch    # Where we can write temp files returnlines:   15    # How many lines of failed messages to return postmaster:    Admin    # NetWare UIC of postmaster broadcast:     1    # Yes, we want broadcast notifications, but receipts:      0    # ... no broadcasts for receipt confirmations PM_notify:     1    # 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:    2    # 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 [MercuryC] Host : smtp.serverB Failfile : D:\MERCURY\Mercury\FAILURE.MER Poll : 30 Scratch : D:\MERCURY\scratch ReturnLines : 15 Timeout : 30 ESMTP : 1 POP3_Auth : 0 Logfile : D:\MERCURY\Logs\MercuryC\~y-~m-~d.log Log_Verbose : 0 Session_logging : D:\MERCURY\Sessions\MercuryC Session_logmode : 0 [MercuryE] HELO : serverA Session_logging : D:\MERCURY\Sessions\MercuryE Session_logmode : 0 Poll : 15 Timeout : 60 Nameservers : localhost Logfile : D:\MERCURY\Logs\MercuryE\~y-~m-~d.log Log_Verbose : 0 DNS_Timeout : 20 DNS_Retries : 4 Transcripts : 1 MaxThreads : 10 [MercuryD] Scratch : D:\MERCURY\Scratch\MercuryD Timeout : 30 Poll : 30 Session_logging : D:\MERCURY\Sessions\MercuryD Session_logmode : 0 [MercuryS] Debug : 1 HELO : serverA Logfile : D:\MERCURY\Logs\MercuryS\~y-~m-~d.log Timeout : 30 Relay : 0 Strict_Relay : 1 Interface : 192.168.2.33 Allow_Illegals : 0 SMTP_Authentication : 0 Session_logging : D:\MERCURY\Sessions\MercuryS Session_logmode : 0 Compliance_Settings : 0 Maximum_Failed_Rcpts : 4 Max_Relay_Attempts : 4 SSL_Mode : 0 ST_Blacklisting : 288 No_VRFY : 0 SMTP_ConnFlags : 0 [MercuryP] Scratch : D:\MERCURY\Scratch\MercuryP Logfile : D:\MERCURY\Logs\MercuryP\~y-~m-~d.log Stack : 32768 Mark_Read : 1 SSL_Mode : 0 Login_Disabled : 0 UIDL_nul_list : 1 New_UIDs : 1 No_NUL_passwords : 1 Session_logging : D:\MERCURY\Sessions\MercuryP Session_logmode : 1 Timeout : 60 [MercuryX] Drain_queues: 1 # 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] serverA: serverA.tld [Maiser] Maiser:          Maiser   # 'Username' of mail server account Helpfile:        D:\MERCURY\Mercury\MAISER.HLP   # Help sent on failed maiser requests Lookupfile:      D:\MERCURY\Mercury\MAISER.LKP   # Format file for the 'lookup' command Send_dir:        D:\MERCURY\Mercury\SENDABLE   # Directory for the 'send' command Logfile:         D:\MERCURY\Logs\Maiser\~y-~m-~d.LOG   # Mail server log file Notify:          D:\MERCURY\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 : D:\MERCURY\Logs\MercuryH\~y-~m-~d.log   # Traffic logging file # 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 : D:\MERCURY\Scratch\MercuryI logfile : D:\MERCURY\Logs\MercuryI\~y-~m-~d.log   # Traffic logging file Session_logging : D:\MERCURY\Sessions\MercuryI\   # Directory for session log files Session_logmode : 0 Timeout : 120 Server_Port : 143 Idle_Timeout : 1800 [MercuryB] Scratch : D:\MERCURY\Scratch\MercuryB logfile : D:\MERCURY\Logs\MercuryB\~y-~m-~d.log   # Traffic logging file Session_logging : D:\MERCURY\Sessions\MercuryB\   # Directory for session log files Session_logmode : 0 Timeout : 120 Server_Port : 80 Idle_Timeout : 1800 # URL_Base : enter_your_domain_here [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 </i></p><p>I chose MercuryE because I want to simulate the communication between two mail servers in the LAN. This is also working but with the same problem: When sending a message from serverA to serverB, the message is getting into the folder of the receiving user of serverB but serverB know wants to send the mail again...  <i> </i></p><p>Thanks & kind regards from Germany </p><p>Benny</p><p> </p>

That's my current configuration. I did this according to a guide in the web, but get the same problem [:(]

#  MERCURY.INI generated by Mercury Setup
#
#
#  Sample Bindery Mode / Standalone Mode MERCURY.INI file.
#  This sample file implements most of the possible switches for each
#  module, but you can edit it to do less if you wish.
#
#  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.
#
#  Note that in general, manual modification of this file is NOT
#  RECOMMENDED - use the Mercury "Configuration" menu to change the
#  program's settings wherever possible.
#

[General]
myname:          [192.168.2.33]    # 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:       D:\MERCURY\QUEUE    # Where mail should be put for delivery
smtpqueue:       D:\MERCURY\QUEUE    # Where the SMTP client should look for mail
newmail_path:    D:\MERCURY\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:      D:\MERCURY\Mercury\FAILURE.MER    # Delivery failure notification template
confirmfile:   D:\MERCURY\Mercury\CONFIRM.MER    # Delivery confirmation template
aliasfile:     D:\MERCURY\Mercury\ALIAS.MER    # System-wide alias file
synfile:       D:\MERCURY\Mercury\SYNONYM.MER    # User synonym database
listfile:      D:\MERCURY\Mercury\LISTS.MER    # List of lists
logfile:       D:\MERCURY\Logs\Core\~y-~m-~d.log    # Traffic logging file
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
poll:          10   # Seconds between queue polling cycles
scratch:       D:\MERCURY\Scratch    # Where we can write temp files
returnlines:   15    # How many lines of failed messages to return
postmaster:    Admin    # NetWare UIC of postmaster
broadcast:     1    # Yes, we want broadcast notifications, but
receipts:      0    # ... no broadcasts for receipt confirmations
PM_notify:     1    # 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:    2    # 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

[MercuryC]
Host : smtp.serverB
Failfile : D:\MERCURY\Mercury\FAILURE.MER
Poll : 30
Scratch : D:\MERCURY\scratch
ReturnLines : 15
Timeout : 30
ESMTP : 1
POP3_Auth : 0
Logfile : D:\MERCURY\Logs\MercuryC\~y-~m-~d.log
Log_Verbose : 0
Session_logging : D:\MERCURY\Sessions\MercuryC
Session_logmode : 0

[MercuryE]
Session_logging : D:\MERCURY\Sessions\MercuryE
Session_logmode : 0
Poll : 15
Timeout : 60
Nameservers : localhost
Logfile : D:\MERCURY\Logs\MercuryE\~y-~m-~d.log
Log_Verbose : 0
DNS_Timeout : 20
DNS_Retries : 4
Transcripts : 1
MaxThreads : 10

[MercuryD]
Scratch : D:\MERCURY\Scratch\MercuryD
Timeout : 30
Poll : 30
Session_logging : D:\MERCURY\Sessions\MercuryD
Session_logmode : 0

[MercuryS]
Debug : 1
Logfile : D:\MERCURY\Logs\MercuryS\~y-~m-~d.log
Timeout : 30
Relay : 0
Strict_Relay : 1
Interface : 192.168.2.33
Allow_Illegals : 0
SMTP_Authentication : 0
Session_logging : D:\MERCURY\Sessions\MercuryS
Session_logmode : 0
Compliance_Settings : 0
Maximum_Failed_Rcpts : 4
Max_Relay_Attempts : 4
SSL_Mode : 0
ST_Blacklisting : 288
No_VRFY : 0
SMTP_ConnFlags : 0

[MercuryP]
Scratch : D:\MERCURY\Scratch\MercuryP
Logfile : D:\MERCURY\Logs\MercuryP\~y-~m-~d.log
Stack : 32768
Interface : 192.168.2.33
Mark_Read : 1
SSL_Mode : 0
Login_Disabled : 0
UIDL_nul_list : 1
New_UIDs : 1
No_NUL_passwords : 1
Session_logging : D:\MERCURY\Sessions\MercuryP
Session_logmode : 1
Timeout : 60

[MercuryX]
Drain_queues: 1
# 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]
192.168.2.33: [192.168.2.33]

[Maiser]
Maiser:          Maiser   # 'Username' of mail server account
Helpfile:        D:\MERCURY\Mercury\MAISER.HLP   # Help sent on failed maiser requests
Lookupfile:      D:\MERCURY\Mercury\MAISER.LKP   # Format file for the 'lookup' command
Send_dir:        D:\MERCURY\Mercury\SENDABLE   # Directory for the 'send' command
Logfile:         D:\MERCURY\Logs\Maiser\~y-~m-~d.LOG   # Mail server log file
Notify:          D:\MERCURY\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 : D:\MERCURY\Logs\MercuryH\~y-~m-~d.log   # Traffic logging file
# 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 : D:\MERCURY\Scratch\MercuryI
logfile : D:\MERCURY\Logs\MercuryI\~y-~m-~d.log   # Traffic logging file
Session_logging : D:\MERCURY\Sessions\MercuryI\   # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 143
Idle_Timeout : 1800

[MercuryB]
Scratch : D:\MERCURY\Scratch\MercuryB
logfile : D:\MERCURY\Logs\MercuryB\~y-~m-~d.log   # Traffic logging file
Session_logging : D:\MERCURY\Sessions\MercuryB\   # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 80
Idle_Timeout : 1800
# URL_Base : enter_your_domain_here

[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

<p>That's my current configuration. I did this according to a guide in the web, but get the same problem [:(] </p><p>#  MERCURY.INI generated by Mercury Setup # # #  Sample Bindery Mode / Standalone Mode MERCURY.INI file. #  This sample file implements most of the possible switches for each #  module, but you can edit it to do less if you wish. # #  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. # #  Note that in general, manual modification of this file is NOT #  RECOMMENDED - use the Mercury "Configuration" menu to change the #  program's settings wherever possible. # [General] myname:          [192.168.2.33]    # 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:       D:\MERCURY\QUEUE    # Where mail should be put for delivery smtpqueue:       D:\MERCURY\QUEUE    # Where the SMTP client should look for mail newmail_path:    D:\MERCURY\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:      D:\MERCURY\Mercury\FAILURE.MER    # Delivery failure notification template confirmfile:   D:\MERCURY\Mercury\CONFIRM.MER    # Delivery confirmation template aliasfile:     D:\MERCURY\Mercury\ALIAS.MER    # System-wide alias file synfile:       D:\MERCURY\Mercury\SYNONYM.MER    # User synonym database listfile:      D:\MERCURY\Mercury\LISTS.MER    # List of lists logfile:       D:\MERCURY\Logs\Core\~y-~m-~d.log    # Traffic logging file 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 poll:          10   # Seconds between queue polling cycles scratch:       D:\MERCURY\Scratch    # Where we can write temp files returnlines:   15    # How many lines of failed messages to return postmaster:    Admin    # NetWare UIC of postmaster broadcast:     1    # Yes, we want broadcast notifications, but receipts:      0    # ... no broadcasts for receipt confirmations PM_notify:     1    # 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:    2    # 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 [MercuryC] Host : smtp.serverB Failfile : D:\MERCURY\Mercury\FAILURE.MER Poll : 30 Scratch : D:\MERCURY\scratch ReturnLines : 15 Timeout : 30 ESMTP : 1 POP3_Auth : 0 Logfile : D:\MERCURY\Logs\MercuryC\~y-~m-~d.log Log_Verbose : 0 Session_logging : D:\MERCURY\Sessions\MercuryC Session_logmode : 0 [MercuryE] Session_logging : D:\MERCURY\Sessions\MercuryE Session_logmode : 0 Poll : 15 Timeout : 60 Nameservers : localhost Logfile : D:\MERCURY\Logs\MercuryE\~y-~m-~d.log Log_Verbose : 0 DNS_Timeout : 20 DNS_Retries : 4 Transcripts : 1 MaxThreads : 10 [MercuryD] Scratch : D:\MERCURY\Scratch\MercuryD Timeout : 30 Poll : 30 Session_logging : D:\MERCURY\Sessions\MercuryD Session_logmode : 0 [MercuryS] Debug : 1 Logfile : D:\MERCURY\Logs\MercuryS\~y-~m-~d.log Timeout : 30 Relay : 0 Strict_Relay : 1 Interface : 192.168.2.33 Allow_Illegals : 0 SMTP_Authentication : 0 Session_logging : D:\MERCURY\Sessions\MercuryS Session_logmode : 0 Compliance_Settings : 0 Maximum_Failed_Rcpts : 4 Max_Relay_Attempts : 4 SSL_Mode : 0 ST_Blacklisting : 288 No_VRFY : 0 SMTP_ConnFlags : 0 [MercuryP] Scratch : D:\MERCURY\Scratch\MercuryP Logfile : D:\MERCURY\Logs\MercuryP\~y-~m-~d.log Stack : 32768 Interface : 192.168.2.33 Mark_Read : 1 SSL_Mode : 0 Login_Disabled : 0 UIDL_nul_list : 1 New_UIDs : 1 No_NUL_passwords : 1 Session_logging : D:\MERCURY\Sessions\MercuryP Session_logmode : 1 Timeout : 60 [MercuryX] Drain_queues: 1 # 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] 192.168.2.33: [192.168.2.33] [Maiser] Maiser:          Maiser   # 'Username' of mail server account Helpfile:        D:\MERCURY\Mercury\MAISER.HLP   # Help sent on failed maiser requests Lookupfile:      D:\MERCURY\Mercury\MAISER.LKP   # Format file for the 'lookup' command Send_dir:        D:\MERCURY\Mercury\SENDABLE   # Directory for the 'send' command Logfile:         D:\MERCURY\Logs\Maiser\~y-~m-~d.LOG   # Mail server log file Notify:          D:\MERCURY\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 : D:\MERCURY\Logs\MercuryH\~y-~m-~d.log   # Traffic logging file # 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 : D:\MERCURY\Scratch\MercuryI logfile : D:\MERCURY\Logs\MercuryI\~y-~m-~d.log   # Traffic logging file Session_logging : D:\MERCURY\Sessions\MercuryI\   # Directory for session log files Session_logmode : 0 Timeout : 120 Server_Port : 143 Idle_Timeout : 1800 [MercuryB] Scratch : D:\MERCURY\Scratch\MercuryB logfile : D:\MERCURY\Logs\MercuryB\~y-~m-~d.log   # Traffic logging file Session_logging : D:\MERCURY\Sessions\MercuryB\   # Directory for session log files Session_logmode : 0 Timeout : 120 Server_Port : 80 Idle_Timeout : 1800 # URL_Base : enter_your_domain_here [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 </p>

This is what happens:

1. "Mercury Core Process":

Wed 02, 16:07:15: Job MG000001: from admin@serverA.tld (local)
   To: benny (local) -OK

Message is received and core puts it in the mailbox for benny

2. Polling "Mercury Distributing POP3 Client":

16:07:22 - Connecting to 192.168.2.33:110 as 'Benny'
  - 1 message successfully retrieved.
  - 1 message delivered to 'Benny'.

MercuryD connects back to 192.168.2.33 (the server that Mercury is running on!) and finds a message in mailbox benny. This message is retrieved and then deleted from the mailbox.

3. "Mercury Core Process" -> incoming job (ready: 1):

Wed 02, 16:07:26: Job MG000002: from admin@serverA.tld (local)
   To: Benny (local) -OK

The message from MercuryD is delivered by core to mailbox benny.

This will of course go on forever. As there is no point in having MercuryD getting mail from the server it's running on you should simply remove that.

/Rolf

<p>This is what happens:</p><blockquote><p><u>1. "Mercury Core Process":</u> </p><p>Wed 02, 16:07:15: Job MG000001: from admin@serverA.tld (local)    To: benny (local) -OK</p></blockquote><p>Message is received and core puts it in the mailbox for benny </p><blockquote><p><u>2. Polling "Mercury Distributing POP3 Client":</u></p><p>16:07:22 - Connecting to 192.168.2.33:110 as 'Benny'   - 1 message successfully retrieved.   - 1 message delivered to 'Benny'.</p></blockquote><p>MercuryD connects back to 192.168.2.33 (the server that Mercury is running on!) and finds a message in mailbox benny. This message is retrieved and then deleted from the mailbox. </p><blockquote><p><u>3. "Mercury Core Process" -> incoming job (ready: 1):</u> </p><p>Wed 02, 16:07:26: Job MG000002: from admin@serverA.tld (local)    To: Benny (local) -OK</p></blockquote><p>The message from MercuryD is delivered by core to mailbox benny.</p><p>This will of course go on forever. As there is no point in having MercuryD getting mail from the server it's running on you should simply remove that.</p><p>/Rolf </p>

Thank you Rolf. That's of course logical. You see, I've not configured a mail server so far ^^

As I mentioned, I want to send mails from one mail server to another in the same lan. That does as well work but not with the configuration of post 1 (as is said wrongly in post 1) but just with the other configuration (post 2). I am able to send a mail from serverA@[192.168.2.33] to serverB@[192.168.2.34] and the other way round. So MercuryE knows based on the domain [192.168.2.34] that it has to connect to the server that is running on the system with this IP.  But I'm not able to send a mail from e.g. userA@serverA to userB@serverB. MercuryE says that it can't resolve an MX-record for serverB. I thought if I insert an entry with the IP (192.168.2.34) and serverB in the hosts-file of serverA, serverA is able to translate the domain-name into the IP address and connect to serverB. I read that this would be possible without the use of MX-records or isn't it? Otherwise I have to use domains where the IP is in brackets.  

Thanks for your help [:)]

Benny

<p>Thank you Rolf. That's of course logical. You see, I've not configured a mail server so far ^^</p><p>As I mentioned, I want to send mails from one mail server to another in the same lan. That does as well work but not with the configuration of post 1 (as is said wrongly in post 1) but just with the other configuration (post 2). I am able to send a mail from serverA@[192.168.2.33] to serverB@[192.168.2.34] and the other way round. So MercuryE knows based on the domain [192.168.2.34] that it has to connect to the server that is running on the system with this IP.  But I'm not able to send a mail from e.g. userA@serverA to userB@serverB. MercuryE says that it can't resolve an MX-record for serverB. I thought if I insert an entry with the IP (192.168.2.34) and serverB in the hosts-file of serverA, serverA is able to translate the domain-name into the IP address and connect to serverB. I read that this would be possible without the use of MX-records or isn't it? Otherwise I have to use domains where the IP is in brackets.   </p><p>Thanks for your help [:)]</p><p>Benny </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft