Re: [qmailtoaster] qmail-remote/qmail-smtpd and multiple WAN IP addresses on same box

2011-07-14 Thread Tim Pleiman
Thanks Dan,

Thanks for confirming what would occur with outbound mail. However, what
about inbound mail, whereby one connection handles mail for mx
mail1..com and another for mail2..com?  Will tcpserver/qmail-smtpd
open whatever connections it needs there as well?:

vpopmail  2706  0.0  0.0   3824   416 ?SJul01   0:00
/usr/bin/tcpserver -v -R -H -l mail.dmsystems.com -x
/etc/tcprules.d/tcp.smtp.cdb -c 100 -u 89 -g 89 0 587
/var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true

tcp0  0 xx.xxx.xxx.xxx:25   74.84.128.73:47345
 ESTABLISHED
tcp0  0 xx.xxx.xxx.xxx:25   69.199.67.164:4478
 TIME_WAIT

Obviously it opens multiple listening connections on the same single IP as
indicated above.

Thanks,
Tim

On Thu, July 14, 2011 11:20 am, Dan McAllister wrote:
> Tim,
>
> I think your problem is different from what you've read on the other
> forums... specifically, I suspect that they wanted to have the system
> attached to both IP addresses (both ISPs), but have QMail use only
> one THAT requires a patch.
>
> What you're proposing is that you have 2 IP addresses (whether on a pair
> (or more) of NICs, or shared on one NIC won't matter) and that you let
> whatever internal load balancing is in effect control the outbound
> message flow. This is the DEFAULT behavior of QMail, so no patches are
> necessary.
>
> One brief caveat -- if you're using SPF, make sure BOTH of your public
> IP addresses are valid -- and make sure BOTH of your public IP addresses
> have appropriate reverse-DNS entries.
>
> Good Luck!
>
> Dan
> IT4SOHO
>
> On 7/14/2011 11:31 AM, Tim Pleiman wrote:
>> I'm in the process of upgrading a system with load balacing/failover
>> from
>> 2 different ISPs on a single box, e.g.:
>>
>> http://www.xenocafe.com/tutorials/linux/redhat/bind_multiple_ip_addresses_to_single_nic/index.php
>>
>> What I wish to be able to do is have qmail-smtpd listening on both IP
>> addresses for inbound mail traffic at all times. Then have qmail-remote
>> select the first available address to send outbound traffic--e.g. either
>> IP that is available, so that if one goes down, qmail-remote will
>> automatically determine to send on the other.
>>
>> Is this possible with the current qmailtoaster distribution? I've seen
>> posts in other forums with similar questions, some indicate that a patch
>> is required or to have the services bound to specific IPs. None of the
>> information I can find gives information specific as to what I'm trying
>> to
>> accomplish.
>>
>> Many thanks in advance!
>>
>> Tim
>
> -
> 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
>
>
>


-- 
Tim Pleiman
Bravo Systems Technologies
"Advanced Open Source Solutions for Business"
Chicago, IL USA


-
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




Re: [qmailtoaster] qmail-remote/qmail-smtpd and multiple WAN IP addresses on same box

2011-07-14 Thread Dan McAllister

Tim,

I think your problem is different from what you've read on the other 
forums... specifically, I suspect that they wanted to have the system 
attached to both IP addresses (both ISPs), but have QMail use only 
one THAT requires a patch.


What you're proposing is that you have 2 IP addresses (whether on a pair 
(or more) of NICs, or shared on one NIC won't matter) and that you let 
whatever internal load balancing is in effect control the outbound 
message flow. This is the DEFAULT behavior of QMail, so no patches are 
necessary.


One brief caveat -- if you're using SPF, make sure BOTH of your public 
IP addresses are valid -- and make sure BOTH of your public IP addresses 
have appropriate reverse-DNS entries.


Good Luck!

Dan
IT4SOHO

On 7/14/2011 11:31 AM, Tim Pleiman wrote:

I'm in the process of upgrading a system with load balacing/failover from
2 different ISPs on a single box, e.g.:

http://www.xenocafe.com/tutorials/linux/redhat/bind_multiple_ip_addresses_to_single_nic/index.php

What I wish to be able to do is have qmail-smtpd listening on both IP
addresses for inbound mail traffic at all times. Then have qmail-remote
select the first available address to send outbound traffic--e.g. either
IP that is available, so that if one goes down, qmail-remote will
automatically determine to send on the other.

Is this possible with the current qmailtoaster distribution? I've seen
posts in other forums with similar questions, some indicate that a patch
is required or to have the services bound to specific IPs. None of the
information I can find gives information specific as to what I'm trying to
accomplish.

Many thanks in advance!

Tim


-
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




[qmailtoaster] qmail-remote/qmail-smtpd and multiple WAN IP addresses on same box

2011-07-14 Thread Tim Pleiman
I'm in the process of upgrading a system with load balacing/failover from
2 different ISPs on a single box, e.g.:

http://www.xenocafe.com/tutorials/linux/redhat/bind_multiple_ip_addresses_to_single_nic/index.php

What I wish to be able to do is have qmail-smtpd listening on both IP
addresses for inbound mail traffic at all times. Then have qmail-remote
select the first available address to send outbound traffic--e.g. either
IP that is available, so that if one goes down, qmail-remote will
automatically determine to send on the other.

Is this possible with the current qmailtoaster distribution? I've seen
posts in other forums with similar questions, some indicate that a patch
is required or to have the services bound to specific IPs. None of the
information I can find gives information specific as to what I'm trying to
accomplish.

Many thanks in advance!

Tim
-- 
Tim Pleiman
Bravo Systems Technologies
"Advanced Open Source Solutions for Business"
Chicago, IL USA


-
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