Re: [toaster] Toaster 0.8.7 Update

2006-04-11 Thread tonix (Antonio Nati)

At 00.39 11/04/2006, you wrote:

tonix (Antonio Nati) wrote:

 Bill, actually there could be two alternative solutions:

 1) select an alternative file that always exists in the directory
 (surviving to last ezmlm-idx changes)
 2) enable CHKUSER_ENABLE_ALIAS_DEFAULT : that should enable rcpt
 acceptance if .qmail-list-default does exists.

 In the first case, following line in case 11 in chkuser.c must be changed:
 if (!stralloc_cats (tmp_path,
 /mailinglist)) DIE_NOMEM();

 In the second case, no intervent should be done (if .qmail-list-default
 still exists :-) ).

 Any comment is welcome.

Would the CHKUSER_ENABLE_ALIAS_DEFAULT affect the .qmail-default file in
the domain directory?  Or is that only for other .qmail files?


It always looks for something like .qmail-alias-default. 
.qmail-default should never be used because of this define.



I think /editor is always present, perhaps that's a better solution.


Ok, you may modify this line, I'll put it in next chkuser release.
-  if (!stralloc_cats 
(tmp_path,/mailinglist)) DIE_NOMEM();
+  if (!stralloc_cats 
(tmp_path,/editor)) DIE_NOMEM();


Thanks,

Tonino


Regards

Bill





[toaster] smtp-auth

2006-04-11 Thread Max Andersen

Hi,

How do I test the smtp-auth ?

