Adding Mercury

Locked
Results 1 to 20 of 28
This thread is locked. New replies are disabled.
10 Mar 2007, 11:20
#1
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Posts:
322
Plugin Contributions:
1

Adding Mercury

I am going through the setup on this book for a local server but having some problems.

I am on pg 41 and trying to add users to Mercury. I get all of it entered in and press ok, but nothing happens.

Is there a step left out, anyone else have this problem here?
10 Mar 2007, 15:46
#2
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Adding Mercury

Re-start all the required services in XAMPP. If that does not work, re-start the computer. This problem occurs randomly on computers with different configurations.
18 Mar 2007, 00:44
#3
baltimorestreetmods avatar

baltimorestreetmods

Zen Follower

Join Date:
Mar 2007
Posts:
85
Plugin Contributions:
0

Re: Adding Mercury

canopy:

Re-start all the required services in XAMPP. If that does not work, re-start the computer. This problem occurs randomly on computers with different configurations.


I have done both of these and have the same problem.... and when I initiated mercury, and sent the test email, I got an error - message not sent. every timeI initiate xampp, I have to manually start mercury.

Anyone have option c?? lol. Any help would be appreciated.
18 Mar 2007, 00:50
#4
baltimorestreetmods avatar

baltimorestreetmods

Zen Follower

Join Date:
Mar 2007
Posts:
85
Plugin Contributions:
0

Re: Adding Mercury

baltimorestreetmods:

I have done both of these and have the same problem.... and when I initiated mercury, and sent the test email, I got an error - message not sent. every timeI initiate xampp, I have to manually start mercury.

Anyone have option c?? lol. Any help would be appreciated.


I solved one issue - the test is not working bacause no users are listed lol......

Now if I could just figure out why I cannot add anyone...:thumbsup:
18 Mar 2007, 01:21
#5
baltimorestreetmods avatar

baltimorestreetmods

Zen Follower

Join Date:
Mar 2007
Posts:
85
Plugin Contributions:
0

Re: Adding Mercury

baltimorestreetmods:

I solved one issue - the test is not working bacause no users are listed lol......

Now if I could just figure out why I cannot add anyone...:thumbsup:


