Community Discussions and Support
Direct IP-emailing doesn't work, connection error on MercuryE Client

>>I would have though the router configuration would have shown the external interface and not the internal.

You asked for the external interface. But i have no idea how to get hold of that information. All i can access on the router is the page i just posted, with all options clicked on.

If you are only getting an IP address via DCHP then this is a dynamic address and you cannot use MercuryE with a dynamically assigned IP address.  You need to switch to using MercuryC and enter the host name of your ISP's SMTP host as the relay host name.


<blockquote><p>>>I would have though the router configuration would have shown the external interface and not the internal.</p><p> You asked for the external interface. But i have no idea how to get hold of that information. All i can access on the router is the page i just posted, with all options clicked on. </p></blockquote><p>If you are only getting an IP address via DCHP then this is a dynamic address and you cannot use MercuryE with a dynamically assigned IP address.  You need to switch to using MercuryC and enter the host name of your ISP's SMTP host as the relay host name. </p>

Hi All!

 Ive got a fairly specific problem. Server and client are on the same machine. A usernate John (@192.168.123.166) has been created. Using the mercury package, i can send and recieve within the network 192.168.123.xx (LOCALLY). But i cannot recieve direct IP emails, meaning, when i go to .www.whatsmyip.org and get my ip from there 56.83.16.155 (NTO MY REAL IP, FICTIVE), then go into gmail and directly write John@[56.83.16.15], i do not recieve the email.

 Router has portforwarded port 25 to 192.168.123.166.

 When i try to send an email locally from thunderbird or from mercury's file-> send message function, i see that things are happening on the outgoing side of the server but mercuryE Client just writes:

Processing Job...

Resolved MX for '[56.83.16.15]' to 56.83.16.155

Connecting to 56.83.16.155

Connection error.

 And on outgoing jobs, the job rests on pending, adding to yet another email "pending". 

 What am i doing wrong or havnt i understood?

 Any help would be appriciated

<p>Hi All!</p><p> Ive got a fairly specific problem. Server and client are on the same machine. A usernate John (@192.168.123.166) has been created. Using the mercury package, i can send and recieve within the network 192.168.123.xx (LOCALLY). But i cannot recieve direct IP emails, meaning, when i go to .www.whatsmyip.org and get my ip from there 56.83.16.155 (NTO MY REAL IP, FICTIVE), then go into gmail and directly write John@[56.83.16.15], i do not recieve the email.</p><p> Router has portforwarded port 25 to 192.168.123.166.</p><p> When i try to send an email locally from thunderbird or from mercury's file-> send message function, i see that things are happening on the outgoing side of the server but mercuryE Client just writes:</p><p>Processing Job...</p><p>Resolved MX for '[56.83.16.15]' to 56.83.16.155 </p><p>Connecting to 56.83.16.155 </p><p>Connection error.</p><p> And on outgoing jobs, the job rests on pending, adding to yet another email "pending". </p><p> What am i doing wrong or havnt i understood?</p><p> Any help would be appriciated </p>

Looks like your setup is wrong, especially the domains section.  How about providing a copy of your mercury.ini file for analysis.  BTW, provide real data when you are asking for help, host name and IP address especially, since we are running blind without it. 

Looks like your setup is wrong, especially the domains section.  How about providing a copy of your mercury.ini file for analysis.  BTW, provide real data when you are asking for help, host name and IP address especially, since we are running blind without it. 

Above the zipped .ini file...

Oh, sorry for not providing real data. I do not have a domain name, not for the router at least. A stupid question but is it important? (of course it is, when you are asking for the domain name) If so, what do i have to name it/which format?

(By the way, my ISP is sil.at)


 

<p>Above the zipped .ini file... </p><p>Oh, sorry for not providing real data. I do not have a domain name, not for the router at least. A stupid question but is it important? (of course it is, when you are asking for the domain name) If so, what do i have to name it/which format? </p><p>(By the way, my ISP is sil.at) </p><p> </p><p>  </p>

Above the zipped .ini file...

Oh, sorry for not providing real data. I do not have a domain name, not for the router at least. A stupid question but is it important? (of course it is, when you are asking for the domain name) If so, what do i have to name it/which format?

(By the way, my ISP is sil.at)

