Re: [vchkpw] CHKUSER for non-netqmail, non-stock-qmail

2006-06-16 Thread tonix (Antonio Nati)
At 23.09 15/06/2006, you wrote: tonix (Antonio Nati) schrieb: At 16.15 15/06/2006, you wrote: Thanks, Tonino. But isn't that snippet needed for the TLS-support? If you are using specific certificates on client side you probably need it, otherwise it is completely unuseful. Ah, yes. So

Re: [vchkpw] CHKUSER for non-netqmail, non-stock-qmail

2006-06-15 Thread tonix (Antonio Nati)
Cut away all these lines: if (relayclient) { --addr.len; if (!stralloc_cats(addr,relayclient)) die_nomem(); if (!stralloc_0(addr)) die_nomem(); } else #ifndef TLS if (!addrallowed()) { err_nogateway(); return; } #else if (!addrallowed()) { if (ssl) { STACK_OF(X509_NAME) *sk; X509

Re: [vchkpw] CHKUSER for non-netqmail, non-stock-qmail

2006-06-15 Thread Rainer Duffner
tonix (Antonio Nati) wrote: Cut away all these lines: and put the following code: /* start chkuser code */ switch (chkuser_realrcpt (mailfrom, addr)) { case CHKUSER_KO: return; break; case CHKUSER_RELAYING: --addr.len; if

Re: [vchkpw] CHKUSER for non-netqmail, non-stock-qmail

2006-06-15 Thread tonix (Antonio Nati)
At 16.15 15/06/2006, you wrote: tonix (Antonio Nati) wrote: Cut away all these lines: and put the following code: /* start chkuser code */ switch (chkuser_realrcpt (mailfrom, addr)) { case CHKUSER_KO: return; break; case CHKUSER_RELAYING: --addr.len;

Re: [vchkpw] CHKUSER for non-netqmail, non-stock-qmail

2006-06-15 Thread Rainer Duffner
tonix (Antonio Nati) schrieb: At 16.15 15/06/2006, you wrote: Thanks, Tonino. But isn't that snippet needed for the TLS-support? If you are using specific certificates on client side you probably need it, otherwise it is completely unuseful. Ah, yes. So the TLS-patch would support