benny86
Goto Top

Problem - Loop beim Mercury-Server

Hallo face-smile

Folgendes: In Verbindung mit einem Projekt an der Uni müssen wir den Mailverkehr im LAN simulieren. Dazu haben wir folglich zwei Mailserver eingerichtet, jeweils auf unterschiedlichen Rechnern im Netzwerk, um eine Mail von Mailserver A zu Mailserver B schicken zu können. Als Mailserver haben wir den Mercury-Server gewählt. Da wir mit dem Konfigurieren von Mailservern bis dato noch nichts am Hut hatten, hat es auch entsprechend lange gedauert, bis wir es endlich mal hinbekommen hatten, eine Mail von Server A zu B zu schicken ^^

Nun stehen wir allerdings vor dem nächsten Problem: Wenn wir eine E-Mail von Server A zu B schicken, kommt diese zwar problemlos bei B an (also im Postfach des Empfängers auf Server B), jedoch versucht nun B scheinbar die Mail "irgendwo" hin weiterzuschicken. Ergo haben wir nun wohl leider eine Loop. Nachdem nun ein paar Mal (7(?) mal) von Mailserver B versucht wurde, die Mail weiterzuleiten, kommt eine Meldung im Mercury Core Process-Fenster, dass aufgrund einer Loop die Message discarded/gelöscht wurde, woraufhin sie folglich auch nicht mehr im Postfach des Empfängers ist. Beim Senden von B zu A entsteht das gleiche Problem.

Bzgl der "Message discarded"-Message ist zu sagen, dass diese, als ichs heute versucht hatte, nicht mehr auftrat (warum auch immer..). Also hat Mercury immer und immer wieder versucht die Mail weiterzuleiten.

Als Module im Mercury wurden MercuryS SMTP-Server, MercuryP POP3-Server, MercuryE SMTP-Client (End-to-End) sowie MercuryD POP3-Client konfiguriert.

Anbei die MERCURY.INI von Server A und Server B.

