Community Discussions and Support
SMTP Authority While Running As A Service

GOLD STAR TO THAT MAN!!!

 Did that, works fine.  I just need to recover from the late night last night trying to get it to work myself.

 

Thankyou!!!!!

<P>GOLD STAR TO THAT MAN!!!</P> <P> Did that, works fine.  I just need to recover from the late night last night trying to get it to work myself.</P> <P mce_keep="true"> </P> <P>Thankyou!!!!!</P>

Right then, this is confusing.

 

I previously had Mercury 4.62 running perfectly on my WHS.  I had a problem that was unrelated so reinstalled the server last night then threw on Mercury.

 

I configured it to use one email address and it worked fine.  Then, using an application called 'Any Service Installer' from the WeGotServed site to install Mercury as a service, which is what I did previously.

 

Now, when I run it as a service it will receive mail fine but will fail SMTP authorisation.  Outlook Express asks for the username and password for the SMTP server, and the entry is correct.

 

I have attached a copy of the Mercury.INI file, the password file for the SMTP server only has one entry at present., 'user password' , to keep it simple.  Any help greatly appreciated.

 

#  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:      wxy.mine.nu  # 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:\MERCURY\QUEUE   # Where mail should be put for delivery
smtpqueue:   C:\MERCURY\QUEUE   # Where the SMTP client should look for mail
newmail_path: C:\MERCURY\MAIL\~N

[Protocols]
C:\MERCURY\mercurys.dll
C:\MERCURY\mercuryc.dll
C:\MERCURY\mercuryp.dll
C:\MERCURY\mercuryd.dll


[Mercury]
failfile:     C:\MERCURY\Mercury\FAILURE.MER  # Delivery failure notification template
confirmfile:  C:\MERCURY\Mercury\CONFIRM.MER  # Delivery confirmation template
aliasfile:    C:\MERCURY\Mercury\ALIAS.MER    # System-wide alias file
synfile:      C:\MERCURY\Mercury\SYNONYM.MER  # User synonym database
listfile:     C:\MERCURY\Mercury\LISTS.MER    # List of lists
logfile:      C:\MERCURY\Logs\Core\~y-~m-~d.log  # Traffic logging file
# bitnethost:   cunyvm.cuny.edu      # Relay host for ".bitnet" rewrites
poll:         10                   # Seconds between queue polling cycles
scratch:      C:\MERCURY\Scratch   # Where we can write temp files
returnlines:  15                   # How many lines of failed messages to return
postmaster:   peter   # Local user who acts as 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
# noticeboards: SYS:PUBLIC/NB        # Where to find Pegasus Mail noticeboards
auto_tzone:   1                    # If NZ, obtain timezone information from OS

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

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

[MercuryD]
Scratch : C:\MERCURY\Scratch\MercuryD
Timeout : 30
Poll : 30
Session_logging : C:\MERCURY\Sessions\MercuryD
Session_logmode : 0

[MercuryS]
Debug : 1
Logfile : C:\MERCURY\Logs\MercuryS\~y-~m-~d.log
Timeout : 30
Relay : 1
Strict_Relay : 0
Allow_Illegals : 0
SMTP_Authentication : 1
Auth_File : passwords
Session_logging : C:\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]
Scratch : C:\MERCURY\Scratch\MercuryP
Logfile : C:\MERCURY\Logs\MercuryP\~y-~m-~d.log
Stack : 32768
Mark_Read : 1
SSL_Mode : 0
Login_Disabled : 0
UIDL_nul_list : 1
New_UIDs : 1
No_NUL_passwords : 1
Session_logging : C:\MERCURY\Sessions\MercuryP
Session_logmode : 0
Timeout : 60

[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]
# NetWare Server           Domain name
wxy  :  wxy
wxy  :  wxy.mine.nu

# [Rewrite]
# *                    : pmail.gen.nz

