Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

New User Having Trouble Setting Up Mercury

Last post 06-12-2009, 4:13 by Thomas R. Stephenson. 5 replies.
Sort Posts: Previous Next
  •  06-12-2009, 0:02

    • carohlfs is not online. Last active: 06-12-2009, 16:47 carohlfs
    • Not Ranked
    • Joined on 06-11-2009
    • Member
    • Points 60

    New User Having Trouble Setting Up Mercury

    Dear Mercury Forum,

    I'm very new to the Mercury system.  I am having some problems setting up Mercury Mail, and I would very much appreciate any suggestions that you have.  I'm using Windows XP and I have a Netgear wireless router.  I've turned off my firewall & virus protection.

    I have just installed Mercury/32 so that I set up a POP to get all my old Unix and Outlook messages into Gmail (I am following instructions from a website that says to use Mercury for this).

    I've set up Mozilla Thunderbird with the email account username@localhost.  Using Thunderbird, I've been able to send myself test emails locally from username@localhost to username@xx.xx.xxx.xxx (where the Xes are my IP address), and I can receive emails in Thunderbird that were sent locally from the postmaster in Mercury.  But when I attempt to send a message from Thunderbird to an outside address (username@gmail.com), I get the following error message:

    "An error occurred while sending mail.  The mail server responded: We do not relay non-local mail, sorry. . Please check the message recipients and try again."

    When I try to send mail from the postmaster from inside Mercury to a Gmail account, the SMTP window reads: "550-5.7.1 [ip listed] The IP you're using to send mail is not authorize" and when I send to a university address of mine, it gives me a similar error of "553-5.1.8 <postmaster@[ip listed]>. . . Domain of sender address postmaster."  And when I attempt to send mail from Gmail to username@xx.xx.xxx.xxx (where the Xes are my IP address), Gmail acts as if the message is sent (there is no failure notification), but I do not receive the email in Thunderbird.

    Do you have any thoughts on what I might be doing wrong?

    Thank you very much for your time,
    Chris

  •  06-12-2009, 0:19

    Re: New User Having Trouble Setting Up Mercury

    But when I attempt to send a message from Thunderbird to an outside address (username@gmail.com), I get the following error message:

    "An error occurred while sending mail.  The mail server responded: We do not relay non-local mail, sorry. . Please check the message recipients and try again."

    Go to Configuration | MercuryS | Connection control and check to turn off relaying, turn on strict and use ESMTP authorization.  Create a username and password file and add the username and password used by t-bird.  You now need to ensure you turn on the SMTP authorization in t-bird as well.

    When I try to send mail from the postmaster from inside Mercury to a Gmail account, the SMTP window reads: "550-5.7.1 [ip listed] The IP you're using to send mail is not authorize" and when I send to a university address of mine, it gives me a similar error of "553-5.1.8 <postmaster@[ip listed]>. . . Domain of sender address postmaster."  And when I attempt to send mail from Gmail to username@xx.xx.xxx.xxx (where the Xes are my IP address), Gmail acts as if the message is sent (there is no failure notification), but I do not receive the email in Thunderbird.

    Looks like you are using MercuryE and you do not have a fixed IP address and registered domain name.  Switch to MercuryS via the Configuration | Protocols and then setup to send via you ISP's SMTP host.  FWIW, the form of literal addressing is username@[<IP address>] and this is the way it is supposed to be entered into the domains setup as well.

    For more help, next time provide a copy of you mercury.ini file, the IP address and host name you are using. 

     If using a router between the Mercury system and the internet you must pass ports 25 (SMTP) and 110 (POP3) from the outside world to the Mercury/32 machine.

     


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team

    I do not answer private messages from the forum. If you want to contact me use email to techsupp@tstephenson.com.
  •  06-12-2009, 1:02

    • carohlfs is not online. Last active: 06-12-2009, 16:47 carohlfs
    • Not Ranked
    • Joined on 06-11-2009
    • Member
    • Points 60

    Re: New User Having Trouble Setting Up Mercury

    Dear Mr. Stephenson,

     Thank you very much for this advice; I really appreciate you taking the time to answer my questions. 

    I have made the changes that you suggested (though I'm not sure I'm opening ports on the router correctly -- I logged into the router and "port forwarding" was an option.  I added two "services," one on port 25 and one on port 110; each one had to have an IP address, and so I just typed in 192.168.1.25 and 192.168.1.26).

    I am no longer receiving error messages when I send email -- it tells me that the mail was sent successfully.  However, none of the emails that I'm sending to or from the address are actually showing up.  Do you have any idea what I could be doing wrong now?

    Thanks again for all your help.

    Chris 

     P.S.

    My IP address is 74.79.184.211. 

     and my mercury.ini file is below

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

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

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

    [MercuryC]
    logfile : E:\MERCURY\Logs\MercuryC\~y-~m-~d.log   # Traffic logging file
    Session_logging : E:\MERCURY\Sessions\MercuryC\    # Directory for session log files
    Session_logmode : 0
    host:             # mail mail host which relays for us
    scratch:     E:\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:    E:\MERCURY\Mercury\FAILURE.MER  # Delivery failure template
    esmtp:       1                    # Yes, we want to use ESMTP extensions

    [MercuryE]
    Poll : 15
    Timeout : 60
    logfile : E:\MERCURY\Logs\MercuryE\~y-~m-~d.log   # Traffic logging file
    Session_logging : E:\MERCURY\Sessions\MercuryE\   # Directory for session log files
    Session_logmode : 0
    # Nameservers : 139.80.64.1

    [MercuryD]
    Session_logging : E:\MERCURY\Sessions\MercuryD\    # Directory for session log files
    Session_logmode : 0
    Scratch : E:\MERCURY\Scratch\MercuryD
    # Timeout : 30
    # Poll : 120               # How often to check hosts for new mail (seconds)

    [MercuryS]
    Debug : 1
    Logfile : E:\MERCURY\Logs\MercuryS\~y-~m-~d.log
    Timeout : 30
    Relay : 0
    Strict_Relay : 1
    Allow_Illegals : 0
    SMTP_Authentication : 3
    Auth_File : carohlfs
    Session_logging : E:\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]
    logfile : E:\MERCURY\Logs\MercuryP\~y-~m-~d.log   # Traffic logging file
    Session_logging : E:\MERCURY\Sessions\MercuryP\   # Directory for session log files
    Session_logmode : 0
    Scratch : E:\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]
    74: 74.79.184.211

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

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

    [Groups]

    [Rewrite]

    [Statistics]
    StatFlags:    0  # Statistical reporting settings
    STF_Hours:    24  # How often to write stat log files
    STM_Hours:    24  # How often to e-mail stat log files

     

  •  06-12-2009, 1:42

    Re: New User Having Trouble Setting Up Mercury

    carohlfs:

    I have made the changes that you suggested (though I'm not sure I'm opening ports on the router correctly -- I logged into the router and "port forwarding" was an option.  I added two "services," one on port 25 and one on port 110; each one had to have an IP address, and so I just typed in 192.168.1.25 and 192.168.1.26).

    The IP address required is the internal IP address of the machine that you are forwarding the ports to. Also you don't need port 110 unless you are trying to access POP3 services on your Mercury machine from outside your LAN.

    I am no longer receiving error messages when I send email -- it tells me that the mail was sent successfully.  However, none of the emails that I'm sending to or from the address are actually showing up.  Do you have any idea what I could be doing wrong now?


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

    For sending mail you require an SMTP client module, either MercuryC or MercuryE. You have enabled neither, so that could be one of the reasons your mails are not arriving at the intended destination Smile

  •  06-12-2009, 2:22

    • carohlfs is not online. Last active: 06-12-2009, 16:47 carohlfs
    • Not Ranked
    • Joined on 06-11-2009
    • Member
    • Points 60

    Re: New User Having Trouble Setting Up Mercury

    Dear DLN,

     Thank you very much!  I made those changes and am now sending and receiving mail without problems!

     Best regards,

    Chris

  •  06-12-2009, 4:13

    Re: New User Having Trouble Setting Up Mercury

    > Dear Mr. Stephenson,
    >
    >  Thank you very much for this advice; I really appreciate you taking
    > the time to answer my questions. 
    >
    > I have made the changes that you suggested (though I'm not sure I'm
    > opening ports on the router correctly -- I logged into the router and
    > "port forwarding" was an option.  I added two "services," one on port
    > 25 and one on port 110; each one had to have an IP address, and so I
    > just typed in 192.168.1.25 and 192.168.1.26).

    This needs to be forwarded to the IP address of the system running Mercury.

    >
    > I am no longer receiving error messages when I send email -- it tells
    > me that the mail was sent successfully.  However, none of the emails
    > that I'm sending to or from the address are actually showing up.  Do
    > you have any idea what I could be doing wrong now?
    >
    > Thanks again for all your help.
    >
    > Chris
    >
    >  P.S.
    >
    > My IP address is 74.79.184.211.

    Is this a fixed IP address?  
    >
    >  and my mercury.ini file is below
    >
    > [General]
    > myname:          74.79.184.211    # Canonical name for this server

    This becomes the domain name of the postmaster and maiser and so this should be specified as a valid domain name..

    myname:          [74.79.184.21I]

    > [Protocols]
    > MERCURYS.DLL
    > MERCURYP.DLL
    > # MERCURYE.DLL
    > # MERCURYC.DLL

    if you want to send mail you need either MercuryC or MercuryE.  If that is not a fixed IP address and you do not have a domain name you need to send via MercuryC using you ISP's SMTP host.

    > MERCURYD.DLL
    > # MERCURYH.DLL
    > # MERCURYF.DLL
    > # MERCURYW.DLL
    > # MERCURYX.DLL
    > MERCURYI.DLL
    > # MERCURYB.DLL
    >
    > [MercuryC]
    > logfile : E:\MERCURY\Logs\MercuryC\~y-~m-~d.log   # Traffic logging file
    > Session_logging : E:\MERCURY\Sessions\MercuryC\    # Directory for session log files
    > Session_logmode : 0
    > host:             # mail mail host which relays for us

    Here is here you enter the host name of the ISP's SMTP server.

    > scratch:     E:\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:    E:\MERCURY\Mercury\FAILURE.MER  # Delivery failure template
    > esmtp:       1                    # Yes, we want to use ESMTP extensions
    >
    >
    > [Domains]
    > 74: 74.79.184.211

    The domains section should read

    [Domains]
    ;server : domain
    Server   :  Server
    Server   : [74.79.184.211]


    Thomas R. Stephenson
    San Jose, California
    Member of Pegasus Mail Support Team

    I do not answer private messages from the forum. If you want to contact me use email to techsupp@tstephenson.com.
View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2010 David Harris / Peter Strömblad. | Pegasus Mail Home Page