Mailserver A:
[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:\PROGRAMME\MERCURY\QUEUE # Where mail should be put for delivery
smtpqueue: D:\PROGRAMME\MERCURY\QUEUE # Where the SMTP client should look for mail
newmail_path: D:\PROGRAMME\MERCURY\MAIL\~N # Where to find the users' WinPMail mailboxes.

[Protocols]
MERCURYS.DLL
MERCURYP.DLL
MERCURYE.DLL
  1. MERCURYC.DLL
MERCURYD.DLL
  1. MERCURYH.DLL
  2. MERCURYF.DLL
  3. MERCURYW.DLL
MERCURYX.DLL
  1. MERCURYI.DLL
  2. MERCURYB.DLL

[Mercury]
failfile: D:\Programme\MERCURY\Mercury\FAILURE.MER # Delivery failure notification template
confirmfile: D:\Programme\MERCURY\Mercury\CONFIRM.MER # Delivery confirmation template
aliasfile: D:\Programme\MERCURY\Mercury\ALIAS.MER # System-wide alias file
synfile: D:\Programme\MERCURY\Mercury\SYNONYM.MER # User synonym database
listfile: D:\Programme\MERCURY\Mercury\LISTS.MER # List of lists
logfile: D:\Programme\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:\Programme\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: 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

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

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

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

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

[MercuryX]
Cmd_Wait: 1
IE4_Dialling: 0
Use_ETRN: 0
Clients_only: 0
Drain_queues: 1
Sunday: 0000,0000,0,0,0,0
Monday: 0000,0000,0,0,0,0
Tuesday: 0000,0000,0,0,0,0
Wednesday: 0000,0000,0,0,0,0
Thursday: 0000,0000,0,0,0,0
Friday: 0000,0000,0,0,0,0
Saturday: 0000,0000,0,0,0,0

[Domains]
192.168.2.33: [192.168.2.33]

[Maiser]
Maiser: Maiser # 'Username' of mail server account
Helpfile: D:\Programme\MERCURY\Mercury\MAISER.HLP # Help sent on failed maiser requests
Lookupfile: D:\Programme\MERCURY\Mercury\MAISER.LKP # Format file for the 'lookup' command
Send_dir: D:\Programme\MERCURY\Mercury\SENDABLE # Directory for the 'send' command
Logfile: D:\Programme\MERCURY\Logs\Maiser\~y-~m-~d.LOG # Mail server log file
Notify: D:\Programme\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:\Programme\MERCURY\Logs\MercuryH\~y-~m-~d.log # Traffic logging file
  1. Addressbook : \\CLIO\SYS\SYSTEM\MERCURY\PH.PMR
  2. MOTD : \\CLIO\SYS\SYSTEM\MERCURY\PH-MOTD.TXT
  3. Administrator : postmaster@clio.pmail.gen.nz
Timeout : 30

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

[MercuryB]
Scratch : D:\Programme\MERCURY\Scratch\MercuryB
logfile : D:\Programme\MERCURY\Logs\MercuryB\~y-~m-~d.log # Traffic logging file
Session_logging : D:\Programme\MERCURY\Sessions\MercuryB\ # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 80
Idle_Timeout : 1800
  1. 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

Mailserver B:
[General]
myname: [192.168.2.34] # 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: F:\PROGRAMME\MERCURY\QUEUE # Where mail should be put for delivery
smtpqueue: F:\PROGRAMME\MERCURY\QUEUE # Where the SMTP client should look for mail
newmail_path: F:\PROGRAMME\MERCURY\MAIL\~N # Where to find the users' WinPMail mailboxes.

[Protocols]
F:\Programme\MERCURY\mercurys.dll
F:\Programme\MERCURY\mercurye.dll
F:\Programme\MERCURY\mercuryp.dll
F:\Programme\MERCURY\mercuryd.dll

[Mercury]
failfile: F:\Programme\MERCURY\Mercury\FAILURE.MER # Delivery failure notification template
confirmfile: F:\Programme\MERCURY\Mercury\CONFIRM.MER # Delivery confirmation template
aliasfile: F:\Programme\MERCURY\Mercury\ALIAS.MER # System-wide alias file
synfile: F:\Programme\MERCURY\Mercury\SYNONYM.MER # User synonym database
listfile: F:\Programme\MERCURY\Mercury\LISTS.MER # List of lists
logfile: F:\Programme\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: F:\Programme\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: 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

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

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

[MercuryS]
Debug : 1
HELO : [192.168.2.34]
Logfile : F:\Programme\MERCURY\Logs\MercuryS\~y-~m-~d.log
Timeout : 30
Relay : 0
Strict_Relay : 1
Interface : 192.168.2.34
Allow_Illegals : 0
SMTP_Authentication : 0
Session_logging : F:\Programme\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 : F:\Programme\MERCURY\Scratch\MercuryP
Logfile : F:\Programme\MERCURY\Logs\MercuryP\~y-~m-~d.log
Stack : 32768
Interface : 192.168.2.34
Mark_Read : 1
SSL_Mode : 0
Login_Disabled : 0
UIDL_nul_list : 1
New_UIDs : 1
No_NUL_passwords : 1
Session_logging : F:\Programme\MERCURY\Sessions\MercuryP
Session_logmode : 0
Timeout : 60

[Domains]
192.168.2.34: [192.168.2.34]

[Maiser]
Maiser: Maiser # 'Username' of mail server account
Helpfile: F:\Programme\MERCURY\Mercury\MAISER.HLP # Help sent on failed maiser requests
Lookupfile: F:\Programme\MERCURY\Mercury\MAISER.LKP # Format file for the 'lookup' command
Send_dir: F:\Programme\MERCURY\Mercury\SENDABLE # Directory for the 'send' command
Logfile: F:\Programme\MERCURY\Logs\Maiser\~y-~m-~d.LOG # Mail server log file
Notify: F:\Programme\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 : F:\Programme\MERCURY\Logs\MercuryH\~y-~m-~d.log # Traffic logging file
  1. Addressbook : \\CLIO\SYS\SYSTEM\MERCURY\PH.PMR
  2. MOTD : \\CLIO\SYS\SYSTEM\MERCURY\PH-MOTD.TXT
  3. Administrator : postmaster@clio.pmail.gen.nz
Timeout : 30

[MercuryI]
Scratch : F:\Programme\MERCURY\Scratch\MercuryI
logfile : F:\Programme\MERCURY\Logs\MercuryI\~y-~m-~d.log # Traffic logging file
Session_logging : F:\Programme\MERCURY\Sessions\MercuryI\ # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 143
Idle_Timeout : 1800

[MercuryB]
Scratch : F:\Programme\MERCURY\Scratch\MercuryB
logfile : F:\Programme\MERCURY\Logs\MercuryB\~y-~m-~d.log # Traffic logging file
Session_logging : F:\Programme\MERCURY\Sessions\MercuryB\ # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 80
Idle_Timeout : 1800
  1. 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

Es würde mich freuen, wenn mir jemand, der sich mit dieser Problematik auskennt, helfen könnte. Danke dafür schonmal im Voraus!

Gruß
Benny

Content-Key: 143984

Url: https://administrator.de/contentid/143984

Printed on: April 16, 2024 at 19:04 o'clock