I think I have it figured out...... someone might mention to the author of the manual that they way the book is wirded, it appears that the admin,postmaster and newuser should already be there. I was trying to add these in since they were not, but upon reflection, I think these will be added by thunderbird. (page 41, "creating test eMAil accounts, direction set 3)

The book also mentions doing a test email which cannot work at that phase of setup, since no mail client is set up yet. (at this page of the book, page 38.)

I am not trying to slam the book, it seems very well laid out, just couple hitches...... might have made the same mistake if I had been using for a while and tried to write a book from the persective of a new user.
18 Mar 2007, 20:31
#6
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Adding Mercury

Apparently, this problem crops up randomly on certain configurations of Windows. In most cases, a restart of XAMPP or the PC after installation is all that is required. However, in other cases, the restart doesn't solve the problem at all ...

This problem might be caused by a corrupted user database within Mercury. I am still working on this issue and have tested it on 3 different PCs running Windows XP SP 2 with no prior XAMPP installed and still have not run into this problem... I am currently waiting for my copy of Windows Vista to be delivered so I can run a test to see if the problem can be reproduced to aid in my analysis.

As for the admin,postmaster and newuser user accounts, they should already be there immediately in Mercury after XAMPP is installed. You shouldn't have to manually add those accounts. These accounts are also not added by Thunderbird.

Thanks for all the feedback. My sincere apologies to those who have encountered this problem. :blush:
19 Mar 2007, 16:26
#7
baltimorestreetmods avatar

baltimorestreetmods

Zen Follower

Join Date:
Mar 2007
Posts:
85
Plugin Contributions:
0

Re: Adding Mercury

canopy:

Apparently, this problem crops up randomly on certain configurations of Windows. In most cases, a restart of XAMPP or the PC after installation is all that is required. However, in other cases, the restart doesn't solve the problem at all ...

This problem might be caused by a corrupted user database within Mercury. I am still working on this issue and have tested it on 3 different PCs running Windows XP SP 2 with no prior XAMPP installed and still have not run into this problem... I am currently waiting for my copy of Windows Vista to be delivered so I can run a test to see if the problem can be reproduced to aid in my analysis.

As for the admin,postmaster and newuser user accounts, they should already be there immediately in Mercury after XAMPP is installed. You shouldn't have to manually add those accounts. These accounts are also not added by Thunderbird.

Thanks for all the feedback. My sincere apologies to those who have encountered this problem. :blush:



No problem, system issues can be fun to get right. As it is, all of this stuff thus far has been provided for free, so I am more than willing to troubleshoot.

With mine, the admin,postmaster and newuser were not included and, at present, when I send mail, I get a successful mail sent message, but I get no mail.

I am using xammp to run all of this on my cpu, this is not a live site yet.
20 Mar 2007, 02:31
#8
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Posts:
322
Plugin Contributions:
1

Re: Adding Mercury

canopy,
Your book is great, I am still working through it as it is a lot to go through, but its great.

It is not your fault about software, it just seems to happen. If I do an uninstall, does it get everything off or like some software does it leave a little here and there? I would like to try a restart as I think I didn't restart after I installed it.
20 Mar 2007, 09:49
#9
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Adding Mercury

Hi godspeed27,

I really appreciate your support and patience on this.

I'm currently looking into baltimorestreetmods MERCURY.ini file and noticed some discrepancy between his version and mine. Would you mind sending me your copy too?

If you would like to perform a re-installation on your machine, try it with these conditions this time round:
- Uninstall XAMPP and restart your PC.
- Ensure you have Administrator access to your Windows XP system.
- Disconnect your network cable or network card. Then disable your firewall.
- Install XAMPP into a directory without space (e.g. C:\xampp) but do not start the services.
- Re-start your PC.
- Start up XAMPP Control Panel and then start the Mercury Mail service.
- Open up the Mercury Mail admin interface and check that the default users are there.

Whether the re-installation is successful or not, remember to re-enable your firewall after testing.

Let me know if the above steps work.
20 Mar 2007, 10:26
#10
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Posts:
322
Plugin Contributions:
1

Re: Adding Mercury

I opened up the file and here is what I have
#  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:          example.com    # 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:\Program Files\xampp\MERCURYMAIL\QUEUE    # Where mail should be put for delivery
smtpqueue:       C:\Program Files\xampp\MERCURYMAIL\QUEUE    # Where the SMTP client should look for mail
newmail_path:    C:\Program Files\xampp\MERCURYMAIL\MAIL\~N    # Where to find the users' WinPMail mailboxes.

[Protocols]
C:\Program Files\xampp\MERCURYMAIL\mercurys.dll
C:\Program Files\xampp\MERCURYMAIL\mercurye.dll
C:\Program Files\xampp\MERCURYMAIL\mercuryp.dll
C:\Program Files\xampp\MERCURYMAIL\mercuryd.dll
C:\Program Files\xampp\MERCURYMAIL\mercuryx.dll
C:\Program Files\xampp\MERCURYMAIL\mercuryh.dll
C:\Program Files\xampp\MERCURYMAIL\mercuryw.dll
C:\Program Files\xampp\MERCURYMAIL\mercuryi.dll


[Mercury]
failfile:     C:\Program Files\xampp\MERCURYMAIL\Mercury\FAILURE.MER    # Delivery failure notification template
confirmfile:  C:\Program Files\xampp\MERCURYMAIL\Mercury\CONFIRM.MER    # Delivery confirmation template
aliasfile:    C:\Program Files\xampp\MERCURYMAIL\Mercury\ALIAS.MER    # System-wide alias file
synfile:      C:\Program Files\xampp\MERCURYMAIL\Mercury\SYNONYM.MER    # User synonym database
listfile:     C:\Program Files\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:\Program Files\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

[MercuryC]
# Session_logging:  G:\           # Directory to write session transcripts
host:             # mail mail host which relays for us
scratch:     C:\Program Files\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:\Program Files\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:\Program Files\xampp\MERCURYMAIL\Mercury
# Timeout : 30
# Poll : 120               # How often to check hosts for new mail (seconds)

[MercuryS]
# Session_logging:  G:\           # Directory to write session transcripts
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.
logfile:     C:\Program Files\xampp\MERCURYMAIL\Logs\MERCURYS.LOG
# size:        1500000
Relay : 0         # Control non-local relaying



[MercuryP]
Scratch : C:\Program Files\xampp\MERCURYMAIL\Mercury
Stack : 32768
Mark_Read : 1
SSL_Mode : 0
Login_Disabled : 0
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]
# NetWare Server           Domain name
localhost  :  localhost
localhost.net  :  localhost.net
localhost.org  :  localhost.org
localhost.com  :  localhost.com
example.com    :  example.com

[Maiser]
Maiser:          Maiser   # 'Username' of mail server account
Helpfile:        C:\Program Files\xampp\MERCURYMAIL\Mercury\MAISER.HLP   # Help sent on failed maiser requests
Lookupfile:      C:\Program Files\xampp\MERCURYMAIL\Mercury\MAISER.LKP   # Format file for the 'lookup' command
Send_dir:        C:\Program Files\xampp\MERCURYMAIL\Mercury\SENDABLE   # Directory for the 'send' command
Logfile:         C:\Program Files\xampp\MERCURYMAIL\Logs\MAISER.LOG   # Mail server log file
Notify:          C:\Program Files\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:\Program Files\xampp\MERCURYMAIL\Logs\MERCURYH.LOG
# Addressbook : \\CLIO\SYS\SYSTEM\MERCURY\PH.PMR
# MOTD : \\CLIO\SYS\SYSTEM\MERCURY\PH-MOTD.TXT
# Administrator : [email protected]
Timeout : 30

[MercuryI]
Scratch : C:\Program Files\xampp\MERCURYMAIL\SCRATCH
Timeout : 120
Server_Port : 143
Idle_Timeout : 1800
SSL_Mode : 0
Login_Disabled : 0

