[qmailtoaster] 2 xdsl lines

2011-10-18 Thread Michele Federici

Hi,

My customer have 2 qmailtoaster server: a master server  replicates (via 
rsync) to a backup server. Master server receive all mail from a xDSL 
connection (public ip: 1.2.3.4).
Master server is behind a public firewall who nat all email to master 
server from primary xDSL line.
Now i have a second DSL connection and i want receive email from this 
connection (public ip 5.6.7.8) when primary xDSL is down.


Now  master server has
- server name: box1.mydomain.xxx
- domain mydomain.xxx: Mx preference = 10, mail exchanger = 
box1.mydomain.xxx

- qmail controls files
- me: box1.mydomain.xxx
- rcpthosts: box1.mydomain.xxx, mydomain.xxx

If i've understand for receive email from second dsl lines i need to
- add to mydomain.xxx Mx preference = 20, mail exchanger = 
box2.mydomain.xxx on ip
- add nat for smtp second xDSL line (smtp traffic from public ip 5.6.7.8 
to master server).


It's correct or i need particular configuration in qmailtoaster? For 
example i've problems (like spam control) if an email arrive to 
box2.mydomain.xxx and my server response with box1.mydomain.xxx


thank you
--
Michele Federici



Re: [qmailtoaster] 2 xdsl lines

2011-10-18 Thread Jake Vickers

On 10/18/2011 05:32 AM, Michele Federici wrote:

If i've understand for receive email from second dsl lines i need to
- add to mydomain.xxx Mx preference = 20, mail exchanger =
box2.mydomain.xxx on ip
- add nat for smtp second xDSL line (smtp traffic from public ip 5.6.7.8
to master server).

It's correct or i need particular configuration in qmailtoaster? For
example i've problems (like spam control) if an email arrive to
box2.mydomain.xxx and my server response with box1.mydomain.xxx


That will work - as far as your spam problem, that is due to DNS and the 
receiving host's policies. Does not actually have anything to do with 
the functionality of QMT in this config.
Maybe the other IP address on your DSL is in a blacklist? Is it in a 
DHCP range? Those are usually considered spam from the start - either 
way you'd need to determine how the receiving server is marking your 
mail as spam and then work on that.



-
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
   Vickers Consulting Group offers Qmailtoaster support and installations.
 If you need professional help with your setup, contact them today!
-
Please visit qmailtoaster.com for the latest news, updates, and packages.

 To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com

For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com