> Oh, sorry for not providing real data.

What is the IP address and host name of your system.  In you case it's what the router shows to the world.  We really need these data to help. If you do not have a domain name then the IP address of the router.  If it's not a fixed IP address then you cannot use MercuryE for sending since almost all servers will reject mail from mail hosts running with a dynamically assigned IP address.

>
>
>  Here is the mercury.ini file:


> [General]
> myname:          192.168.123.166    # Canonical name for this server

What the actual server name?  This is to become the domain of maiser and postmaster and should be a real name or IP address.  It should not be the internal only type address. If you have a fixed IP address it on the router use that.  If an IP address is used it should be in brackets, i.e. [209.128.94.2]


> timezone:        +0000    # Time Zone to add to date fields
> file_api:        1    # Use the file api instead of queues
> mailqueue:       D:\PROGRAM FILES\MAILSERVER\QUEUE    # Where mail should be put for delivery
> smtpqueue:       D:\PROGRAM FILES\MAILSERVER\QUEUE    # Where the SMTP client should look for mail
> newmail_path:    D:\PROGRAM FILES\MAILSERVER\MAIL\~N    # Where to find theusers' WinPMail mailboxes.
>
> [Protocols]
> d:\program files\Mailserver\mercurys.dll
> d:\program files\Mailserver\mercurye.dll
> d:\program files\Mailserver\mercuryp.dll
> d:\program files\Mailserver\mercuryd.dll
> d:\program files\Mailserver\mercuryf.dll
> d:\program files\Mailserver\mercuryh.dll
> d:\program files\Mailserver\mercuryw.dll
> d:\program files\Mailserver\mercuryi.dll

Are you really using all of these protocols?  How are you going to be receiving you mail into the system?  SMTP via MercuryS, POP3 via MercuryD or both.


>
>
> [Mercury]

Nothing strange here
>
> [MercuryC]

Not used

>
> [MercuryE]
> HELO : John

Should be either blank or a valid host name.  If blank it gets the name from the name of the system entered above.

> Session_logging : d:\program files\Mailserver\Sessions\MercuryE
> Session_logmode : 0
> Poll : 15
> Timeout : 60
> Nameservers : 208.67.222.222,208.67.220.220

Looks good, the OpenDNS servers

> Logfile : d:\program files\Mailserver\Logs\MercuryE\~y-~m-~d.log
> Log_Verbose : 0
> DNS_Timeout : 20
> DNS_Retries : 4
> Transcripts : 1
> MaxThreads : 10
>
> [MercuryD]
> Session_logging : d:\program files\Mailserver\Sessions\MercuryD\    #
> Directory for session log files Session_logmode : 0 Scratch : d:\program
> files\Mailserver\Scratch\MercuryD # Timeout : 30 # Poll : 120             
> # How often to check hosts for new mail (seconds)
>
> [MercuryS]
> Debug : 1
> Logfile : d:\program files\Mailserver\Logs\MercuryS\~y-~m-~d.log
> Timeout : 30
> Relay : 1
> Strict_Relay : 0

Relay should be turned off and strict turned on.

> Alt_Server_Port : 587
> Interface : 192.168.123.166

You have more than one in the system?  If not this should be blank.

>
> [MercuryP]
> Scratch : d:\program files\Mailserver\Scratch\MercuryP
> Logfile : d:\program files\Mailserver\Logs\MercuryP\~y-~m-~d.log
> Stack : 32768
> Interface : 127.0.0.1

Should be blank unless you want to block connections from other systems.

> Mark_Read : 1
> SSL_Mode : 0
> Login_Disabled : 0
> UIDL_nul_list : 1
> New_UIDs : 1
> No_NUL_passwords : 1
> Session_logging : d:\program files\Mailserver\Sessions\MercuryP
> Session_logmode : 0
> Timeout : 60
>
> [MercuryX]

Not used

>

> [Domains]
> 192: 192
> 192: 192.168.123.166

Domains should be listed as follows

192 : 192
192 : [192.168.123.166]

And you should list any other domain name or any external IP address you will be using to receive mail.

>
> [Maiser]

Not material

