Community Discussions and Support
problems

As Thomas pointed out, brackets are required around IP numbers in Local domains. Furthermore it appears you have misspelled the sender address in your messages (...huse instead of ...house).

/Rolf 

<p>As Thomas pointed out, brackets are required around IP numbers in Local domains. Furthermore it appears you have misspelled the sender address in your messages (...huse instead of ...house).</p><p>/Rolf </p>

I am having problems, what i'm trying to do is use my webserver to send email through php. I have the mercury mail server set up and installed, and when i run the script it says the mail has been sent. The problem is it never get's delivered and i'm wondering if somene can help me. In my mercury core process module it says i have 11 pending outgoing jobs which means i'm having a problem somewhere and i would really like the help if anyone knows what's going on here. I'm also getting Temporary error 249 (temporary MX resolution error) resolving 'gmail.com'. in my end-to-end client module.

I am having problems, what i'm trying to do is use my webserver to send email through php. I have the mercury mail server set up and installed, and when i run the script it says the mail has been sent. The problem is it never get's delivered and i'm wondering if somene can help me. In my mercury core process module it says i have 11 pending outgoing jobs which means i'm having a problem somewhere and i would really like the help if anyone knows what's going on here. I'm also getting Temporary error 249 (temporary MX resolution error) resolving 'gmail.com'. in my end-to-end client module.

Difficult to say without seeing your settings in mercury.ini, but as you get an address resolution error it would seem that your DNS settings are wrong. Check the name servers field in MercuryE configuration. In most cases you should leave this field blank and let Mercury use the settings in Windows. Restart Mercury after changing this.

While you are at it, please check the local domains settings in core configuration as well. This is perhaps the most critical part of mailserver setup. The help text will give you more information.

If you have SMTP access from the Internet to your server you should as well make sure that relaying is not allowed in MercuryS settings / Connection control.

/Rolf 

<p>Difficult to say without seeing your settings in mercury.ini, but as you get an address resolution error it would seem that your DNS settings are wrong. Check the name servers field in MercuryE configuration. In most cases you should leave this field blank and let Mercury use the settings in Windows. Restart Mercury after changing this.</p><p>While you are at it, please check the local domains settings in core configuration as well. This is perhaps the most critical part of mailserver setup. The help text will give you more information.</p><p>If you have SMTP access from the Internet to your server you should as well make sure that relaying is not allowed in MercuryS settings / Connection control.</p><p>/Rolf </p>

I am having problems, what i'm trying to do is use my webserver to send

email through php. I have the mercury mail server set up and installed,

and when i run the script it says the mail has been sent. The problem

is it never get's delivered and i'm wondering if somene can help me. In

my mercury core process module it says i have 11 pending outgoing jobs

which means i'm having a problem somewhere and i would really like the

help if anyone knows what's going on here. I'm also getting Temporary

error 249 (temporary MX resolution error) resolving 'gmail.com'. in my

end-to-end client module.

How about posting your mercury.ini file for review.  We need to see how you are setup to really provide and specific help.  Please do not munge any IP addresses or host names in the file.

 

<blockquote>I am having problems, what i'm trying to do is use my webserver to send email through php. I have the mercury mail server set up and installed, and when i run the script it says the mail has been sent. The problem is it never get's delivered and i'm wondering if somene can help me. In my mercury core process module it says i have 11 pending outgoing jobs which means i'm having a problem somewhere and i would really like the help if anyone knows what's going on here. I'm also getting Temporary error 249 (temporary MX resolution error) resolving 'gmail.com'. in my end-to-end client module.</blockquote><p>How about posting your mercury.ini file for review.  We need to see how you are setup to really provide and specific help.  Please do not munge any IP addresses or host names in the file.</p><p>  </p>

here is what my mercury.ini looks like... i never even edited this file. Hopefully someone will be able to tell me the problem, i host my website domain on the same local machine as this mail server.

 

=================== START =============================

 

 

#  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:    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

