Re: [vchkpw] Qmail + Vpopmail + patches

2002-12-20 Thread tonix (Antonio Nati)
Hi Anton,

I wrote the first patch you speak about (qmail-smtpd-chksr), and seen no 
problem with all the other patches I've installed until now (including TLS 
and AUTH).

My suggestion.

First, install all other pathes, except mine, and be sure they work.

Second, be sure the installed patches do not need any root privilege. If 
they don't need that, and respect the original qmail security and privilege 
behaviour, keep considering the 
http://www.interazioni.it/qmail/qmail-smtpd-chkusr-1.0.patch patch, 
otherwise switch to http://www.interazioni.it/qmail/easy-way-1.0.patch.

Third, do not apply the selected patch using the patch command, but apply 
it manually. Two patches named before are very simple, and you may cut and 
paste inserting them in the qmail-smtpd.c code. They are composed mainly by 
a whole routine and a few spare lines. Only the last of them must be 
applied carefully, modifying the existing code.

Fourth, modify Makefile according to my patches needs.

All done!

Let me know if you need more help.

Ciao,

Tonino


At 19/12/02 19/12/02 +0200, Anton G. Popov wrote:
Hello, all

Probably an already discussed topic..
I need qmail to reject mails whose 'mail from:' contains an invalid domain
AND reject mail if the recipient is not known locally (not in the vpopmail
mysql database) and not an alias, etc.
Both patches work fine for me, but only separately.
Tried varios ways of applying both, tried patching manually, but I get
various errors and cannot compile qmail-smtpd. (or it compiles but does not
do what I want it to do.)

Does anyone have a working solution for these 2 features? Or is there a
cumulative patch?

I tried using http://www.interazioni.it/qmail/qmail-smtpd-chkusr-1.0.patch
and http://www.qmail.org/qmail-1.03-mfcheck.3.patch

Thanks,
Anton G. Popov
Bitex.com







Inter@zioniInterazioni di Antonio Nati
   http://www.interazioni.it  [EMAIL PROTECTED]






[vchkpw] Qmail + Vpopmail + patches

2002-12-19 Thread Anton G. Popov
Hello, all

Probably an already discussed topic..
I need qmail to reject mails whose 'mail from:' contains an invalid domain
AND reject mail if the recipient is not known locally (not in the vpopmail
mysql database) and not an alias, etc.
Both patches work fine for me, but only separately.
Tried varios ways of applying both, tried patching manually, but I get
various errors and cannot compile qmail-smtpd. (or it compiles but does not
do what I want it to do.)

Does anyone have a working solution for these 2 features? Or is there a
cumulative patch?

I tried using http://www.interazioni.it/qmail/qmail-smtpd-chkusr-1.0.patch
and http://www.qmail.org/qmail-1.03-mfcheck.3.patch

Thanks,
Anton G. Popov
Bitex.com