Hello,
I switched to new Mercury and have problems with the mailing system.As far as I have:
Installed XAMPP (Apache, MySQL and Mercury run),everything on my PC that I want to use as a server.Then I got my fixed IP assigned to the domain.Until now everything was OK.
But now ... I try on my side http://localhost/joomla/administrator/ to send email to admin(Super Admin) and the admin could not get email from Users in another side the users can't get emails from admin
Mailer: SMTP Server
Mail-From: admin@localhost.com
Name: bel.name
sendmail-path: /usr/sbin/sendmail
auth: no
SMTP-User: (leer)
SMTP-Pass: (leer)
SMTP-Host: localhost!
My question specifically:
Do I have something set up at Mercury?How is it stored my email?I did not have much experience with email servers, ne still fail the message I got: Could not instantiate mail functio
please help
Is Mercury at all running? If so you can get a lot of information from console windows and from log files. If you want us to help you will need to provide information about the environment (Windows version, path where Mercury is installed), and preferably post the contents of the configuration file MERCURY.INI.
There is a lot of information in the built-in help system, and I recommend reading relevant parts of the PDF manual (man-473.pdf in the Mercury directory).
/Rolf
Thnx for your replay! Yes,Mercury is all running!Windows version:Microsoft Windows XP Professional Version 2002 Service Pack2,the path where Mercury is installed is C:\MERCURY and path from XAMPP is C:\xampp.configuration from file MERCURY.INI. is
# 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: https://127.0.0.1 # 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:\MERCURY\QUEUE # Where mail should be put for delivery
smtpqueue: C:\MERCURY\QUEUE # Where the SMTP client should look for mail
newmail_path: C:\MERCURY\MAIL\~N
[Protocols]
C:\MERCURY\mercurys.dll
C:\MERCURY\mercuryc.dll
C:\MERCURY\mercuryp.dll
C:\MERCURY\mercuryd.dll
C:\MERCURY\mercuryx.dll
C:\MERCURY\mercuryf.dll
C:\MERCURY\mercuryh.dll
C:\MERCURY\mercuryw.dll
C:\MERCURY\mercuryi.dll
C:\MERCURY\mercuryb.dll
[Mercury]
failfile: C:\MERCURY\Mercury\FAILURE.MER # Delivery failure notification template
confirmfile: C:\MERCURY\Mercury\CONFIRM.MER # Delivery confirmation template
aliasfile: C:\MERCURY\Mercury\ALIAS.MER # System-wide alias file
synfile: C:\MERCURY\Mercury\SYNONYM.MER # User synonym database
listfile: C:\MERCURY\Mercury\LISTS.MER # List of lists
logfile: C:\MERCURY\Logs\Core\~y-~m-~d.log # Traffic logging file
# bitnethost: cunyvm.cuny.edu # Relay host for ".bitnet" rewrites
poll: 10 # Seconds between queue polling cycles
scratch: C:\MERCURY\Scratch # Where we can write temp files
returnlines: 15 # How many lines of failed messages to return
postmaster: Admin # Local user who acts as 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
# noticeboards: SYS:PUBLIC/NB # Where to find Pegasus Mail noticeboards
auto_tzone: 1 # If NZ, obtain timezone information from OS
[MercuryC]
logfile : C:\MERCURY\Logs\MercuryC\~y-~m-~d.log # Traffic logging file
Session_logging : C:\MERCURY\Sessions\MercuryC\ # Directory for session log files
Session_logmode : 0
host: gazmend_ram@hotmail.com # mail mail host which relays for us
scratch: C:\MERCURY\scratch # Where we can write temp files
poll: 30 # Seconds between queue polling cycles
returnlines: 15 # How many lines of failed messages to return
failfile: C:\MERCURY\Mercury\FAILURE.MER # Delivery failure template
esmtp: 1 # Yes, we want to use ESMTP extensions
[MercuryE]
Poll : 15
Timeout : 60
logfile : C:\MERCURY\Logs\MercuryE\~y-~m-~d.log # Traffic logging file
Session_logging : C:\MERCURY\Sessions\MercuryE\ # Directory for session log files
Session_logmode : 0
# Nameservers : 139.80.64.1
[MercuryD]
Session_logging : C:\MERCURY\Sessions\MercuryD\ # Directory for session log files
Session_logmode : 0
Scratch : C:\MERCURY\Scratch\MercuryD
# Timeout : 30
# Poll : 120 # How often to check hosts for new mail (seconds)
[MercuryS]
logfile : C:\MERCURY\Logs\MercuryS\~y-~m-~d.log # Traffic logging file
Session_logging : C:\MERCURY\Sessions\MercuryS\ # Directory for session log files
Session_logmode : 0
debug: 1 # Whether or not to show session progress
# allow: 192.156.225.2 # A machine we WILL permit to connect
# refuse: 192.156.225.0 # A group of machines we WON'T permit.
# size: 1500000
Relay : 0 # Control non-local relaying
[MercuryP]
logfile : C:\MERCURY\Logs\MercuryP\~y-~m-~d.log # Traffic logging file
Session_logging : C:\MERCURY\Sessions\MercuryP\ # Directory for session log files
Session_logmode : 0
Scratch : C:\MERCURY\Scratch\MercuryP
Timeout : 60
UIDL_nul_list : 1
New_UIDs : 1
No_NUL_passwords : 1
[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]
# NetWare Server Domain name
https://127 : https://127
https://127 : https://127.0.0.1
# [Rewrite]
# * : pmail.gen.nz
[Maiser]
Maiser : Maiser
Helpfile : C:\MERCURY\Mercury\MAISER.HLP
Lookupfile : C:\MERCURY\Mercury\MAISER.LKP
Send_dir : C:\MERCURY\Mercury\SENDABLE
Logfile : C:\MERCURY\Logs\Maiser\~y-~m-~d.LOG
Notify : C:\MERCURY\Mercury\TMP
Local_only : Y
[MercuryH]
logfile : C:\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 : C:\MERCURY\Scratch\MercuryI
logfile : C:\MERCURY\Logs\MercuryI\~y-~m-~d.log # Traffic logging file
Session_logging : C:\MERCURY\Sessions\MercuryI\ # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 143
Idle_Timeout : 1800
[MercuryB]
Scratch : C:\MERCURY\Scratch\MercuryB
logfile : C:\MERCURY\Logs\MercuryB\~y-~m-~d.log # Traffic logging file
Session_logging : C:\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
[General]myname: https://127.0.0.1 # Canonical name for this server
[Protocols]C:\MERCURY\mercurys.dllC:\MERCURY\mercuryc.dllC:\MERCURY\mercuryp.dllC:\MERCURY\mercuryd.dllC:\MERCURY\mercuryx.dllC:\MERCURY\mercuryf.dllC:\MERCURY\mercuryh.dllC:\MERCURY\mercuryw.dllC:\MERCURY\mercuryi.dllC:\MERCURY\mercuryb.dll
[MercuryC]logfile : C:\MERCURY\Logs\MercuryC\~y-~m-~d.log # Traffic logging fileSession_logging : C:\MERCURY\Sessions\MercuryC\ # Directory for session log filesSession_logmode : 0host: gazmend_ram@hotmail.com # mail mail host which relays for us
[Domains]# NetWare Server Domain namehttps://127 : https://127https://127 : https://127.0.0.1
I have read this articel http://tobias-seckinger.de/2011/08/mercury-unter-xampp-konfigurieren/ and I have done the same!
in the 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]
C:\xampp\MERCURYMAIL\mercurys.dll
C:\xampp\MERCURYMAIL\mercurye.dll
C:\xampp\MERCURYMAIL\mercuryp.dll
C:\xampp\MERCURYMAIL\mercuryd.dll
C:\xampp\MERCURYMAIL\mercuryx.dll
C:\xampp\MERCURYMAIL\mercuryf.dll
C:\xampp\MERCURYMAIL\mercuryh.dll
C:\xampp\MERCURYMAIL\mercuryw.dll
C:\xampp\MERCURYMAIL\mercuryi.dll
C:\xampp\MERCURYMAIL\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: 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
[MercuryC]
# Session_logging: G:\ # Directory to write session transcripts
host: # mail mail host which relays for us
scratch: C:\xampp\MERCURYMAIL\Mercury # Where we can write temp files
poll: 30 # Seconds between queue polling cycles
returnlines: 15 # How many lines of failed messages to return
failfile: C:\xampp\MERCURYMAIL\Mercury\FAILURE.MER # Delivery failure template
esmtp: 1 # Yes, we want to use ESMTP extensions
[MercuryE]
Poll : 15
Timeout : 60
# Session_logging : o:\mail\mercury\melogs
# Session_logmode : 1
# Nameservers : 139.80.64.1
[MercuryD]
scratch : C:\xampp\MERCURYMAIL\Mercury
# Timeout : 30
# Poll : 120 # How often to check hosts for new mail (seconds)
[MercuryS]
Debug : 1
HELO : CS SMTP
Logfile : C:\xampp\MERCURYMAIL\Logs\MERCURYS.LOG
Timeout : 30
Relay : 0
Strict_Relay : 0
Interface : 127.0.0.1
Allow_Illegals : 0
SMTP_Authentication : 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 : C:\xampp\MERCURYMAIL\Mercury
Stack : 32768
Interface : 127.0.0.1
Mark_Read : 1
SSL_Mode : 0
Login_Disabled : 0
UIDL_nul_list : 1
New_UIDs : 0
No_NUL_passwords : 1
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: localhost.net
localhost: localhost.org
localhost: localhost.com
[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
Timeout : 120
Server_Port : 143
Idle_Timeout : 1800
SSL_Mode : 0
Login_Disabled : 0
[MercuryB]
Scratch : C:\xampp\MERCURYMAIL\SCRATCH
# Logfile : o:\mail\tmp\mercuryb.log
Timeout : 120
Server_Port : 2224
# Session_logging : o:\mail\mercury\mblogs
# Session_logmode : 0
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
at the admins page http://localhost/joomla/administrator/index.php?option=com_messages
Strict Standards: call_user_func_array() expects parameter 1 to
be a valid callback, non-static method JHtmlMessages::state() should not
be called statically in C:\xampp\htdocs\joomla\libraries\joomla\html\html.php on line 222
in the Mozilla Thunderbird wenn the user get emails from admin
Please log in to http://localhost/joomla/administrator/index.php?option=com_messages&view=message&message_id=30 to read your message.
when I click the link
You are not authorised to view this resource.
Finally I Hope you understand my probelm!
Please start by verifying if Mercury is installed in C:\MERCURY\ or C:\xampp\MERCURYMAIL\. It should be either, not both, and you need to know which.
You can perhaps use Mr. Seckinger's guide to help you set up a mail server for local use. If it however fails we are happy to give you advise on how to configure Mercury here, but specific questions regarding Mr. Seckinger's configuration example should probably be answered by him.
The address to the Joomla community site is http://forum.joomla.org/.
/Rolf
Hi,
The MercuryMail is in C:\xampp\MercuryMail installed. where I can find Mr. Seckinger's guide??
[quote user="gazi"]The MercuryMail is in C:\xampp\MercuryMail installed. where I can find Mr. Seckinger's guide?? [/quote]
I would not recommend the guide that you linked to. Configuring an email server can be complex. The guide is far too simple, lacks explanation, and may expose the server on the internet to being hijacked as an open relay.
Use the help that Rolf suggests.
Your previous draft for topic is pending
If you continue, your previous draft will be discarded.