[Maiser]
Maiser               :     Maiser
Helpfile             :     C:\MERCURY\Mercury\MAISER.HLP
Lookupfile           :     C:\MERCURY\Mercury\MAISER.LKP
Send_dir             :     C:\MERCURY\Mercury\SENDABLE
Logfile              :     C:\MERCURY\Logs\Maiser\~y-~m-~d.LOG
Notify               :     C:\MERCURY\Mercury\TMP
Local_only           :     Y

[MercuryH]
logfile : C:\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 : C:\MERCURY\Scratch\MercuryI
logfile : C:\MERCURY\Logs\MercuryI\~y-~m-~d.log   # Traffic logging file
Session_logging : C:\MERCURY\Sessions\MercuryI\   # Directory for session log files
Session_logmode : 0
Timeout : 120
Server_Port : 143
Idle_Timeout : 1800

[MercuryB]
Scratch : C:\MERCURY\Scratch\MercuryB
logfile : C:\MERCURY\Logs\MercuryB\~y-~m-~d.log   # Traffic logging file
Session_logging : C:\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

 

<P>Right then, this is confusing.</P> <P mce_keep="true"> </P> <P>I previously had Mercury 4.62 running perfectly on my WHS.  I had a problem that was unrelated so reinstalled the server last night then threw on Mercury.</P> <P mce_keep="true"> </P> <P>I configured it to use one email address and it worked fine.  Then, using an application called 'Any Service Installer' from the WeGotServed site to install Mercury as a service, which is what I did previously.</P> <P mce_keep="true"> </P> <P>Now, when I run it as a service it will receive mail fine but will fail SMTP authorisation.  Outlook Express asks for the username and password for the SMTP server, and the entry is correct.</P> <P mce_keep="true"> </P> <P>I have attached a copy of the Mercury.INI file, the password file for the SMTP server only has one entry at present., 'user password' , to keep it simple.  Any help greatly appreciated.</P> <P mce_keep="true"> </P> <P>#  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. #</P> <P>[General] myname:      wxy.mine.nu  # 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:\MERCURY\QUEUE   # Where mail should be put for delivery smtpqueue:   C:\MERCURY\QUEUE   # Where the SMTP client should look for mail newmail_path: C:\MERCURY\MAIL\~N</P> <P>[Protocols] C:\MERCURY\mercurys.dll C:\MERCURY\mercuryc.dll C:\MERCURY\mercuryp.dll C:\MERCURY\mercuryd.dll</P> <P> [Mercury] failfile:     C:\MERCURY\Mercury\FAILURE.MER  # Delivery failure notification template confirmfile:  C:\MERCURY\Mercury\CONFIRM.MER  # Delivery confirmation template aliasfile:    C:\MERCURY\Mercury\ALIAS.MER    # System-wide alias file synfile:      C:\MERCURY\Mercury\SYNONYM.MER  # User synonym database listfile:     C:\MERCURY\Mercury\LISTS.MER    # List of lists logfile:      C:\MERCURY\Logs\Core\~y-~m-~d.log  # Traffic logging file # bitnethost:   cunyvm.cuny.edu      # Relay host for ".bitnet" rewrites poll:         10                   # Seconds between queue polling cycles scratch:      C:\MERCURY\Scratch   # Where we can write temp files returnlines:  15                   # How many lines of failed messages to return postmaster:   peter   # Local user who acts as 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 # noticeboards: SYS:PUBLIC/NB        # Where to find Pegasus Mail noticeboards auto_tzone:   1                    # If NZ, obtain timezone information from OS</P> <P>[MercuryC] logfile : C:\MERCURY\Logs\MercuryC\~y-~m-~d.log   # Traffic logging file Session_logging : C:\MERCURY\Sessions\MercuryC\    # Directory for session log files Session_logmode : 0 host:        smtp.ntlworld.com     # mail mail host which relays for us scratch:     C:\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:    C:\MERCURY\Mercury\FAILURE.MER  # Delivery failure template esmtp:       1                    # Yes, we want to use ESMTP extensions</P> <P>[MercuryE] Poll : 15 Timeout : 60 logfile : C:\MERCURY\Logs\MercuryE\~y-~m-~d.log   # Traffic logging file Session_logging : C:\MERCURY\Sessions\MercuryE\   # Directory for session log files Session_logmode : 0 # Nameservers : 139.80.64.1</P> <P>[MercuryD] Scratch : C:\MERCURY\Scratch\MercuryD Timeout : 30 Poll : 30 Session_logging : C:\MERCURY\Sessions\MercuryD Session_logmode : 0</P> <P>[MercuryS] Debug : 1 Logfile : C:\MERCURY\Logs\MercuryS\~y-~m-~d.log Timeout : 30 Relay : 1 Strict_Relay : 0 Allow_Illegals : 0 SMTP_Authentication : 1 Auth_File : passwords Session_logging : C:\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</P> <P>[MercuryP] Scratch : C:\MERCURY\Scratch\MercuryP Logfile : C:\MERCURY\Logs\MercuryP\~y-~m-~d.log Stack : 32768 Mark_Read : 1 SSL_Mode : 0 Login_Disabled : 0 UIDL_nul_list : 1 New_UIDs : 1 No_NUL_passwords : 1 Session_logging : C:\MERCURY\Sessions\MercuryP Session_logmode : 0 Timeout : 60</P> <P>[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</P> <P># [Groups] # testgroup            :     TESTGRP</P> <P>[Domains] # NetWare Server           Domain name wxy  :  wxy wxy  :  wxy.mine.nu</P> <P># [Rewrite] # *                    : pmail.gen.nz</P> <P>[Maiser] Maiser               :     Maiser Helpfile             :     C:\MERCURY\Mercury\MAISER.HLP Lookupfile           :     C:\MERCURY\Mercury\MAISER.LKP Send_dir             :     C:\MERCURY\Mercury\SENDABLE Logfile              :     C:\MERCURY\Logs\Maiser\~y-~m-~d.LOG Notify               :     C:\MERCURY\Mercury\TMP Local_only           :     Y</P> <P>[MercuryH] logfile : C:\MERCURY\Logs\MercuryH\~y-~m-~d.log   # Traffic logging file # Addressbook : <A href="file://clio/SYS/SYSTEM/MERCURY/PH.PMR">\\CLIO\SYS\SYSTEM\MERCURY\PH.PMR</A> # MOTD : <A href="file://clio/SYS/SYSTEM/MERCURY/PH-MOTD.TXT">\\CLIO\SYS\SYSTEM\MERCURY\PH-MOTD.TXT</A> # Administrator : <A href="mailto:postmaster@clio.pmail.gen.nz">postmaster@clio.pmail.gen.nz</A> Timeout : 30</P> <P>[MercuryI] Scratch : C:\MERCURY\Scratch\MercuryI logfile : C:\MERCURY\Logs\MercuryI\~y-~m-~d.log   # Traffic logging file Session_logging : C:\MERCURY\Sessions\MercuryI\   # Directory for session log files Session_logmode : 0 Timeout : 120 Server_Port : 143 Idle_Timeout : 1800</P> <P>[MercuryB] Scratch : C:\MERCURY\Scratch\MercuryB logfile : C:\MERCURY\Logs\MercuryB\~y-~m-~d.log   # Traffic logging file Session_logging : C:\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</P> <P mce_keep="true"> </P>