I do seem to have been running smtp-auth, but now my servere rejects me  
when I try :(


Sincerely
Max


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [toaster] smtp-auth

2006-04-11 Thread Max Andersen

Max Andersen wrote:

Hi,

How do I test the smtp-auth ?

I do seem to have been running smtp-auth, but now my servere rejects 
me  when I try :(




I've dug a bit deeper and see this:

when connecting from the lan I get the following:

[EMAIL PROTECTED] root]# telnet linux01.netformidling.dk 25
Trying local ip...
Connected to linux01.netformidling.dk.
Escape character is '^]'.
220 linux01.netformidling.dk ESMTP
ehlo test
250-linux01.netformidling.dk
250-STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE 0
250 AUTH LOGIN PLAIN CRAM-MD5

but when connecting from wan, i get this :

[EMAIL PROTECTED]:~$ telnet linux01.netformidling.dk 25
Trying wan ip...
Connected to linux01.netformidling.dk.
Escape character is '^]'.
220 linux01.netformidling.dk ESMTP
ehlo test
502

sincerely
Max


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [toaster] smtp-auth

2006-04-11 Thread Adi Pircalabu
On Tue, 11 Apr 2006 16:19:51 +0200
Max Andersen [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED]:~$ telnet linux01.netformidling.dk 25
 Trying wan ip...
 Connected to linux01.netformidling.dk.
 Escape character is '^]'.
 220 linux01.netformidling.dk ESMTP
 ehlo test
 502

Do you have another SMTP proxy in front of your system? That proxy
probably does not implement some SMTP extensions.

-- 
Adrian Pircalabu


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/



Re: [toaster] smtp-auth

2006-04-11 Thread Max Andersen

Adi Pircalabu wrote:

Do you have another SMTP proxy in front of your system? That proxy
probably does not implement some SMTP extensions.


I've just investigated, and My cisco 806 at home does not have the fixup 
smtp configuration, and the router is all that is between me and the 
mailserver.


But I just noticed that there is another kind of packet inspection on 
the 806 router that an ordinary pix, so it seems that this :


ip inspect name Ethernet_1 smtp

could be the sinner in the cisco config.

I will try and remove it to see if it helps. Any success will be 
reported for the archives.


Thank you for your response.

Sincerely
Max


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [toaster] smtp-auth

2006-04-11 Thread Max Andersen

Max Andersen wrote:

Adi Pircalabu wrote:

Do you have another SMTP proxy in front of your system? That proxy
probably does not implement some SMTP extensions.


The cisco box was the reason. removed the fixup smtp or similar did the job.

Sincerely
Max


smime.p7s
Description: S/MIME Cryptographic Signature


[toaster] linking with djbdns

2006-04-11 Thread Ingo Claro

Bill:

i've searched the list and didn't find it, so here goes the question:

is your toaster compatible with the instructions from:
 Nikola Vladov has devised a way to link qmail against djbdns 
http://qmail.chilesat.net/qmail+djbdns's resolver library.  
(http://qmail.chilesat.net/qmail+djbdns)

for linking with djbdns?

and is there really any gain in doing so?

regards,
--




*Ingo Claro F.*
Gerente de Operaciones
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
(+56-2) 43 00 155



Certificado ISO 9001:2000



Re: [toaster] linking with djbdns

2006-04-11 Thread Bill Shupp
Ingo Claro wrote:
 Bill:
 
 i've searched the list and didn't find it, so here goes the question:
 
 is your toaster compatible with the instructions from:
 Nikola Vladov has devised a way to link qmail against djbdns
 http://qmail.chilesat.net/qmail+djbdns's resolver library. 
 (http://qmail.chilesat.net/qmail+djbdns)
 for linking with djbdns?
 
 and is there really any gain in doing so?

Perhaps, I've never tried to use it.  I just use dnscache, and
everything works great.  :)  Besides, qmail itself is rarely the
bottleneck for me these days.  It's usually scanners, etc.  You probably
wouldn't need such a thing until you were scaling very high, where the
mta itself was the bottleneck.

Bill


Re: [toaster] linking with djbdns

2006-04-11 Thread Ingo Claro

Bill Shupp escribió:

Ingo Claro wrote:
  

Bill:

i've searched the list and didn't find it, so here goes the question:

is your toaster compatible with the instructions from:


Nikola Vladov has devised a way to link qmail against djbdns

http://qmail.chilesat.net/qmail+djbdns's resolver library. 
(http://qmail.chilesat.net/qmail+djbdns)

for linking with djbdns?

and is there really any gain in doing so?



Perhaps, I've never tried to use it.  I just use dnscache, and
everything works great.  :)  Besides, qmail itself is rarely the
bottleneck for me these days.  It's usually scanners, etc.  You probably
wouldn't need such a thing until you were scaling very high, where the
mta itself was the bottleneck.

Bill
  
Excuse my ignorance... but isn't dnscache = djbdns? so you just install 
that instead of bind and qmail works fine?
I think that could be a nice contribution to the toaster in the 
optionals section. I can help test it if you like, don't know the setup 
myself.


regards,
Ingo.-



Re: [toaster] linking with djbdns

2006-04-11 Thread Bill Shupp
Ingo Claro wrote:

 Excuse my ignorance... but isn't dnscache = djbdns? so you just install
 that instead of bind and qmail works fine?

Yes.  The patch in question actually replaces the libresolv routines in
qmail (which do the talking to the dns server), with the ones from the
djbdns package.

 I think that could be a nice contribution to the toaster in the
 optionals section. I can help test it if you like, don't know the setup
 myself.

While it's interesting, it's very low priority for me, so I won't be
implementing it any time soon, if at all.

Regards,

Bill


Re: [toaster] linking with djbdns

2006-04-11 Thread Rick Macdougall

Bill Shupp wrote:

Ingo Claro wrote:


Excuse my ignorance... but isn't dnscache = djbdns? so you just install
that instead of bind and qmail works fine?


Yes.  The patch in question actually replaces the libresolv routines in
qmail (which do the talking to the dns server), with the ones from the
djbdns package.


I think that could be a nice contribution to the toaster in the
optionals section. I can help test it if you like, don't know the setup
myself.


While it's interesting, it's very low priority for me, so I won't be
implementing it any time soon, if at all.

Regards,

Bill


I think he meant adding djbdns's dnscache program to the toaster, not 
the qmail+djbdns patch.


Or at least that's how I read it.

Might be a simple add on as an option like clam or SA at the bottom. I'd 
be willing to write that up if you want.


Regards,

Rick



[toaster] djb dnscache option

2006-04-11 Thread Rick Macdougall

Hi,

Since I have it scripted already

--- cut here ---
cd /var/src/tar
# dnscache
wget http://cr.yp.to/djbdns/djbdns-1.05.tar.gz

cd /var/src
tar -xzvf tar/djbdns-1.05.tar.gz
cd djbdns-1.05

#below is only needed for Linux machines
echo gcc -O2 -include /usr/include/errno.h  conf-cc

make
make setup check

/usr/sbin/useradd dnscache
/usr/sbin/useradd dnslog

dnscache-conf dnscache dnslog /etc/dnscache

echo 6000  /etc/dnscache/env/CACHESIZE
echo 6500  /etc/dnscache/env/DATALIMIT

ln -s /etc/dnscache /service

--- cut here ---

Regards,

Rick


Re: [toaster] linking with djbdns

2006-04-11 Thread Bill Shupp
Rick Macdougall wrote:
 Bill Shupp wrote:
 Ingo Claro wrote:

 Excuse my ignorance... but isn't dnscache = djbdns? so you just install
 that instead of bind and qmail works fine?

 Yes.  The patch in question actually replaces the libresolv routines in
 qmail (which do the talking to the dns server), with the ones from the
 djbdns package.

 I think that could be a nice contribution to the toaster in the
 optionals section. I can help test it if you like, don't know the setup
 myself.

 While it's interesting, it's very low priority for me, so I won't be
 implementing it any time soon, if at all.

 Regards,

 Bill
 
 I think he meant adding djbdns's dnscache program to the toaster, not
 the qmail+djbdns patch.
 
 Or at least that's how I read it.

Ah, you're probably right.

 Might be a simple add on as an option like clam or SA at the bottom. I'd
 be willing to write that up if you want.

Sure, I should probably add that anyway.

Regards,

Bill


Re: [toaster] djb dnscache option

2006-04-11 Thread Bill Shupp
Rick Macdougall wrote:
 Hi,
 
 Since I have it scripted already
 
 --- cut here ---
 cd /var/src/tar
 # dnscache
 wget http://cr.yp.to/djbdns/djbdns-1.05.tar.gz
 
 cd /var/src
 tar -xzvf tar/djbdns-1.05.tar.gz
 cd djbdns-1.05
 
 #below is only needed for Linux machines
 echo gcc -O2 -include /usr/include/errno.h  conf-cc
 
 make
 make setup check
 
 /usr/sbin/useradd dnscache
 /usr/sbin/useradd dnslog
 
 dnscache-conf dnscache dnslog /etc/dnscache
 
 echo 6000  /etc/dnscache/env/CACHESIZE
 echo 6500  /etc/dnscache/env/DATALIMIT
 
 ln -s /etc/dnscache /service
 
 --- cut here ---

Thanks!

Bill


Re: [toaster] djb dnscache option

2006-04-11 Thread Alex Dean

On Apr 11, 2006, at 4:47 PM, Rick Macdougall wrote:


dnscache-conf dnscache dnslog /etc/dnscache


Do you need a 'cp' at the beginning of this line?
.





Re: [toaster] djb dnscache option

2006-04-11 Thread Bill Shupp
Alex Dean wrote:
 On Apr 11, 2006, at 4:47 PM, Rick Macdougall wrote:
 
 dnscache-conf dnscache dnslog /etc/dnscache
 
 Do you need a 'cp' at the beginning of this line?

No.  dnscache-conf is a program.

Bill


Re: [toaster] djb dnscache option

2006-04-11 Thread Alex Dean


On Apr 11, 2006, at 4:59 PM, Bill Shupp wrote:


Alex Dean wrote:

On Apr 11, 2006, at 4:47 PM, Rick Macdougall wrote:


dnscache-conf dnscache dnslog /etc/dnscache


Do you need a 'cp' at the beginning of this line?


No.  dnscache-conf is a program.

Bill


Got it.  Looked like a config file to me.
.





Re: [toaster] djb dnscache option

2006-04-11 Thread Rick Macdougall

Alex Dean wrote:

On Apr 11, 2006, at 4:47 PM, Rick Macdougall wrote:


dnscache-conf dnscache dnslog /etc/dnscache


Do you need a 'cp' at the beginning of this line?



As Bill said, no, it's a program.

But I didn't include instructions for modifying /etc/resolv.conf to use

nameserver 127.0.0.1

and to stop Bind from running (or alternatively from listening on 127.0.0.1)

Regards,

Rick