You could try running a "virtual SMTP server" like Loa PowerTools () on your own machine. It looks to applications on the local machine as though it's an SMTP server running on 'localhost' (or 127.0.0.1) but is connected (via Port 443, the secure http port) to a real SMTP server running elsewhere. You can find a discussion of it in connection with Port 25 blocks and ISPs atbit.ly/G46Pm and on a blog at bit.ly/bBjiNw.
I suddenly (everything was working fine for a few years) had the same problem running Mercury as service (by the help of NSSM utility), while running it as application with GUI did not reproduce the problem.
Analyzing the activity of the server with the help of Process Monitor utility, I found that it was not able to read the certificate file.
As soon as I assigned read permissions for the SYSTEM account (which is used while running as service) the problem was solved.
I am following this article about MercuryE but I changed localhost with my real public IP
If you want to run Mercury as a normal mail server the default configuration is usually the best. The installer will prompt for most of the needed information. The most important things are the hostname (Internet name for this system in Core configuration) and local domains (in Core as well). Mercury help usually gives good information in case something is unclear.
myname: [172.74.77.141] # Canonical name for this server
If you have a properly registered domain, put the domain name here instead.
MERCURYX.DLL
Disable this module unless you really need it. There is a nasty bug in the 4.72 version.
If you have a domain, HELO should preferably be domain name or hostname for this mailserver. Nameservers need to be filled in only if your Windows installation for some reason isn't providing Mercury with this information.
HELO is not needed here, remove the line. Relay must be 0 and Strict_Relay must be 1, otherwise you will be an open relay and your server will be blocked everywhere. Interface is not needed, remove the line (this applies to all other modules as well, I won't repeat it).
[Domains]
localhost: localhost
localhost: [127.0.0.1]
This is quite bad. It should look something like this:
mail: servername <-- Windows name for the server
mail: domainname <-- i.e. mydomain.com
mail: full hostname <-- i.e. mail.mydomain.com
mail: [local IP] <-- i.e. [192.168.1.10]
mail: [172.74.77.141]
A restart will be required after making the changes.
[quote user="Nikolas"]Is it true that POP3 and IMAP user names and passwords cannot be sent encrypted?[/quote]
Not really, the connection you use to the server can be an SSL/TLS encrypted tunnel so that all traffic, including the user/pass authentication, won't be accessible. Most modern clients support SSL connections.
It's not yet fixed if this server is open to the internet - these relay settings allow anyone to relay through your server and will get you on blacklists before the day is out.
Relay : 0, Strict_Relay : 1 is secure. (Equivalent to checking the top 2 boxes in MercuryS config | Connection control - Relaying)
I have removed the Interface. I don't have a local domain as such as I am using this to pull down several POP3 accounts for myself and my wife. After reading the section in Help it did not make any sense to configure those settings.
Hi! And many thanks! Once again! So, MercuryC.NLM work as should (~ designed) and problem lies in sender (mail-system)! Great support! Also, our best to mr. Harris! More thanks, Alar from Tartu Uni, Estonia. PS! I got another such a sender and there was "Reply-To: <>". And, yes, it failed autoforwarding.
> I looked at the MercuryI log file. It does not have any entry for my attempt to authenticate. It's as if my email client isn't talking to > the server! How can that be?
If the client is showing a connection attempt and you are can connect to port 143 via telnet then something is setting on port 143. If there is nothing showing in the Mercury log nor on the console screen then this looks like something else is trapping the calls to port 143. Are you sure you are not running multiple copies of Mercury? Is there anti-virus software running? Anti-virus software could be setting between Mercury and the client trapping calls to port 143.
Is there a link between the record in the Mercury S log and the correspondent record in the Mercury E log?
Only the MAIL FROM and RCPT TO addresses. There is no unique process number controlling the entire thread except for the Message-ID of the original message and that's not logged.
Edit: There of course is the capability of the sending client to ask for a delivery receipt and a MercuryE transaction record showing the delivery process. The read receipts are much more tricky since many system (and users) turn off read receipts.
Use port 25. This one is saying it uses STARTTLS which uses the standard port 25 or maybe the submission port 587 since it responds to port 587 as well. In any case try port 25 first.
Not sure what you are doing here. MercuryS must have port 25 open to receive mail from the outside world unless you are receiving from a special gateway or forwarding system on this alternate port.
In any case, I cannot telnet into either of these ports to the artwales.biz IP address.
The hosts file isn't expected to contain MX information so MercuryE will always query available name servers. However, in this case you could probably use the (not very well documented) domain re-write function in Mercury.
Find the empty Rewrite section towards the end of mercury.ini and add this line:
[Rewrite] serverB: [192.168.2.34]
This should redirect all mail
for someuser@serverB to someuser@[192.168.2.34]. You will need to restart Mercury for this to take effect.
Well, you could have two accounts but everything that goes to A gets copied to B. That way you have two entirely independent sets of messages.
You could set one (or both) of the clients to leave mail on the server, although you'd need an agreed deletion policy somewhere along the line.
Your best bet might be to simply use IMAP rather than POP3. That way the messages aren't moved off the server onto the client. Unless one user deletes a message from the server, the other user will still see it.
I've lately run several tests aginst MercuryI, and what I can see your report generally match my findings.
Approx. the following is what I've last week reported to David for examination:
It appears that in some cases newly created threads have to finish before allowing existing ones to continue. (this means the opposite of what you say above)
CPU rushes, and disk activity is extremely intense. Especially cache-files are not bulk-read.
MercuryI reads the headers of all UNSEEN messages, returns the headers and body, then adds a X header containing FLAGS. I'm under the impression that this is the reason why some some clients report message headers have been altered, who then stop fetching new messages.
\RECENT flag always reports 0.
David has responded and is examining these issues. I'll keep you posted when I have something to report.
> 0,256,"6FTWYDEH:7AA9:FOL00012","4D591135:My mailbox","Gelöschte Nachrichten",0,20 > > According to the above article, the second value should be between 0 and 4 (two relevant bits). And there shouldn't be anything behind > the name of the folder, so where does the ",0,20" come from? Is this a syntax error I should fix, or have there been additions to the > HIERARCH.PM format? Maybe those values denote certain special folders in PMAIL or for the IMAP server. (The above is a "Trash" > folder.)
This is an indication that the folder has been deleted. Delete the line when Pegasus Mail is not running.