Additionally, I have got a log of the process here, the first having Mercury run as a normal application, the second as a service.  it is saying bad username/password, but i know they are right

 

11:41:25.406: Connection from 192.168.2.103, Thu May 28 11:41:25 2009<lf>
11:41:25.406: << 220 wxy.mine.nu ESMTP server ready.<cr><lf>
11:41:25.406: >> EHLO server<cr><lf>
11:41:25.421: << 250-wxy.mine.nu Hello server; ESMTPs are:<cr><lf>250-TIME<cr><lf>
11:41:25.421: << 250-SIZE 0<cr><lf>
11:41:25.421: << 250 HELP<cr><lf>
11:41:25.421: >> MAIL FROM: <peter.j.elliott@mindless.com><cr><lf>
11:41:25.437: << 250 Sender OK - send RCPTs.<cr><lf>
11:41:25.437: >> RCPT TO: <peter.j.elliott@mindless.com><cr><lf>
11:41:25.437: << 250 Recipient OK - send RCPT or DATA.<cr><lf>
11:41:25.437: >> DATA<cr><lf>
11:41:25.437: << 354 OK, send data, end with CRLF.CRLF<cr><lf>
11:41:25.453: >> Message-ID: <F8F25B81888848FA877C43FE5A71C0B9@server><cr><lf>
11:41:25.453: >> From: "Peter Elliott" <peter.j.elliott@mindless.com><cr><lf>
11:41:25.453: >> To: "peter elliott" <peter.j.elliott@mindless.com><cr><lf>
11:41:25.453: >> Subject: <cr><lf>
11:41:25.453: >> Date: Thu, 28 May 2009 11:38:21 +0100<cr><lf>
11:41:25.468: >> MIME-Version: 1.0<cr><lf>
11:41:25.468: >> Content-Type: text/plain;<cr><lf>
11:41:25.468: >>  format=flowed;<cr><lf>
11:41:25.468: >>  charset="iso-8859-1";<cr><lf>
11:41:25.468: >>  reply-type=original<cr><lf>
11:41:25.468: >> Content-Transfer-Encoding: 7bit<cr><lf>
11:41:25.468: >> X-Priority: 3<cr><lf>
11:41:25.484: >> X-MSMail-Priority: Normal<cr><lf>
11:41:25.484: >> X-Mailer: Microsoft Outlook Express 6.00.3790.3959<cr><lf>
11:41:25.484: >> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325<cr><lf>
11:41:25.484: >> <cr><lf>
11:41:25.484: >> test    t<cr><lf>
11:41:25.484: >> .<cr><lf>
11:41:25.500: << 250 Data received OK.<cr><lf>
11:41:25.500: >> QUIT<cr><lf>
11:41:25.500: << 221 wxy.mine.nu Service closing channel.<cr><lf>
11:41:25.515: --- Connection closed normally at Thu May 28 11:41:25 2009. ---
11:41:25.515:
11:48:02.187: Connection from 192.168.2.1, Thu May 28 11:48:02 2009<lf>
11:48:02.203: << 220 wxy.mine.nu ESMTP server ready.<cr><lf>
11:48:02.250: >> EHLO server<cr><lf>
11:48:02.250: << 250-wxy.mine.nu Hello server; ESMTPs are:<cr><lf>250-TIME<cr><lf>
11:48:02.250: << 250-SIZE 0<cr><lf>
11:48:02.250: << 250-AUTH CRAM-MD5 LOGIN<cr><lf>
11:48:02.250: << 250-AUTH=LOGIN<cr><lf>
11:48:02.265: << 250 HELP<cr><lf>
11:48:02.531: >> AUTH LOGIN<cr><lf>
11:48:02.531: << 334 VXNlcm5hbWU6<cr><lf>
11:48:02.593: >> cGV0ZXI=<cr><lf>
11:48:02.593: << 334 UGFzc3dvcmQ6<cr><lf>
11:48:02.656: >> bGl2ZXJwb29sMDg=<cr><lf>
11:48:02.656: << 501 Authentication failed - bad user or password.<cr><lf>
11:48:03.718: --- Connection closed normally at Thu May 28 11:48:03 2009. ---
11:48:03.718:

