[vchkpw] I could not patch netqmail-1.05_chkuser-2.0.8.patch

2006-02-17 Thread Yavuz Maslak



I use netqmail1.05 with vpopmail5.4.x

After I patchednetqmail-1.05 with 
qmail-toaster-0.8.1.patchsuccessfully, I wanted to patch it with 
netqmail-1.05_chkuser-2.0.8.patch.
But I could not patch beause I gotsome 
errors.

What shall I do ?






Re: [vchkpw] I could not patch netqmail-1.05_chkuser-2.0.8.patch

2006-02-17 Thread Yavuz Maslak
First
tar zxvf netqmail-1.0.5.tar.gz
cd netqmail-1.0.5
./collate.sh
cp qmail-toaster-0.8.1.patch netqmail-1.05/netqmail-1.05
cp netqmail-1.05_chkuser-2.0.8.patch netqmail-1.05/netqmail-1.05
cd netqmail-1.05/netqmail-1.05
patch  qmail-toaster-0.8.1.patch

I did not any error
I patched successfully it.
After that
patch  netqmail-1.05_chkuser-2.0.8.patch
But I got some errors as below;Does qmail-toaster-0.8.1.patch comprise
the patch called  netqmail-1.05_chkuser-2.0.8.patch ?
THANKS

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--
|diff -NU3 ./Makefile ../netqmail-1.05-chkuser-2.0.8-release/Makefile
|--- ./Makefile Mon Jul 26 11:05:52 2004
|+++ ../netqmail-1.05-chkuser-2.0.8-release/MakefileWed Dec  1 18:00:19
2004
--
Patching file Makefile using Plan A...
Hunk #1 succeeded at 1 with fuzz 1.
Hunk #2 succeeded at 324 with fuzz 2 (offset 20 lines).
Hunk #3 failed at 1564.
1 out of 3 hunks failed--saving rejects to Makefile.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|diff -NU3 ./TARGETS ../netqmail-1.05-chkuser-2.0.8-release/TARGETS
|--- ./TARGETS  Mon Jun 15 12:53:16 1998
|+++ ../netqmail-1.05-chkuser-2.0.8-release/TARGETS Wed Dec  1 18:00:19
2004
--
Patching file TARGETS using Plan A...
Hunk #1 succeeded at 408 (offset 23 lines).
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|diff -NU3 ./chkuser.c ../netqmail-1.05-chkuser-2.0.8-release/chkuser.c
|--- ./chkuser.cThu Jan  1 01:00:00 1970
|+++ ../netqmail-1.05-chkuser-2.0.8-release/chkuser.c   Tue Dec  7 11:04:27
2004
--
Patching file chkuser.c using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|diff -NU3 ./chkuser.h ../netqmail-1.05-chkuser-2.0.8-release/chkuser.h
|--- ./chkuser.hThu Jan  1 01:00:00 1970
|+++ ../netqmail-1.05-chkuser-2.0.8-release/chkuser.h   Wed Dec  1 18:34:53
2004
--
Patching file chkuser.h using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|diff -NU3 ./chkuser_settings.h
../netqmail-1.05-chkuser-2.0.8-release/chkuser_settings.h
|--- ./chkuser_settings.h   Thu Jan  1 01:00:00 1970
|+++ ../netqmail-1.05-chkuser-2.0.8-release/chkuser_settings.h  Tue Dec  7
12:00:32 2004
--
Patching file chkuser_settings.h using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|diff -NU3 ./conf-cc ../netqmail-1.05-chkuser-2.0.8-release/conf-cc
|--- ./conf-cc  Mon Jun 15 12:53:16 1998
|+++ ../netqmail-1.05-chkuser-2.0.8-release/conf-cc Wed Dec  1 18:00:19
2004
--
Patching file conf-cc using Plan A...
Hunk #1 succeeded at 1 with fuzz 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--
|diff -NU3 ./qmail-smtpd.c
../netqmail-1.05-chkuser-2.0.8-release/qmail-smtpd.c
|--- ./qmail-smtpd.cMon Jul 26 11:05:52 2004
|+++ ../netqmail-1.05-chkuser-2.0.8-release/qmail-smtpd.c   Mon Dec  6
13:14:26 2004
--
Patching file qmail-smtpd.c using Plan A...
Hunk #1 succeeded at 12 (offset 11 lines).
Hunk #2 succeeded at 49 with fuzz 2 (offset 15 lines).
Hunk #3 failed at 269.
Hunk #4 failed at 283.
Hunk #5 failed at 294.
3 out of 5 hunks failed--saving rejects to qmail-smtpd.c.rej
done




- Original Message - 
From: Michael Bellears
To: vchkpw@inter7.com
Sent: Friday, February 17, 2006 2:20 PM
Subject: RE: [vchkpw] I could not patch netqmail-1.05_chkuser-2.0.8.patch



What shall I do ?

Provide the errors you received at the very least



Re: [vchkpw] I could not patch netqmail-1.05_chkuser-2.0.8.patch