Above the zipped .ini file... <p>Oh, sorry for not providing real data. I do not have a domain name, not for the router at least. A stupid question but is it important? (of course it is, when you are asking for the domain name) If so, what do i have to name it/which format? </p><p>(By the way, my ISP is sil.at) </p><p>> Oh, sorry for not providing real data. What is the IP address and host name of your system.  In you case it's what the router shows to the world.  We really need these data to help. If you do not have a domain name then the IP address of the router.  If it's not a fixed IP address then you cannot use MercuryE for sending since almost all servers will reject mail from mail hosts running with a dynamically assigned IP address. > > >  Here is the mercury.ini file: > [General] > myname:          192.168.123.166    # Canonical name for this server What the actual server name?  This is to become the domain of maiser and postmaster and should be a real name or IP address.  It should not be the internal only type address. If you have a fixed IP address it on the router use that.  If an IP address is used it should be in brackets, i.e. [209.128.94.2]</p><p> > timezone:        +0000    # Time Zone to add to date fields > file_api:        1    # Use the file api instead of queues > mailqueue:       D:\PROGRAM FILES\MAILSERVER\QUEUE    # Where mail should be put for delivery > smtpqueue:       D:\PROGRAM FILES\MAILSERVER\QUEUE    # Where the SMTP client should look for mail > newmail_path:    D:\PROGRAM FILES\MAILSERVER\MAIL\~N    # Where to find theusers' WinPMail mailboxes. > > [Protocols] > d:\program files\Mailserver\mercurys.dll > d:\program files\Mailserver\mercurye.dll > d:\program files\Mailserver\mercuryp.dll > d:\program files\Mailserver\mercuryd.dll > d:\program files\Mailserver\mercuryf.dll > d:\program files\Mailserver\mercuryh.dll > d:\program files\Mailserver\mercuryw.dll > d:\program files\Mailserver\mercuryi.dll Are you really using all of these protocols?  How are you going to be receiving you mail into the system?  SMTP via MercuryS, POP3 via MercuryD or both. > > > [Mercury] Nothing strange here > > [MercuryC] Not used > > [MercuryE] > HELO : John Should be either blank or a valid host name.  If blank it gets the name from the name of the system entered above. > Session_logging : d:\program files\Mailserver\Sessions\MercuryE > Session_logmode : 0 > Poll : 15 > Timeout : 60 > Nameservers : 208.67.222.222,208.67.220.220 Looks good, the OpenDNS servers > Logfile : d:\program files\Mailserver\Logs\MercuryE\~y-~m-~d.log > Log_Verbose : 0 > DNS_Timeout : 20 > DNS_Retries : 4 > Transcripts : 1 > MaxThreads : 10 > > [MercuryD] > Session_logging : d:\program files\Mailserver\Sessions\MercuryD\    # > Directory for session log files Session_logmode : 0 Scratch : d:\program > files\Mailserver\Scratch\MercuryD # Timeout : 30 # Poll : 120              > # How often to check hosts for new mail (seconds) > > [MercuryS] > Debug : 1 > Logfile : d:\program files\Mailserver\Logs\MercuryS\~y-~m-~d.log > Timeout : 30 > Relay : 1 > Strict_Relay : 0 Relay should be turned off and strict turned on. > Alt_Server_Port : 587 > Interface : 192.168.123.166 You have more than one in the system?  If not this should be blank. > > [MercuryP] > Scratch : d:\program files\Mailserver\Scratch\MercuryP > Logfile : d:\program files\Mailserver\Logs\MercuryP\~y-~m-~d.log > Stack : 32768 > Interface : 127.0.0.1 Should be blank unless you want to block connections from other systems. > Mark_Read : 1 > SSL_Mode : 0 > Login_Disabled : 0 > UIDL_nul_list : 1 > New_UIDs : 1 > No_NUL_passwords : 1 > Session_logging : d:\program files\Mailserver\Sessions\MercuryP > Session_logmode : 0 > Timeout : 60 > > [MercuryX] Not used > > [Domains] > 192: 192 > 192: 192.168.123.166 Domains should be listed as follows 192 : 192 192 : [192.168.123.166] And you should list any other domain name or any external IP address you will be using to receive mail. > > [Maiser] Not material </p>

I would have though the router configuration would have shown the external interface and not the internal.

 

[quote user="softspeaker"]Here the router info:
[/quote]