&lt;P&gt;Additionally, I have got a log of the process here, the first having Mercury run as a normal application, the second as a service.&amp;nbsp; it is saying bad username/password, but i know they are right&lt;/P&gt; &lt;P mce_keep=&quot;true&quot;&gt;&amp;nbsp;&lt;/P&gt; &lt;P&gt;11:41:25.406: Connection from 192.168.2.103, Thu May 28 11:41:25 2009&amp;lt;lf&amp;gt; 11:41:25.406: &amp;lt;&amp;lt; 220 wxy.mine.nu ESMTP server ready.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.406: &amp;gt;&amp;gt; EHLO server&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.421: &amp;lt;&amp;lt; 250-wxy.mine.nu Hello server; ESMTPs are:&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;250-TIME&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.421: &amp;lt;&amp;lt; 250-SIZE 0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.421: &amp;lt;&amp;lt; 250 HELP&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.421: &amp;gt;&amp;gt; MAIL FROM: &amp;lt;&lt;A href=&quot;mailto:peter.j.elliott@mindless.com%3E%3Ccr%3E%3Clf&quot;&gt;peter.j.elliott@mindless.com&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&lt;/A&gt;&amp;gt; 11:41:25.437: &amp;lt;&amp;lt; 250 Sender OK - send RCPTs.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.437: &amp;gt;&amp;gt; RCPT TO: &amp;lt;&lt;A href=&quot;mailto:peter.j.elliott@mindless.com%3E%3Ccr%3E%3Clf&quot;&gt;peter.j.elliott@mindless.com&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&lt;/A&gt;&amp;gt; 11:41:25.437: &amp;lt;&amp;lt; 250 Recipient OK - send RCPT or DATA.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.437: &amp;gt;&amp;gt; DATA&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.437: &amp;lt;&amp;lt; 354 OK, send data, end with CRLF.CRLF&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.453: &amp;gt;&amp;gt; Message-ID: &amp;lt;&lt;A href=&quot;mailto:F8F25B81888848FA877C43FE5A71C0B9@server%3E%3Ccr%3E%3Clf&quot;&gt;F8F25B81888848FA877C43FE5A71C0B9@server&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&lt;/A&gt;&amp;gt; 11:41:25.453: &amp;gt;&amp;gt; From: &quot;Peter Elliott&quot; &amp;lt;&lt;A href=&quot;mailto:peter.j.elliott@mindless.com%3E%3Ccr%3E%3Clf&quot;&gt;peter.j.elliott@mindless.com&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&lt;/A&gt;&amp;gt; 11:41:25.453: &amp;gt;&amp;gt; To: &quot;peter elliott&quot; &amp;lt;&lt;A href=&quot;mailto:peter.j.elliott@mindless.com%3E%3Ccr%3E%3Clf&quot;&gt;peter.j.elliott@mindless.com&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&lt;/A&gt;&amp;gt; 11:41:25.453: &amp;gt;&amp;gt; Subject: &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.453: &amp;gt;&amp;gt; Date: Thu, 28 May 2009 11:38:21 +0100&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.468: &amp;gt;&amp;gt; MIME-Version: 1.0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.468: &amp;gt;&amp;gt; Content-Type: text/plain;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.468: &amp;gt;&amp;gt; &amp;nbsp;format=flowed;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.468: &amp;gt;&amp;gt; &amp;nbsp;charset=&quot;iso-8859-1&quot;;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.468: &amp;gt;&amp;gt; &amp;nbsp;reply-type=original&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.468: &amp;gt;&amp;gt; Content-Transfer-Encoding: 7bit&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.468: &amp;gt;&amp;gt; X-Priority: 3&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.484: &amp;gt;&amp;gt; X-MSMail-Priority: Normal&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.484: &amp;gt;&amp;gt; X-Mailer: Microsoft Outlook Express 6.00.3790.3959&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.484: &amp;gt;&amp;gt; X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.484: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.484: &amp;gt;&amp;gt; test&amp;nbsp;&amp;nbsp;&amp;nbsp; t&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.484: &amp;gt;&amp;gt; .&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.500: &amp;lt;&amp;lt; 250 Data received OK.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.500: &amp;gt;&amp;gt; QUIT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.500: &amp;lt;&amp;lt; 221 wxy.mine.nu Service closing channel.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:41:25.515: --- Connection closed normally at Thu May 28 11:41:25 2009. --- 11:41:25.515: 11:48:02.187: Connection from 192.168.2.1, Thu May 28 11:48:02 2009&amp;lt;lf&amp;gt; 11:48:02.203: &amp;lt;&amp;lt; 220 wxy.mine.nu ESMTP server ready.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.250: &amp;gt;&amp;gt; EHLO server&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.250: &amp;lt;&amp;lt; 250-wxy.mine.nu Hello server; ESMTPs are:&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;250-TIME&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.250: &amp;lt;&amp;lt; 250-SIZE 0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.250: &amp;lt;&amp;lt; 250-AUTH CRAM-MD5 LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.250: &amp;lt;&amp;lt; 250-AUTH=LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.265: &amp;lt;&amp;lt; 250 HELP&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.531: &amp;gt;&amp;gt; AUTH LOGIN&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.531: &amp;lt;&amp;lt; 334 VXNlcm5hbWU6&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.593: &amp;gt;&amp;gt; cGV0ZXI=&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.593: &amp;lt;&amp;lt; 334 UGFzc3dvcmQ6&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.656: &amp;gt;&amp;gt; bGl2ZXJwb29sMDg=&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:02.656: &amp;lt;&amp;lt; 501 Authentication failed - bad user or password.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 11:48:03.718: --- Connection closed normally at Thu May 28 11:48:03 2009. --- 11:48:03.718: &lt;/P&gt;

