Re: [toaster] binding IP

2008-06-22 Thread Satish Alwani

Can this patch be integrated with the toaster ?

Qmail List wrote, On 2008-06-16 8:10 PM:

Bill - few months ago, I made a patch for your toaster. I am sending it

now again. This patch will make qmail read 
  

controls/outgoingip and bind to that IP for outgoing processes rather then


using the first one.

Hi Edvin, how do u patch the toaster with this?



  


RE: [toaster] binding IP

2008-06-22 Thread Qmail List
 Bill - few months ago, I made a patch for your toaster. I am sending it

 now again. This patch will make qmail read 
  
 controls/outgoingip and bind to that IP for outgoing processes rather
then

 using the first one.

 Hi Edvin, how do u patch the toaster with this?

For some reasons, its not working for me


  



RE: [toaster] binding IP

2008-06-16 Thread Qmail List
 I have 2 IPs for the web and mail server which is on the same box. I
would
 like apache to attach to the 1st IP and qmail on the 2nd. How can I make
 qmail to bind to the 2nd IP?


 Here is my run file for qmail-smtpd.  Notice the term 

 snip

 -u $QMAILDUID -g $NOFILESGID mail.developersdesk.com smtp \

 Thanks. Do I change the hostname in qmail-pop3d run file too?

/var/qmail/bin/qmail-popup `hostname` \

Smtp is binded to the 2nd IP now, but the outgoing mails still bearing the
1st IP. 
How do I change the outgoing IP to the 2nd IP?

Thanks




RE: [toaster] binding IP

2008-06-16 Thread Edvin Seferovic
Hi,

Bill - few months ago, I made a patch for your toaster. I am sending it now
again. This patch will make qmail read controls/outgoingip and bind to that
IP for outgoing processes rather then using the first one.

Regards,
E:S

-Original Message-
From: Qmail List [mailto:[EMAIL PROTECTED] 
Sent: Montag, 16. Juni 2008 08:29
To: toaster@shupp.org
Subject: RE: [toaster] binding IP

 I have 2 IPs for the web and mail server which is on the same box. I
would
 like apache to attach to the 1st IP and qmail on the 2nd. How can I make
 qmail to bind to the 2nd IP?


 Here is my run file for qmail-smtpd.  Notice the term 

 snip

 -u $QMAILDUID -g $NOFILESGID mail.developersdesk.com smtp \

 Thanks. Do I change the hostname in qmail-pop3d run file too?

/var/qmail/bin/qmail-popup `hostname` \

Smtp is binded to the 2nd IP now, but the outgoing mails still bearing the
1st IP. 
How do I change the outgoing IP to the 2nd IP?

Thanks




outgoingip.toaster.patch
Description: Binary data


RE: [toaster] binding IP

2008-06-16 Thread Qmail List
 Bill - few months ago, I made a patch for your toaster. I am sending it
now again. This patch will make qmail read 
 controls/outgoingip and bind to that IP for outgoing processes rather then
using the first one.

Hi Edvin, how do u patch the toaster with this?



RE: [toaster] binding IP

2008-06-16 Thread Edvin Seferovic
Like you apply other patches to the toaster...

patch -p0  /path/to/outgoingip.patch

then recompile qmail !

Regards,
E:S

-Original Message-
From: Qmail List [mailto:[EMAIL PROTECTED] 
Sent: Montag, 16. Juni 2008 16:41
To: toaster@shupp.org
Subject: RE: [toaster] binding IP

 Bill - few months ago, I made a patch for your toaster. I am sending it
now again. This patch will make qmail read 
 controls/outgoingip and bind to that IP for outgoing processes rather then
using the first one.

Hi Edvin, how do u patch the toaster with this?




RE: [toaster] binding IP

2008-06-16 Thread Qmail List
 patch -p0  /path/to/outgoingip.patch

 then recompile qmail !

Thanks. I had done that. But outgoing mails are still reflecting the 1st IP.

I had added the 2nd IP to /var/qmail/control/outgoingip. Is this correct?



RE: [toaster] binding IP

2008-06-16 Thread Edvin Seferovic
I had added the 2nd IP to /var/qmail/control/outgoingip. Is this correct?

Yes.

If you already had the qmail toaster, then you need to compile, install and
restart the qmail... 

Did you had any errors shown while patching? The patch changes 3 files (
AFAIK )...

Regards,
E:S




RE: [toaster] binding IP

2008-06-16 Thread Qmail List

 I had added the 2nd IP to /var/qmail/control/outgoingip. Is this correct?

 Yes.

 If you already had the qmail toaster, then you need to compile, install
and
 restart the qmail... 

 Did you had any errors shown while patching? The patch changes 3 files (
 AFAIK )...

No error. Everything was ok



Re: [toaster] binding IP

2008-06-15 Thread Rick Widmer



Qmail List wrote:

Hi,

I have 2 IPs for the web and mail server which is on the same box. I would
like apache to attach to the 1st IP and qmail on the 2nd. How can I make
qmail to bind to the 2nd IP?



Here is my run file for qmail-smtpd.  Notice the term 
'mail.developersdesk.com' in the parameters for tcpserver.  The value in 
a normal installation is 0 which says all ip addresses the server 
listens to.  If you prefer, you can also use the IP address here.



Rick


#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`

MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
exec /usr/local/bin/softlimit -m 1000 \
/usr/local/bin/tcpserver -v -H -R -l 0 \
-x /mail/etc/tcp.smtp.cdb -c $MAXSMTPD \
-u $QMAILDUID -g $NOFILESGID mail.developersdesk.com smtp \
/usr/local/bin/rblsmtpd \
-r safe.dnsbl.sorbs.net \
-r bl.spamcop.net \
/var/qmail/bin/qmail-smtpd \
/mail/bin/vchkpw /bin/true 21
~


RE: [toaster] binding IP

2008-06-15 Thread Qmail List
 I have 2 IPs for the web and mail server which is on the same box. I
would
 like apache to attach to the 1st IP and qmail on the 2nd. How can I make
 qmail to bind to the 2nd IP?


 Here is my run file for qmail-smtpd.  Notice the term 

snip

 -u $QMAILDUID -g $NOFILESGID mail.developersdesk.com smtp \

Thanks. Do I change the hostname in qmail-pop3d run file too?

/var/qmail/bin/qmail-popup `hostname` \

regards