Hi,
i would like to run Mercury as a centralized mail archive on my workstation (clients will access via IMAP).
I have just one workstation (at that moment) behind a DSL router (Fritz!box 7240).
I have no fixed IP from my provider, it is dynamic and changed at least every night.
I have only a local (mail, the Mercury server on the workstation) domain not known to the outside DNS system (e.g. local.org).
I have configured the Fritz!box to use DynDNS.com to have a fixed DNS name (for free, No-IP did not work/respond).
I guess that my DynDNS entry has no MX record to point to the workstation that will run Mercury.
(I think that having a MX record in DNS is not possible with dynamic IPs.)
There are at least 4 people who can log in to that workstation (e.g.: user1...user4).
The users of the workstation will use different mail clients.
The users have accounts at multiple mail providers (e.g.: user11@isp11.net, user12@isp12.net, user21@insp21.net ...).
The users should be able to send locally between each other.
All send mail should be archived localy in the IMAP folders.
Fetching the mails from the multiple mail providers of all the users and saving them in the IMAP folder of each user will be no problem.
Can Mercury fetch with IMAP or only with POP3?
(I want to get all mail in all folders the webinterfaces of the mail providers show.
Some of the mail providers classify incomming mail by puting them in to different folders in the webinterfaces e.g. known, unknown, spam.)
The big problem is sending mails out:
1. If i try to deliver directly to the mailserver responsible for the recipients domain, all servers will reject, because i only have dynamic IP and may not have a mail account
on that server (and can not autenticate).
So i need to go over a relay server.
2. I can not find a relay server that accepts the mail for all of my users, because even when i authenticate correctly they reject, because the FROM address is for a account
not hosted by them (it would only work for one of the users, that one who has a account on that mail server).
So i thought, Mercury has to find out from which user the mail is, choose the relay server (from the mail provider accounts this user has) and send over it.
I would choose the REPLY TO field in the header that the mail clients send to Mercury as the indication what relay server Mercury should take for non local recipients.
If that field is for e.g. REPLY TO: user12@isp12.net Mercury should use the smtp.isp12.net as the relay,
authenticate there as user12@isp12.net,
excange FROM: user1@local.org to FROM: user12@isp12.net,
exchange Reply-Path: user1@local.org to Reply-Path: user12@isp12.net,
and send.
For local recipients Mercury should exchange the REPLY TO: user12@isp12.net to by REPLY TO: user1@local.org.
(Reply-Path: user1@local.org would be ok. If it is not so, it should excange that to Reply-Path: user1@local.org.)
So Mercury should also take over the identity that is choosen in the mail clients by indication of REPLY TO: when
contacting the individual relay servers.
The configuration of all the mail clients for all users and their identities would be straight forward.
They all have to use Mercury server for IMAP and SMTP and authenticate with the local user account.
The only changing item would be the REPLY TO: field. This has to be choosen depending on the identity the user wants to have.
Is something like that possible in Mercury and where do i start?
Many Thanks in Advance
PS: I was using Hamster in the past and never figured this out.
I let the mail clients send directly to the mail providers and had no copy of send emails in Hamster.
At the moment i am fighting with hMailServer (Routes, Rules, VB-Scripting) to get this done, but i am stuck.
<P>Hi,</P><P>i would like to run Mercury as a centralized mail archive on my workstation (clients will access via IMAP).</P><P>I have just one workstation (at that moment) behind a DSL router (Fritz!box 7240).</P><P>I have no fixed IP from my provider, it is dynamic and changed at least every night.</P><P>I have only a local (mail, the Mercury server on the workstation) domain not known to the outside DNS system (e.g. local.org).</P><P>I have configured the Fritz!box to use DynDNS.com to have a fixed DNS name (for free, No-IP did not work/respond).</P><P>I guess that my DynDNS entry has no MX record to point to the workstation that will run Mercury.</P><P>(I think that having a MX record in DNS is not possible with dynamic IPs.)</P><P>There are at least 4 people who can log in to that workstation (e.g.: user1...user4).</P><P>The users of the workstation will use different mail clients.</P><P>The users have accounts at multiple mail providers (e.g.: user11@isp11.net, user12@isp12.net, user21@insp21.net ...).</P><P>The users should be able to send locally between each other.</P><P>All send mail should be archived localy in the IMAP folders.</P><P>
</P><P><P>Fetching the mails from the multiple mail providers of all the users and saving them in the IMAP folder of each user will be no problem.</P><P>Can Mercury fetch with IMAP or only with POP3?</P><P>(I want to get all mail in all folders the webinterfaces of the mail providers show.</P><P>Some of the mail providers classify incomming mail by puting them in to different folders in the webinterfaces e.g. known, unknown, spam.)</P><P>
</P><P></P><P>The big problem is sending mails out:</P><P>1. If i try to deliver directly to the mailserver responsible for the recipients domain, all servers will reject, because i only have dynamic IP and may not have a mail account</P><P>on that server (and can not autenticate).</P><P>
</P><P>So i need to go over a relay server.</P><P>
</P><P>2. I can not find a relay server that accepts the mail for all of my users, because even when i authenticate correctly they reject, because the FROM address is for a account</P><P>not hosted by them (it would only work for one of the users, that one who has a account on that mail server).</P><P>
</P><P>So i thought, Mercury has to find out from which user the mail is, choose the relay server (from the mail provider accounts this user has) and send over it.</P><P>I would choose the REPLY TO field in the header that the mail clients send to Mercury as the indication what relay server Mercury should take for non local recipients.</P><P>If that field is for e.g. REPLY TO: user12@isp12.net Mercury should use the smtp.isp12.net as the relay,</P><P>authenticate there as user12@isp12.net,</P><P>excange FROM: user1@local.org to FROM: user12@isp12.net,</P><P>exchange Reply-Path: user1@local.org to Reply-Path: user12@isp12.net,</P><P>and send.</P><P>For local recipients Mercury should exchange the REPLY TO: user12@isp12.net to by REPLY TO: user1@local.org.</P><P>(Reply-Path: user1@local.org would be ok. If it is not so, it should excange that to Reply-Path: user1@local.org.)</P><P> </P><P>So Mercury should also take over the identity that is choosen in the mail clients by indication of REPLY TO: when</P><P>contacting the individual relay servers.</P><P>
</P><P>The configuration of all the mail clients for all users and their identities would be straight forward.</P><P>They all have to use Mercury server for IMAP and SMTP and authenticate with the local user account.</P><P>The only changing item would be the REPLY TO: field. This has to be choosen depending on the identity the user wants to have.</P><P>
</P><P>Is something like that possible in Mercury and where do i start?</P><P>
</P><P>Many Thanks in Advance</P><P>
</P><P>PS: I was using Hamster in the past and never figured this out.</P><P>I let the mail clients send directly to the mail providers and had no copy of send emails in Hamster.</P><P>At the moment i am fighting with hMailServer (Routes, Rules, VB-Scripting) to get this done, but i am stuck.</P>