[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
Logfile : C:\xampp\MERCURYMAIL\Logs\MERCURYS.LOG
Timeout : 30
Relay : 1
Strict_Relay : 0
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
Mark_Read : 1
SSL_Mode : 0
Login_Disabled : 0
UIDL_nul_list : 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

 

 

 

===================FINISH==============================

<p>here is what my mercury.ini looks like... i never even edited this file. Hopefully someone will be able to tell me the problem, i host my website domain on the same local machine as this mail server.</p><p> </p><p>=================== START =============================</p><p> </p><p> </p><p>#  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:    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 [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 Logfile : C:\xampp\MERCURYMAIL\Logs\MERCURYS.LOG Timeout : 30 Relay : 1 Strict_Relay : 0 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 Mark_Read : 1 SSL_Mode : 0 Login_Disabled : 0 UIDL_nul_list : 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  </p><p> </p><p> </p><p>===================FINISH============================== </p>

[MercuryE]
Poll : 15
Timeout : 60
# Session_logging : o:\mail\mercury\melogs
# Session_logmode : 1
# Nameservers : 139.80.64.1
You can leave the name server blank but since it's not working for you enter your DNS host IP or use the OpenDNS server 208.67.222.222  You should go to Configuration | MercuryE and setup session logging as well

You do not have any valid host name for this server and a lot of hosts will reject mail from a host using the localhost domain name.  The session log will show how the receiving server is responding to your connection.  That said, if you do not have a valid host name and fixed IP address MercuryE is not really a good option.  You should go to Configuration | Protocols and switch to using MercuryC. You can then point MercuryC to point at your ISP's SMTP to send the mail.

I sure wish XAMPP could do a lot better job of configuring the Mercury setup, what they do by default is a shame. 

 

<blockquote>[MercuryE] Poll : 15 Timeout : 60 # Session_logging : o:\mail\mercury\melogs # Session_logmode : 1 # Nameservers : 139.80.64.1</blockquote>You can leave the name server blank but since it's not working for you enter your DNS host IP or use the OpenDNS server 208.67.222.222  You should go to Configuration | MercuryE and setup session logging as well <p>You do not have any valid host name for this server and a lot of hosts will reject mail from a host using the localhost domain name.  The session log will show how the receiving server is responding to your connection.  That said, if you do not have a valid host name and fixed IP address MercuryE is not really a good option.  You should go to Configuration | Protocols and switch to using MercuryC. You can then point MercuryC to point at your ISP's SMTP to send the mail.</p><p>I sure wish XAMPP could do a lot better job of configuring the Mercury setup, what they do by default is a shame.  </p><p> </p>

Relay settings in MercuryS should probably be (in case you eventually will have Internet access to the server): 

Relay : 0

Strict_Relay : 1

/Rolf 

 

<p><span class="Apple-style-span" style="font-family: Tahoma; ">Relay settings in</span> MercuryS should probably be (in case you eventually will have Internet access to the server): </p><p>Relay : 0</p><p>Strict_Relay : 1</p><p>/Rolf </p><p> </p>

[quote user="Thomas R. Stephenson"]

You do not have any valid host name for this server and a lot of hosts will reject mail from a host using the localhost domain name.  The session log will show how the receiving server is responding to your connection.  That said, if you do not have a valid host name and fixed IP address MercuryE is not really a good option.  You should go to Configuration | Protocols and switch to using MercuryC. You can then point MercuryC to point at your ISP's SMTP to send the mail.

[/quote]

 

I don't understand what you mean by this? I have a valid hostname? my webserver is www.homickshouse.com is my domain name i bought and use to host my webpages... also i use zoneedit.com for my DNS server, although i'm not to savvy on setting things up.. I really wish there was something i could do to get this working correctly. Well if this little bit of info also helps in letting me know what i should do then i'm all ears, if not thanks anyhow i suppose! Should i maybe have www.homickshouse.com somewhere inside this .ini file?

[quote user="Thomas R. Stephenson"] <P>You do not have any valid host name for this server and a lot of hosts will reject mail from a host using the localhost domain name.  The session log will show how the receiving server is responding to your connection.  That said, if you do not have a valid host name and fixed IP address MercuryE is not really a good option.  You should go to Configuration | Protocols and switch to using MercuryC. You can then point MercuryC to point at your ISP's SMTP to send the mail.</P> <P>[/quote]</P> <P mce_keep="true"> </P> <P>I don't understand what you mean by this? I have a valid hostname? my webserver is <A href="http://www.homickshouse.com/" mce_href="http://www.homickshouse.com/">www.homickshouse.com</A> is my domain name i bought and use to host my webpages... also i use zoneedit.com for my DNS server, although i'm not to savvy on setting things up.. I really wish there was something i could do to get this working correctly. Well if this little bit of info also helps in letting me know what i should do then i'm all ears, if not thanks anyhow i suppose! Should i maybe have <A href="http://www.homickshouse.com/">www.homickshouse.com</A> somewhere inside this .ini file?</P>

Neither Mercury nor we can guess information you don't provide. But let's try again, step by step.

1. In the Mercury folder there should be a PDF file containing the Mercury manual. It's named man-4xx.pdf (replace xx with the version of Mercury that was installed). If you read it you will get a better understanding about how a mail server works.

2. Your domain is homickshouse.com. (www is the hostname for the webserver in that domain.) Presently your name server returns mail3.zoneedit.com and mail4.zoneedit.com as mail handlers (MX) for the domain. To run your own mail server you should change that to point to your server. If it's the same IP address as for the webserver you can use www.homickshouse.com here as well. If you want you can create a new host record called mail.homickshouse.com with the same IP address, but that's optional.

3. In Mercury Core configuration / General, change "Internet name for this system" to homickshouse.com.

4. In Mercury Core configuration, Local domains, replace the current entries with:

mail    hostname   // replace this with the computer name that is set in Windows for your server
mail    homickshouse.com
mail    www.homickshouse.com   // or mail.homickshouse.com if that is what you decide to use
mail    [67.186.21.74]
mail    [xx.xx.xx.xx]   // the IP address in your LAN for the server

5. In MercuryS configuration / Connection control, make sure the first two checkboxes under Relaying control are checked.

6. In MercuryE configuration, clear the "Name servers" field.

7. Restart Mercury. 

Sorry that this is a bit complicated, but you have to do it correctly if you want it to work.

/Rolf 

<p>Neither Mercury nor we can guess information you don't provide. But let's try again, step by step.</p> <p>1. In the Mercury folder there should be a PDF file containing the Mercury manual. It's named man-4xx.pdf (replace xx with the version of Mercury that was installed). If you read it you will get a better understanding about how a mail server works.</p> <p>2. Your domain is homickshouse.com. (www is the hostname for the webserver in that domain.) Presently your name server returns mail3.zoneedit.com and mail4.zoneedit.com as mail handlers (MX) for the domain. To run your own mail server you should change that to point to your server. If it's the same IP address as for the webserver you can use www.homickshouse.com here as well. If you want you can create a new host record called mail.homickshouse.com with the same IP address, but that's optional.</p> <p>3. In Mercury Core configuration / General, change "Internet name for this system" to homickshouse.com.</p> <p>4. In Mercury Core configuration, Local domains, replace the current entries with:</p> <blockquote> <p>mail    hostname   // <i>replace this with the computer name that is set in Windows for your server</i> mail    homickshouse.com mail    www.homickshouse.com   // <i>or mail.homickshouse.com if that is what you decide to use</i> mail    [67.186.21.74] mail    [xx.xx.xx.xx]   // <i>the IP address in your LAN for the server</i></p> </blockquote> <p>5. In MercuryS configuration / Connection control, make sure the first two checkboxes under Relaying control are checked.</p> <p>6. In MercuryE configuration, clear the "Name servers" field.</p> <p>7. Restart Mercury. </p> <p>Sorry that this is a bit complicated, but you have to do it correctly if you want it to work.</p> <p>/Rolf </p>

Ok i have tried to do all that stuff and now i get the error "SMTP server response: 553 We do not relay non-local mail, sorry" when i run my php file. I am attaching a screen of my zoneedit stuff maybe that can help in some way, also i am including my .ini again in hopes that i can still resolve this.

 


 #  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:          homickshouse.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:\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:    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

[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
Log_Verbose : 0
DNS_Timeout : 20
DNS_Retries : 4
Transcripts : 1
MaxThreads : 10

[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 : 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
Mark_Read : 1
SSL_Mode : 0
Login_Disabled : 0
UIDL_nul_list : 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]
mail: bobbylaptop
mail: homickshouse.com
mail: mail.homickshouse.com
mail: 67.186.21.74
mail: 192.168.2.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
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


Thanks again for spending the time to try to help me on this, i'm sorry that i'm not real intune to the mail server, this is only my first time trying to do this. If there is any other information that you need that i haven't provided that will help out please let me know and i'll try to provide it. Thanks again guys

<p>Ok i have tried to do all that stuff and now i get the error "SMTP server response: 553 We do not relay non-local mail, sorry" when i run my php file. I am attaching a screen of my zoneedit stuff maybe that can help in some way, also i am including my .ini again in hopes that i can still resolve this.</p><p> </p><p> </p><p> #  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:          homickshouse.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:\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:    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 [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 Log_Verbose : 0 DNS_Timeout : 20 DNS_Retries : 4 Transcripts : 1 MaxThreads : 10 [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 : 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 Mark_Read : 1 SSL_Mode : 0 Login_Disabled : 0 UIDL_nul_list : 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] mail: bobbylaptop mail: homickshouse.com mail: mail.homickshouse.com mail: 67.186.21.74 mail: 192.168.2.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 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</p><p> </p><p>Thanks again for spending the time to try to help me on this, i'm sorry that i'm not real intune to the mail server, this is only my first time trying to do this. If there is any other information that you need that i haven't provided that will help out please let me know and i'll try to provide it. Thanks again guys </p>

OK, you are down to two problems:

1. 'We do not relay...'  This is a security measure, and you have to allow your local machine/network to relay through Mercury. Go to MercuryS configuration, Connection control, and add the ip addresses of you mavchines that you want to allow to send mail.  Probably 127.0.0.1 for the laptop, and you could add your network (192.168.x.x or whatever).

2. You are still having problems resolving gmail.com in MercuryE, which indicates a problem with your DNS.  As Thomas suggested already, use the openDNS server IP address, or forget about direct sending and use a relay with MercuryC.

 

<p>OK, you are down to two problems:</p><p>1. 'We do not relay...'  This is a security measure, and you have to allow your local machine/network to relay through Mercury. Go to MercuryS configuration, Connection control, and add the ip addresses of you mavchines that you want to allow to send mail.  Probably 127.0.0.1 for the laptop, and you could add your network (192.168.x.x or whatever).</p><p>2. You are still having problems resolving gmail.com in MercuryE, which indicates a problem with your DNS.  As Thomas suggested already, use the openDNS server IP address, or forget about direct sending and use a relay with MercuryC.</p><p> </p>

[Domains]
mail: bobbylaptop
mail: homickshouse.com
mail: mail.homickshouse.com
mail: 67.186.21.74
mail: 192.168.2.2

Personally I would change the domains to to handle literal addressing, i.e. user@[67.186.21.74]

[Domains]
mail: bobbylaptop
mail: homickshouse.com
mail: mail.homickshouse.com
mail: [67.186.21.74]
mail: [192.168.2.2]

 

 

<blockquote>[Domains] mail: bobbylaptop mail: homickshouse.com mail: mail.homickshouse.com mail: 67.186.21.74 mail: 192.168.2.2</blockquote><p>Personally I would change the domains to to handle literal addressing, i.e. user@[67.186.21.74]</p><p>[Domains] mail: bobbylaptop mail: homickshouse.com mail: mail.homickshouse.com mail: [67.186.21.74] mail: [192.168.2.2]</p><p> </p><p> </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