<p>I would have though the router configuration would have shown the external interface and not the internal.</p><p> </p><p>[quote user="softspeaker"]Here the router info: [/quote]</p>

>Are you really using all of these protocols?  How are you going to be receiving you mail into the >system?  SMTP via MercuryS, POP3 via MercuryD or both.

Im a newbie :D Got to test out as much as possible! Im using SMTP via MercuryS

>> [MercuryE]
>> HELO : John

>Should be either blank or a valid host name.  If blank it gets the name from the name of the >system entered above.

Now set to blank.


>Relay should be turned off and strict turned on.

How do i turn the relay off? Put Relay on 0 and Strict_relay on 1? (manually editing the ini file?)

>> Alt_Server_Port : 587
>> Interface : 192.168.123.166

>You have more than one in the system?  If not this should be blank.

Blanking out now.

>> [MercuryP]
>> Scratch : d:\program files\Mailserver\Scratch\MercuryP
>> Logfile : d:\program files\Mailserver\Logs\MercuryP\~y-~m-~d.log
>> Stack : 32768
>> Interface : 127.0.0.1

>Should be blank unless you want to block connections from other systems.

Blanked out.


>> [Domains]
>> 192: 192
>> 192: 192.168.123.166

>Domains should be listed as follows

>192 : 192
>192 : [192.168.123.166]


I dont quite understand this one, should i add brackets to the ip in my .ini file?


(Buy the way thanks a bunch for your time and help)

>Are you really using all of these protocols?  How are you going to be receiving you mail into the >system?  SMTP via MercuryS, POP3 via MercuryD or both. Im a newbie :D Got to test out as much as possible! Im using SMTP via MercuryS >> [MercuryE] >> HELO : John >Should be either blank or a valid host name.  If blank it gets the name from the name of the >system entered above. Now set to blank. >Relay should be turned off and strict turned on. How do i turn the relay off? Put Relay on 0 and Strict_relay on 1? (manually editing the ini file?) >> Alt_Server_Port : 587 >> Interface : 192.168.123.166 >You have more than one in the system?  If not this should be blank. Blanking out now. >> [MercuryP] >> Scratch : d:\program files\Mailserver\Scratch\MercuryP >> Logfile : d:\program files\Mailserver\Logs\MercuryP\~y-~m-~d.log >> Stack : 32768 >> Interface : 127.0.0.1 >Should be blank unless you want to block connections from other systems. Blanked out. >> [Domains] >> 192: 192 >> 192: 192.168.123.166 >Domains should be listed as follows >192 : 192 >192 : [192.168.123.166] I dont quite understand this one, should i add brackets to the ip in my .ini file? (Buy the way thanks a bunch for your time and help)

Hmm , ill make a complete fool out of myself and list all the info i can on the router by printscreening :)

 

 

<p>Hmm , ill make a complete fool out of myself and list all the info i can on the router by printscreening :)</p><p> </p><p> </p>

Im simply clicking on all options on my router and posting:

 

<p>Im simply clicking on all options on my router and posting:</p><p> </p>

Number 4. Should i write a Domain name in this textbox? If so what would you suggest?

Number 4. Should i write a Domain name in this textbox? If so what would you suggest?

>>I would have though the router configuration would have shown the external interface and not the internal.

You asked for the external interface. But i have no idea how to get hold of that information. All i can access on the router is the page i just posted, with all options clicked on.

<p>>>I would have though the router configuration would have shown the external interface and not the internal.</p><p> You asked for the external interface. But i have no idea how to get hold of that information. All i can access on the router is the page i just posted, with all options clicked on. </p>

>192 : 192
>192 : [192.168.123.166]


I dont quite understand this one, should i add brackets to the ip in my .ini file?

 Yes, mail to john@[192.168.123.166] will be forwarded off server since there is no matching local domain name.  Since the 192.168.x.x type IP address is not valid in the outside world it's can't be sent anywhere.

 

 

<blockquote><p>>192 : 192 >192 : [192.168.123.166] I dont quite understand this one, should i add brackets to the ip in my .ini file?</p></blockquote><p> Yes, mail to john@[192.168.123.166] will be forwarded off server since there is no matching local domain name.  Since the 192.168.x.x type IP address is not valid in the outside world it's can't be sent anywhere.</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