Now I can send mail from Mercury to external,Mercury to Mercury (local),but I can't send from external to Mercury. I open only Module MercuryP,S,E. Need I to configure more to receive mail from external?
> Now I can send mail from Mercury to external,Mercury to Mercury
(local),but I can't send from external to Mercury.
> I open only Module
MercuryP,S,E. Need I to configure more to receive mail from external?
That's generally enough when you have a fixed IP address, registered host name and MX records. Post a copy of your mercury.ini file for analysis.
OK this is my MERCURY.INI
I copied only [General] [Protocols] [Mecury] [MercuryE] [MercuryS] [MercuryP] [Domains] [Maiser]
# 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: +0700 # Time Zone to add to date fields
file_api: 1 # Use the file api instead of queues
mailqueue: \XAMPP\MERCURYMAIL\QUEUE # Where mail should be put for delivery
smtpqueue: \XAMPP\MERCURYMAIL\QUEUE # Where the SMTP client should look for mail
newmail_path: \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: \xampp\MERCURYMAIL\Mercury\FAILURE.MER # Delivery failure notification template
confirmfile: \xampp\MERCURYMAIL\Mercury\CONFIRM.MER # Delivery confirmation template
aliasfile: \xampp\MERCURYMAIL\Mercury\ALIAS.MER # System-wide alias file
synfile: \xampp\MERCURYMAIL\Mercury\SYNONYM.MER # User synonym database
listfile: \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: \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: 0 # 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: 0 # 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: 10 # Period between job retries (minutes)
MaxRetries: 16 # Maximum number of times a job can fail
TwoPasses: 1 # If NZ, process submission queue in 2 passes
Autoaddress: 0 # If NZ, auto-generate user addresses based on name
Daily_exit: 0 # If NZ, auto-restart each day after maintenance
No_Areply: 0 # If NZ, disable automatic replies system-wide
Alt_Forward: 0 # If NZ, allow alternate forwarding specification
Maint_hour: 2 # Hour for daily maintenance (24-hour clock)
Maint_min: 0 # Minute for daily maintenance
Retry_Mode: 0 # If NZ, use progressive backoff for queue retries
Local_DSNs: 1 # If NZ generate Delivery Status for local users only
DSN_time1: 10800 # Seconds deferred before first DSN is sent
DSN_time2: 86400 # Seconds deferred before second DSN is sent
DSN_time3: 259200 # Seconds deferred before third DSN is sent
Host_in_title: 0 # If NZ, show hostname in system tray and taskbar
Lingering: 0 # Enable or disable 'lingering mailboxes'
Linger_Timeout: 60 # Seconds before a lingering mailbox is shut down
Alert_Host: notify.pmail.com # Host to check for licensee advisories
Alert_Interval: 720 # Frequency in minutes (min 240) for checks
Alert_Flags: 3 # Flags controlling advisory checks
[MercuryE]
HELO :********* <-- My Domain
Poll : 15
Timeout : 60
Log_Verbose : 0
DNS_Timeout : 20
DNS_Retries : 4
Transcripts : 1
MaxThreads : 10
[MercuryS]
Debug : 1
HELO : **** <-- My Domain
Logfile : \xampp\MERCURYMAIL\Logs\MERCURYS.LOG
Timeout : 30
Relay : 1
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 : \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
[Domains]
localhost: localhost
localhost: localhost.net
localhost: localhost.org
localhost: localhost.com
localhost: ******** <--- My Domain
[Maiser]
Maiser: Maiser # 'Username' of mail server account
Helpfile: \xampp\MERCURYMAIL\Mercury\MAISER.HLP # Help sent on failed maiser requests
Lookupfile: \xampp\MERCURYMAIL\Mercury\MAISER.LKP # Format file for the 'lookup' command
Send_dir: \xampp\MERCURYMAIL\Mercury\SENDABLE # Directory for the 'send' command
Logfile: \xampp\MERCURYMAIL\Logs\MAISER.LOG # Mail server log file
Notify: \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
// Interface : 127.0.0.1
If you restrict Mercury modules to only communicate using the loopback interface you aren't likely to receive anything from anywhere else...
Is your server really called localhost? Do you own the domains you have listed?
Did you read the help texts in Mercury or the manual? They are well written and informative, and highly recommended reading for anyone trying to understand how a mail server works.
/Rolf
I'm not sure we understand each other. Do you own the domains localhost.net, localhost.org, and localhost.com that are listed in your mercury.ini?
As for "********" there is, as you can imagine, no way for us to find out if it the DNS setup works or not.
Did you change the interface settings? You should at least read Mercury help for local domains settings as well.
/Rolf
Now, I've deleted all domains I don't own.(localhost.com...) and I've just test at http://www.mxtoolbox.com/ with command smtp:124.157.132.221 (124.157.132.221 is my dynamic IP) and I got
[quote] No connection could be made because the target machine actively refused it 124.157.132.221:25
Banner was No connection could be made because the target machine actively refused it 124.157.132.221:25
<Transcript Not Available>[/quote]
what does it mean??
Well, it means that it's not possible to connect to port 25 on your server from the Internet. There could be a number of reasons for it:
- Your Internet provider blocks port 25
- You didn't forward port 25 from your DSL router/firewall to the server
- There is some firewall software blocking port 25 on the server
- You still haven't removed "Interface : 127.0.0.1" in MercuryS settings in mercury.ini
Note as well that a reverse lookup on the IP address returns "adsl-pool-124.157.132-221.dynamic.tttmaxnet.com", and quite many mail servers will refuse to communicate with addresses that can be assumed to be dynamically assigned.
/Rolf
Your previous draft for topic is pending
If you continue, your previous draft will be discarded.