I had the excact same problem when setting up my mail for internet access. I still dont know exactly how it works but this is what I did.
First before I start just a little background on my setup.
* dynamic IP from DSL router
* using dyndns account to get a refference to my everchanging IP ex. "whatever@dyndns.com"
* "whatever@dyndns.com" will always resolve to my routers IP addess
DNS Configs for "mydomain.com"
Record Name Type Data
@ MX (Mail Exchange Record) whatever@dyndns.com
smtp CNAME whatever@dyndns.com
pop CNAME whatever@dyndns.com
* in my email client I added in pop3 field: pop.mydomain.com
* and in SMTP field: smtp.mydomain.com
Current Mercury Configuration
Modules: MercS, MercP, MercC(SMTP Client) - Could not use MercE cause my isp also blocks port 25
Ok whis is what u need to do for DNS entries:
* Add a MX record type
* Record name: @
* Record data: whatever@dyndns.com (a reference to ur DSL router IP, in my case my dyndns entry)
* Record preference: 4
* Add new Record type CNAME
* Record name: pop
* Record data: whatever@dyndns.com (a reference to ur DSL router IP, in my case my dyndns entry)
* Add new Record type CNAME
* Record name: smtp
* Record data: whatever@dyndns.com (a reference to ur DSL router IP, in my case my dyndns entry)
If you already have record types for any of the above just edit them instead of creating new ones!
Save everything. With my ISP it can take a max of 8 hours for any chages to my DNS records to updated everywhere over the internet!
Merc Core Settings for Local domains:
MercServer(PC name) MercServer(PC name)
MercServer(PC name) 192.168.65.70 (MercServer IP)
MercServer(PC name) mydomain.com
*Dont add the ( ) text :-)
Aliases Config:
Ex. for user account...
Alias: User@mydomain.com
Real address: user
Do this for all your users.
MercS Settings:
Announce myself as: smtp.mydomain.com
Ip interface to use: IP of PC runing Merc (ex. 192.168.65.70)
Relaying control: Check ALL 4 checkboxes!!!! from top to bottom
Create a file to store your smtp passwords in and add its full path to AUTH Password File
Click Edit button should open that file
Enter username password 1 pair per line with only a space between username and password
In your email client make sure you have SMTP authentication enabled and enter your matching username and password like you entered in the AUTH Password file. This is very important otherwise spammers can send spam via your server!!!
MercP config:
Ip interface to use: 192.168.65.70 (Mercserver IP)
MercC Config
You'll have to use MercC if you want to be able to send mail to any non-local account like Test@yahoo.com. So you'll need to piggy back on an exsiting email. (I used my email account that I got with my isp.)
Smart Hostname: smtp.myISP.com
Connection port 25, no encryption
Announce myself as: smtp.mydomain.com
Im my case I have to authenticate to pop prior to accessing my smtp so I filled my ISP pop details in aswell.
And that should the it. Just close Merc and restart it. Make sure your DNS entries have already been updated, to check just ping pop.mydomain.com.
Enjoy!
<div>I had the excact same problem when setting up my mail for internet access. I still dont know exactly how it works but this is what I did.</div><div>
</div><div>First before I start just a little background on my setup.</div><div>
</div><div>* dynamic IP from DSL router</div><div>* using dyndns account to get a refference to my everchanging IP ex. "whatever@dyndns.com"</div><div>* "whatever@dyndns.com" will always resolve to my routers IP addess</div><div>
</div><div>DNS Configs for "mydomain.com"</div><div>
</div><div>Record Name<span class="Apple-tab-span" style="white-space:pre"> </span>Type<span class="Apple-tab-span" style="white-space:pre"> </span>Data</div><div>@<span class="Apple-tab-span" style="white-space:pre"> </span>MX (Mail Exchange Record)<span class="Apple-tab-span" style="white-space:pre"> </span>whatever@dyndns.com</div><div>smtp<span class="Apple-tab-span" style="white-space:pre"> </span>CNAME<span class="Apple-tab-span" style="white-space:pre"> </span>whatever@dyndns.com</div><div>pop<span class="Apple-tab-span" style="white-space:pre"> </span>CNAME<span class="Apple-tab-span" style="white-space:pre"> </span>whatever@dyndns.com</div><div>
</div><div>
</div><div>* in my email client I added in pop3 field: pop.mydomain.com</div><div>* and in SMTP field: smtp.mydomain.com</div><div>
</div><div>
</div><div>Current Mercury Configuration </div><div>
</div><div>Modules: MercS, MercP, MercC(SMTP Client) - Could not use MercE cause my isp also blocks port 25</div><div>
</div><div>
</div><div>Ok whis is what u need to do for DNS entries:</div><div>* Add a MX record type</div><div>* Record name: @</div><div>* Record data: whatever@dyndns.com (a reference to ur DSL router IP, in my case my dyndns entry)</div><div>* Record preference: 4</div><div>
</div><div>* Add new Record type CNAME</div><div>* Record name: pop</div><div>* Record data: whatever@dyndns.com (a reference to ur DSL router IP, in my case my dyndns entry)</div><div>
</div><div>* Add new Record type CNAME</div><div>* Record name: smtp</div><div>* Record data: whatever@dyndns.com (a reference to ur DSL router IP, in my case my dyndns entry)</div><div>
</div><div>If you already have record types for any of the above just edit them instead of creating new ones!</div><div>
</div><div>Save everything. With my ISP it can take a max of 8 hours for any chages to my DNS records to updated everywhere over the internet!</div><div>
</div><div>
</div><div>Merc Core Settings for Local domains:</div><div>MercServer(PC name)<span class="Apple-tab-span" style="white-space:pre"> </span>MercServer(PC name)</div><div>MercServer(PC name)<span class="Apple-tab-span" style="white-space:pre"> </span>192.168.65.70 (MercServer IP)</div><div>MercServer(PC name)<span class="Apple-tab-span" style="white-space:pre"> </span>mydomain.com</div><div>
</div><div>*Dont add the ( ) text :-)</div><div>
</div><div>
</div><div>Aliases Config:</div><div>Ex. for user account...</div><div>Alias: User@mydomain.com</div><div>Real address: user</div><div>
</div><div>Do this for all your users.</div><div>
</div><div>
</div><div>MercS Settings:</div><div>Announce myself as: smtp.mydomain.com</div><div>Ip interface to use: IP of PC runing Merc (ex. 192.168.65.70)</div><div>Relaying control: Check ALL 4 checkboxes!!!! from top to bottom</div><div>Create a file to store your smtp passwords in and add its full path to AUTH Password File</div><div>Click Edit button should open that file</div><div>Enter username password 1 pair per line with only a space between username and password</div><div>
</div><div>In your email client make sure you have SMTP authentication enabled and enter your matching username and password like you entered in the AUTH Password file. This is very important otherwise spammers can send spam via your server!!!</div><div>
</div><div>
</div><div>MercP config:</div><div>Ip interface to use: 192.168.65.70 (Mercserver IP)</div><div>
</div><div>
</div><div>MercC Config</div><div>You'll have to use MercC if you want to be able to send mail to any non-local account like Test@yahoo.com. So you'll need to piggy back on an exsiting email. (I used my email account that I got with my isp.)</div><div>
</div><div>Smart Hostname: smtp.myISP.com</div><div>Connection port 25, no encryption</div><div>Announce myself as: smtp.mydomain.com</div><div>
</div><div>Im my case I have to authenticate to pop prior to accessing my smtp so I filled my ISP pop details in aswell.</div><div>
</div><div>And that should the it. Just close Merc and restart it. Make sure your DNS entries have already been updated, to check just ping pop.mydomain.com.</div><div>
</div><div>Enjoy!</div>