[MercuryB]
Scratch : C:\Program Files\xampp\MERCURYMAIL\SCRATCH
# Logfile : o:\mail\tmp\mercuryb.log
Timeout : 120
Server_Port : 80
# 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
20 Mar 2007, 10:28
#11
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Posts:
322
Plugin Contributions:
1

Re: Adding Mercury

One more thing...is WAMP a bad option for this. Not sure if it has Mercury as I am taking a class and I have to use this, well don't have to but its recommended
20 Mar 2007, 10:57
#12
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Adding Mercury

The bad news: Both your file contents are different from mine ...

The good news: Both your files are different from mine in exactly the same place. At least that gives me a lead. Might need more log files to do the troubleshooting.

Will run some more tests and keep you posted.
20 Mar 2007, 11:05
#13
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Adding Mercury

Don't think there's a mail server bundled with WAMP...

Depending on which version of WAMP you are using, you need to make sure the Apache, MySQL and PHP versions are compatible with Zen Cart.
20 Mar 2007, 12:44
#14
godspeed27 avatar

godspeed27

Zen Follower

Join Date:
May 2006
Posts:
322
Plugin Contributions:
1

Re: Adding Mercury

ok, well it looks like you know where the problem is or a start, I will just hold out until you find more, thanks for the hard work.
20 May 2007, 07:21
#15
craigthetechnophob avatar

craigthetechnophob

New Zenner

Join Date:
May 2007
Posts:
13
Plugin Contributions:
0

Re: Adding Mercury

I have the same book by Goh which I would be lost without I never realised there was so much involved. Al was ging well and I was starting to think it was going to be easy then I got stuck at page 41.
I think the problem was that I was trying to use the 'Username' 'Personal Name' and 'password' from page 389 as instructed in the book. Mercury won't accept the usernames though as it wont except usernames over 16 characters long so I left off the @example.com parts of the usernames and they all added fine. I hope this helps.

Quick caution note. I am now stuck on page 45 my thunderbird email accounts added won't work keep getting mail.example server 'username or password incorrect'. Not being a PC expert I am don't know what the problem is, the lines I have followed are so far are: was it because I shortened the username in mercury (which I doubt). Or was it the Configuring Mercury on page 38.Told to Edit /MercuryMail/Mercury.INI with:

myname example.com # Canonical name for this server
and add:
example.com : example.com
But:

There are two mercury.INI files in Mercury mail with almost identical coding in.

I have tried just changing one, then just the other and then both. I still cant send an email in thunderbird from any of my test accounts to the others.

Any help anyone?

Thank you.
20 May 2007, 07:46
#16
craigthetechnophob avatar

craigthetechnophob

New Zenner

Join Date:
May 2007
Posts:
13
Plugin Contributions:
0

Re: Adding Mercury

Being new I didn't know I could post a quick reply, apologies. Godspeed 27 and Canopy re: adding users to mercury I have added a reply post #15 of this thread that may help, and a problem of my own. thanks
21 May 2007, 04:35
#17
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Adding Mercury

Hi Craig, sorry for the errors in the book, I have posted fixes for them on the Book Support Site.

For the .ini files, you should only edit MERCURY.INI and not MERCURY_EXAMPLE.INI.

I see nothing wrong with your configuration so far. But maybe you can check the local domain you have configured is similar to that on pg 37. You may have to restart your PC for the changes to take effect.

Try it and let me know. If that still doesn't help, can you let me know your Windows OS version?
21 May 2007, 13:21
#18
craigthetechnophob avatar

craigthetechnophob

New Zenner

Join Date:
May 2007
Posts:
13
Plugin Contributions:
0

Re: Adding Mercury

Thank you canopy for your quick reply. I will try your suggestions and look at the book support site.

As for the book no apologies needed now I know what is involved I can't believe I even contemplated doing it without the book, I wouldn't have stood a chance. I think it will encourage alot of people like me who are not PC experts to have a go, which is great but will probably mean alot of question answering for you.

I will keep my questions to this thread as requested and apologise for the double post here 15&16 I thought that the quick reply option would insert a post directly beneath the post I selected it from.
21 May 2007, 14:36
#19
craigthetechnophob avatar

craigthetechnophob

New Zenner

Join Date:
May 2007
Posts:
13
Plugin Contributions:
0

Re: Adding Mercury

Hi Canopy

I have made sure only the Mercury.INI file is the one edited.
I have checked that my C:\Windows\system32\drivers\etc\hosts has the correct lines added as page 37(it has).
My test email on page 38 goes OK.
Actually everything appears Ok until I try to add local users to Thunderbird at the end when asked to add password I get:
'sending the password did not succeed. Mail server mail.example.com responded:Username or password incorrect'

I have noticed that I can only use www.example.com in my browser www.localhost.com isn't working and my OS is windows XP version 2002 if that is any help.

Thank you for your time.

Craig
22 May 2007, 02:23
#20
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Adding Mercury

Try this:

In your Thunderbird program, look up the Account Settings for the mail user with the login problem. You can do this with a right-click on the account and then choosing Properties from the context menu.

Under Server Settings, make sure the User Name field does not have a domain. For example, it should read storekeeper instead of [email protected].

PS: "www.localhost.com" won't work, only "localhost" or "www.example.com" will work.