Community Discussions and Support

The perfect forum for general discussions or technical questions about Mercury Mail Server.

0
-1
closed
chuacw posted Dec 18 '13 at 3:03 am

Ok, figured out my problem.

My handler was returning 1, instead of returning 0, which was why Mercury returned 235.
My handler should be returning 0, so that Mercury will return 334.

Issue resolved.

0
-1

Hi Joerg,

I know about 4.8 and I can't wait to get it. My problem here is that I cannot switch back to a plain connection due to some dependencies on the provider side and also regarding security policies within our company. And a Mercury crash always causes unexpected behavior for regarding the users IMAP mailboxes and so on :-(

Konrad

0
-1
closed
dgimeno posted Dec 10 '13 at 2:48 pm

Found.

The problem is when I attach a file either with -FB or -FT. It looks to forget that the body is an HTML.

0
-1
closed
turbodog posted Dec 19 '13 at 4:10 pm


Well, removing the local domains fixed the problem. I tried that earlier... not sure why it didn't work. Maybe I needed to restart the program/service.
 
Thanks for the help everyone.
 
Jeff
 
 
 
0
-1
closed
g8dhe posted Nov 26 '13 at 4:24 pm

Yup the Users are there ...

 

Yes all is now working many thanks for both your responses!

0
-1
closed
rgtech posted Nov 25 '13 at 7:29 pm

I was looking at the wrong log file. The core module did not have log file turned on. I set this up for a test using ~D so I would get a daily log file. Since I most likely would not look back more than a week.

 

Thanks for your help, Ron

0
-1

Not sure how to read a session log, but here are several snippets from session logs showing errors:

13:47:21.171: << * STATUS Templates (MESSAGES 0 RECENT 0 UIDNEXT 2 UNSEEN 0)<cr><lf>
13:47:21.171: << 18 OK STATUS completed.<cr><lf>
13:47:22.593: >> 19 STATUS "Trash" (UIDNEXT MESSAGES UNSEEN RECENT)<cr><lf>
13:47:22.593: << * STATUS Trash (MESSAGES 2 RECENT 0 UIDNEXT 834 UNSEEN 0)<cr><lf>
13:47:22.593: << 19 OK STATUS completed.<cr><lf>
13:53:44.453: >> 20 append "Sent" (\Seen) {16482}<cr><lf>
13:53:44.453: << + Ready to receive 16482 bytes<cr><lf>
13:53:44.468: >> <cr><lf>
13:53:44.468: << 20 OK APPEND complete.<cr><lf>
13:53:57.218: >> 21 append "Sent" (\Seen) {22760}<cr><lf>
13:53:57.218: << + Ready to receive 22760 bytes<cr><lf>
13:55:57.218: 8: NB Socket read timeout
13:55:57.218: --- Connection closed normally at Tue Oct 29 13:55:57 2013. ---

and from another log file:

13:52:30.890: >> 167 UID fetch 9089:* (FLAGS)<cr><lf>
13:52:30.890: << 167 OK UID FETCH complete.<cr><lf>
13:53:30.859: >> 168 noop<cr><lf>
13:53:30.859: << 168 OK NOOP complete.<cr><lf>
13:53:30.859: >> 169 UID fetch 9089:* (FLAGS)<cr><lf>
13:53:30.859: << 169 OK UID FETCH complete.<cr><lf>
13:53:57.218: >> 170 uid store 9088 +Flags (\Answered)<cr><lf>
13:53:57.218: << * 71 FETCH (UID 9088 FLAGS (\SEEN \ANSWERED))<cr><lf>
13:53:57.218: << 170 OK UID STORE complete.<cr><lf>
13:54:30.843: >> 171 noop<cr><lf>
13:56:55.062: << 171 OK NOOP complete.<cr><lf>
13:56:55.062: 9: Socket write error 10054 (connection aborted by remote host)
13:56:55.062: 7: NB Socket read error 10054 (connection aborted by remote host)
13:56:55.062: --- Connection closed normally at Tue Oct 29 13:56:55 2013. -

 

and from another log file:

 

13:56:14.750: << 2 OK AUTHENTICATE completed.<cr><lf>
13:56:14.750: >> 3 select "INBOX"<cr><lf>
13:56:55.093: << * 71 EXISTS<cr><lf>
13:56:55.093: << * 0 RECENT<cr><lf>
13:56:55.093: << * FLAGS (\Deleted \Draft \Seen \Answered)<cr><lf>
13:56:55.093: << * OK [UIDVALIDITY 1264018394] UID Validity<cr><lf>
13:56:55.093: << * OK [UIDNEXT 9089] Predicted next UID<cr><lf>
13:56:55.093: << * OK [PERMANENTFLAGS (\Deleted \Draft \Seen \Answered)] Settable message flags<cr><lf>
13:56:55.093: << 3 OK [READ-WRITE] SELECT completed.<cr><lf>
13:56:55.093: 9: Socket write error 10054 (connection aborted by remote host)
13:56:55.093: 7: NB Socket read error 10054 (connection aborted by remote host)
13:56:55.093: --- Connection closed normally at Tue Oct 29 13:56:55 2013. ---
13:56:55.093:
 