In the first log the server is not advertising it supports the AUTH command the answe is only:

250-wxy.mine.nu Hello server; ESMTPs are
250-TIME
250-SIZE 0
250 HELP

Thus the client is not authinticating - it never sends the AUTH command. In the second log it does:

250-wxy.mine.nu Hello server; ESMTPs are:
250-TIME
250-SIZE 0
250-AUTH CRAM-MD5 LOGIN
250-AUTH=LOGIN
250 HELP

And the server tries to authenticate. BEWARE: LOGIN data are simply base64 encode, it's trivial to read your user/password here: pet***/liv*********

Could the server be using different INI files when run in a way or the other? If you launch it as a service it will run with the service user credentials, when you run it interactively it will run with the interactive user credentials, unless you use RunAs to start it.

&lt;P&gt;In the first log the server is not advertising it supports the AUTH command the answe is only:&lt;/P&gt; &lt;P&gt;250-wxy.mine.nu Hello server; ESMTPs are 250-TIME 250-SIZE 0 250 HELP&lt;/P&gt; &lt;P&gt;Thus the client is not authinticating - it never sends the AUTH command. In the second log it does:&lt;/P&gt; &lt;P&gt;250-wxy.mine.nu Hello server; ESMTPs are: 250-TIME 250-SIZE 0 250-AUTH CRAM-MD5 LOGIN 250-AUTH=LOGIN 250 HELP And the server tries to authenticate. BEWARE: LOGIN data are simply base64 encode, it&#039;s trivial to read your user/password here: pet***/liv*********&lt;/P&gt; &lt;P&gt;Could the server be using different INI files when run in a way or the other? If you launch it as a service it will run with the service user credentials, when you run it interactively it will run with the interactive user credentials, unless you use RunAs to start it.&lt;/P&gt;

SMTP_Authentication : 1
Auth_File : passwords

When running as a service it could be that the start directory is undefined, so you will need a full path for the auth file. Make sure there isn't a second installation of Mercury somewhere on the server that might confuse the service handler.

/Rolf 


 

&lt;blockquote&gt;&lt;p&gt;&lt;i&gt;SMTP_Authentication : 1 Auth_File : passwords &lt;/i&gt; &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;When running as a service it could be that the start directory is undefined, so you will need a full path for the auth file. Make sure there isn&#039;t a second installation of Mercury somewhere on the server that might confuse the service handler. &lt;/p&gt;&lt;p&gt;/Rolf&amp;nbsp;&lt;/p&gt;&lt;p&gt; &amp;nbsp;&lt;/p&gt;
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