2006-02-17 Thread Yavuz Maslak
Well
I have 10 domains.
I want to check users for 3 domains.
How can I set  chkuser_settings.h that ?
Thanks

- Original Message - 
From: Bob Hutchinson [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Friday, February 17, 2006 3:20 PM
Subject: Re: [vchkpw] I could not patch netqmail-1.05_chkuser-2.0.8.patch


 On Friday 17 Feb 2006 11:18, Yavuz Maslak wrote:
  I use netqmail1.05 with vpopmail5.4.x
 
  After I patched netqmail-1.05 with qmail-toaster-0.8.1.patch
successfully,
  I wanted to patch it with netqmail-1.05_chkuser-2.0.8.patch. But I could
  not patch beause I got some errors.

 chkuser-2.0.8 is already in the qmail-toaster-0.8.1.patch

 look in your source tree, you should find chkuser_settings.h, in which the
 version number is stated.
 It also contains a number of things which you might want to
enable/disable,
 depending on your setup

 -- 
 -
 Bob Hutchinson
 Midwales dot com
 -




[vchkpw] How can I do user verify

2006-02-15 Thread Yavuz Maslak



Hello

I use netqmail1.05 with vpopmail. I want mail 
server to check users to incoming mails. 
ifdelivered-to email-adress is not 
valid mail server should not accept it. 
in addition if spammer sends too many random 
mailaddresses towards my mailserver, it should block sender ip 
address.

Does anyone know a script/patch about 
that?

Thanksfor your advice.




Re: [vchkpw] How can I adapt my user databases to vpopmail ?

2006-02-14 Thread Yavuz Maslak
Hello Martin
Thanks a lot for your advice.
Now I 'm asking to obtain information . I wonder if We have two or more
domains  How would we solve this problem?

- Original Message - 
From: Marcin Soltysiak [EMAIL PROTECTED]
To: vchkpw@inter7.com
Sent: Sunday, February 12, 2006 11:39 PM
Subject: Re: [vchkpw] How can I adapt my user databases to vpopmail ?


 How can I migrate my system to vpopmail without change the username
 settings of my users ?

use default domain and learn password options to vpopmail build. then just
create accounts using just a shell script with -n option to vadduser. Same
time you will have to create .qmail files with email address to username
aliases.

I asume that you have username like solt and email address like
[EMAIL PROTECTED] right?

For every user you will have to create a .qmail file for example
.qmail-marcin:soltysiak with a single line:

[EMAIL PROTECTED]

in it.

Then your users would not even know about transistion :)

Solt



[vchkpw] How can I do my username different from my emailaddress in vpopmail?

2006-02-11 Thread Yavuz Maslak




Hello 

I use vpopmail5.4 on qmail
I usevchkpw which uses mysql database to 
checkuser.

I want tobe different my username from 
myemailaddress.

How can I do that ?

Thanks.


[vchkpw] a problem during ldapadd

2005-09-22 Thread Yavuz Maslak




Hello
Iinstalled openldap2.3 on qmail.
Also Iusevpopmail.
when I run command that "ldapadd -f vpopmail.ldif 
-x -wpassword -D'cn=vpopmail,o=vpopmail'"
I got an error as below;
adding new entry "dc=example,dc=com "ldapadd: 
update failed: dc=example,dc=com ldap_add: Server is unwilling to perform 
(53) additional info: referral 
missing

file of vpopmail.ldif contains ;
dn: dc=example,dc=comobjectclass: 
dcObjectobjectclass: organizationo: Example Companydc: 
example
dn: cn=vpopmail,dc=example,dc=comobjectclass: 
organizationalRolecn: Manager

slapd is running
slapd.conf contains;

# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 
1.8.8.4 2000/08/26 17:06:18 kurt Exp $## See slapd.conf(5) for details 
on configuration options.# This file should NOT be world 
readable.#include 
/usr/local/etc/openldap/schema/core.schemainclude 
/usr/local/etc/openldap/schema/qmailUser.schema# we need to turn schema 
checking off as a workaround to a problem# with the qmailUser schema. The 
issue is that qmailUser objectclass# is defined as top $ person $ 
organizationalPerson, but according# to core.schema, a person MUST have a cn 
and sn. But these fields# dont exist in the vpopmail implementation. We can 
either modify# core.schema to make cn and sn MAY rather than MUST, or we 
can# disable schemacheckschemacheck off

pidfile 
/var/run/slapd.pidargsfile 
/var/run/slapd.args

database 
bdbsuffix 
"o=vpopmail"rootdn 
"cn=vpopmail, 
o=vpopmail"rootpw 
SeptemberUNXdirectory 
/usr/local/var/openldap-dataindex 
objectClass 
pres,eqindex 
cn,sn,uid 
eqindex 
qmailUID,qmailGID eqaccess to 
* by self 
write by 
dn="cn=vpopmail,o=vpopmail" write 
by * write
### finish 


What shall I do ?