and from another log file:

 

13:54:17.281: << 2 OK AUTHENTICATE completed.<cr><lf>
13:54:17.281: >> 3 append "Sent" (\Seen) {22760}<cr><lf>
13:55:57.218: << + Ready to receive 22760 bytes<cr><lf>
13:56:55.062: 7: NB Socket read error 10054 (connection aborted by remote host)
13:56:55.062: --- Connection closed normally at Tue Oct 29 13:56:55 2013. ---
13:56:55.062: 

 and from another log file:

13:54:47.984: << 2 OK AUTHENTICATE completed.<cr><lf>
13:54:47.984: >> 3 append "Sent" (\Seen) {10302}<cr><lf>
13:56:55.062: << + Ready to receive 10302 bytes<cr><lf>
13:56:55.062: 9: Socket write error 10054 (connection aborted by remote host)
13:56:55.062: 7: NB Socket read error 10054 (connection aborted by remote host)
13:56:55.078: --- Connection closed normally at Tue Oct 29 13:56:55 2013. ---

 

and from another log file: 

 

13:55:07.031: << 2 OK AUTHENTICATE completed.<cr><lf>
13:55:07.046: >> 3 append "Sent" (\Seen) {10302}<cr><lf>
13:56:55.062: << + Ready to receive 10302 bytes<cr><lf>
13:56:55.062: 9: Socket write error 10054 (connection aborted by remote host)
13:56:55.078: 7: NB Socket read error 10054 (connection aborted by remote host)
13:56:55.109: --- Connection closed normally at Tue Oct 29 13:56:55 2013. ---

 

I have several more logs showing this error...

So, which error is the one and what could be the reason? I can see

8: NB Socket read timeout

and

 NB Socket read error 10054

 

The mail we are talking about was processed by the SMTP server at 13:53:57.

Konrad

0
-1
closed
PaulW posted Nov 29 '13 at 12:33 pm

[quote user="kannanEswar"]

Hi PaulW,

 Thanks for the reply.

1. When i am sending mail from program to exchange server (smtp.ihostexchange.net), working fine and email delivered successfully.[/quote]

ihostexchange.net appears to be a hosted Exchange service and not a server hosted on your network - is that correct? 

[quote]My need is i want to send emails to users from C# program using mercury service instead of exchange server.[/quote]

Are these users local (on the same network as the server) or remote (on the internet)?

If local - you will have to maintain accounts for them on the server, but how are they going to collect them from Mercury? POP3 ? IMAP ?

If remote - you can either open your router ports up so they can collect like local users above, or use MercuryC with a relay server to deliver them over the internet.  (The second option is probably easier to set up and requires less maintenance.)

[quote]2.  I have setup the user with name "websupport". And also predefined user admin is present there.

             From email address: support@mydomain.com

             To email address:  kannan@mydomain.com [/quote]

You are using 2 local names (support & kannan) but you have defined completely different names (websupport & admin).  What's going on?  Is mydomain.com the domain name in "local domains" section of the configuration?  If so, each and every name you use must be set up as a local user.

On a general point it is very difficult to help you if you obscure the actual user and domain information and don't explain the configuration you are using.  I suggest you use the extensive help that is provided in the program and read the relevant sections of the manual you will find in the Mercury\docs sub-directory.  Then if there are any specific items that are not clear, ask a question about that item.  Configuring and maintaining a mailserver for a non-standard installation can be a challenging and time-consuming project, and requires complete understanding of all the elements of email handing and network architecture.

 

0
-1
closed
chriscw posted Nov 20 '13 at 10:46 am

Thanks for the suggestions Olaf.

 We were not using SSL for our IMAP connections to the server and they are on port 143.  I will investigate the SPA settings in Outlook to see what they are.  

I did discover that outlook appears to default to checking for emails only once ever half hour. 

0
-1
closed
Rolf Lindby posted Oct 22 '13 at 1:17 am

Mercury is actually by default already set up for normal usage. During setup you get information about MercuryE (direct SMTP delivery) and MercuryC (using a relay server) and can choose what is best for you. The only thing you really need to adjust is the local domains information. If the information about this in the installation program isn't sufficient you can get more in Mercury help or the enclosed PDF manual. If needed you can install some of the included antispam and antivirus addons, or wait to decide about this later.

There are of course a number of things outside of Mercury that need to be set up as well. You need to make sure no firewall is blocking access, forward the relevant ports from the Internet router, and exclude all Mercury directories from realtime virus scanning.

If you after doing all that still have problems I would suggest posting the contents of your mercury.ini file here so we can review the settings.

0
-1
closed
bonne posted Jul 25 '14 at 10:27 pm

Been working with MS Exchange for a long time now - want to look for alternatives for home as well as for enterprise. And for being a very happy user of Pegasus Mail back in the times, I am looking at Mercury.

 

But... I want to run it on a *NIX server or Windows 2012 R2 server... and reading this thread scares me a bit. When is Mercury 4.7 (EDIT: sorry...i mean ver.5) expected to be available? And will it support Win2012 R2 fully?

 

Best regards, Lars. 

2.32k
13.69k
8
Actions
Hide topic messages
Enable infinite scrolling
Previous
Next
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft