Re: [vchkpw] [PATCH] Fixed PosgreSQL support

2011-12-29 Thread Itamar Reis Peixoto
On Thu, Dec 29, 2011 at 10:35 PM, XVilka Haos of System
xvi...@gmail.com wrote:
 Good day!
 I've fixed PostgreSQL support (tested on 8.x and 9.x versions) in
 latest vpopmail release.
 Patch attached (it is trivial)

 Best regards,
 Anton Kochkov.


 

thanks for the patch,

I hope to get it merged soon

-- 


Itamar Reis Peixoto
msn, google talk: ita...@ispbrasil.com.br
+55 11 4063 5033 (FIXO SP)
+55 34 9158 9329 (TIM)
+55 34 8806 3989 (OI)
+55 34 3221 8599 (FIXO MG)

!DSPAM:4efd08bc34246856026484!



Re: [vchkpw] OT: Dovecot for POP3?

2011-07-08 Thread Itamar Reis Peixoto
On Fri, Jul 8, 2011 at 1:17 PM, Tom Collins t...@tomlogic.com wrote:
 Many of us have switched from Courier to Dovecot for IMAP, I'm wondering if 
 others have also switched from qmail-pop3d to Dovecot for your POP server.

 I have a client who insists on using POP and leaving lots of messages (~4000) 
 in his inbox.  That's starting to cause problems with qmail-pop3d.

 I'm thinking that switching to Dovecot might solve that problem.

 Thoughts?

 -Tom

dovecot is already packaged for almost linux distros, fedora, centos,
debian, redhat enterprise, and others.

qmail for me is dead, I recommend inter7 to port vpopmail to postfix.



-- 


Itamar Reis Peixoto
msn, google talk: ita...@ispbrasil.com.br
+55 11 4063 5033 (FIXO SP)
+55 34 9158 9329 (TIM)
+55 34 8806 3989 (OI)
+55 34 3221 8599 (FIXO MG)

!DSPAM:4e172e9732711562226842!



[vchkpw] using pkgconfig in vpopmail , qmailadmin and others.

2009-10-13 Thread Itamar Reis Peixoto
for example.

[r...@itamar vpopmail]# pwd
/etc/vpopmail
[r...@itamar vpopmail]# cat inc_deps
-I/usr/include/vpopmail
[r...@itamar vpopmail]# cat lib_deps
-L/usr/lib -ldl -lcrypt   -lvpopmail


and in qmailadmin configure.in

auth_incs=`cat $vpopmaildir/etc/inc_deps`
AC_SUBST(auth_incs)
auth_libs=`cat $vpopmaildir/etc/lib_deps`
AC_SUBST(auth_libs)


this is wrong because my vpopmail dir is /etc/vpopmail and auth_incs
look's in /etc/vpopmail/etc/inc_deps .

I think the best option is use pkgconfig, all modern linux distros
have it, please look


references -- 

http://www.openismus.com/documents/linux/building_libraries/building_libraries.shtml#makingyourlibraryeasytouse
http://julipedia.blogspot.com/2005/03/pkg-config-quick-introduction.html


what you think, Can I send a patch to use pkgconfig instead config files?




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4ad4387832716604419423!



Re: [vchkpw] vpopmail UID/GID hardcoded in config.h

2009-08-18 Thread Itamar Reis Peixoto

 How often does the code actually reference the UID/GID?  Could you have a
 function to look it up and cache it in a static once found?

sounds great, the best solution at this moment.


 A quick check and it looks like it's only referenced when adding a user or
 updating the tcp.smtp.cdb file.  There are a few other references, but the
 common things (like vchkpw and vdelivermail) don't appear to make use of it.

 Probably not a big deal to use getpwnam.

for packaging vpopmail as rpm it is, because no need to use a fixed
uid/gid in all systems.




Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4a8b3dae32711327166225!



[vchkpw] patch to use pkgconfig to check for EV libs

2009-08-18 Thread Itamar Reis Peixoto
use pkconfig to search for libev

fix compile of vusaged/socket.c adding needed flags to gcc


-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599


!DSPAM:4a8b411332719435811545!


add_VUSAGEDLIBS_to-socket.patch
Description: Binary data


use_pkg-config-for-ev.patch
Description: Binary data


[vchkpw] vpopmail UID/GID hardcoded in config.h

2009-08-17 Thread Itamar Reis Peixoto
currently vpopmail user and vchkpw group's need's to be created before
running ./configure.

this is not good for packaging it as rpm, because in rpm the user and
group are created in %post section (after vpopmail installed)


#define VPOPMAILGID 503
#define VPOPMAILUID 507

any chance to improve this with automatic detection uid and gid using
getpwnam function ?

http://publib.boulder.ibm.com/infocenter/zos/v1r10/index.jsp?topic=/com.ibm.zos.r10.bpxbd00/rtgtpn.htm





-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4a89812232716199578350!



Re: [vchkpw] vpopmail UID/GID hardcoded in config.h

2009-08-17 Thread Itamar Reis Peixoto
I agree parsing /etc/passwd every time is expensive

a config file file will be welcome.




On Mon, Aug 17, 2009 at 1:18 PM, Matt Brookingsm...@inter7.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Itamar Reis Peixoto wrote:
 currently vpopmail user and vchkpw group's need's to be created before
 running ./configure.

 this is not good for packaging it as rpm, because in rpm the user and
 group are created in %post section (after vpopmail installed)

 I'm pretty sure there are RPMs that handle this situation already.  How
 do they do it?

 any chance to improve this with automatic detection uid and gid using
 getpwnam function ?

 I'm not sure if this would be considered an improvement.  Parsing /etc/passwd
 every time a vpopmail binary is invoked could be expensive on some systems.

 I'm looking at adding a configuration file to vpopmail for the 5.5 branch that
 will contain all the stuff that usually you have to set at configure time.  
 The
 UID/GID would be contained here as well, but that's not currently available.
 Just an OT about the config: It will be compiled so as to be very quick to 
 load.

 Thoughts anyone?
 - --
 /*
    Matt Brookings m...@inter7.com       GnuPG Key FAE0672C
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkqJgssACgkQIwet2/rgZyzmXQCeOl04M9MG0QVTyPUpXjxj6AIa
 wLUAn0LhtOYsOjPaDYLmm27vpMpWaRMp
 =0abu
 -END PGP SIGNATURE-




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4a8986c832711158417373!



Re: [vchkpw] Upgrading vpopmail 5.5.0

2009-08-17 Thread Itamar Reis Peixoto
run configure

add the line

make and make install


On Mon, Aug 17, 2009 at 2:51 PM, shivs...@netcom.gy wrote:
 this is strange, after editing the file and add the quick fix and run
 ./configure.
 the quick fix line get removed from the file.

 after recompile, same result, the table does not exists.

 shiv

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 shiv wrote:

 hello
 after upgrading from vpopmail 2.4.27 to 5.5.0 and starting vusaged
 I am getting the following error

 shiv, if you want a quick fix, just edit the vmysql.h file in the
 backends/mysql
 directory, and add a line at the top:

 #define MANY_DOMAINS 1

 ..then rebuild the MySQL module and re-start the vusage daemon.
 - --
 /*
 Matt Brookings m...@inter7.com GnuPG Key FAE0672C
 Software developer Systems technician
 Inter7 Internet Technologies, Inc. (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkqJj3sACgkQIwet2/rgZywBjACfaEwW+mQQqbi+X0S/Enqd8CTF
 xbkAn07L2aVFfH0536KWQA1ZuWDK4rsr
 =UmL4
 -END PGP SIGNATURE-
 



-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4a8998d932717063020892!



Re: [vchkpw] vpopmail UID/GID hardcoded in config.h

2009-08-17 Thread Itamar Reis Peixoto
my suggestion is related about which user and group vpopmail run's

not about authentication.

no authentication is involved in this




On Mon, Aug 17, 2009 at 5:52 PM, Matt Brookingsm...@inter7.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Tren Blackburn wrote:
 And since no one else has mentioned this...some of us don't use
 /etc/passwd for authentication. So searching /etc/passwd would not work
 anyway. Isn't there a C function call to check user/group id? Or at
 least a universal alternative...

 I was being too general for the sake of brevity when I referenced parsing of 
 /etc/passwd.
 The getpwnam and related functions use whatever authentication system you 
 have for authenticating
 system users.
 - --
 /*
    Matt Brookings m...@inter7.com       GnuPG Key FAE0672C
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkqJwwMACgkQIwet2/rgZyzK2QCfRztW8ghVEwGbKHntqZpwXPyz
 ZTMAnjfCSn8gEdyG4pZGea4vybV2Q003
 =jUad
 -END PGP SIGNATURE-




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4a89c3a432716349971963!



Re: [vchkpw] vpopmail UID/GID hardcoded in config.h

2009-08-17 Thread Itamar Reis Peixoto
storing uid / gid in a config file will be light

On Mon, Aug 17, 2009 at 5:57 PM, Matt Brookingsm...@inter7.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Itamar Reis Peixoto wrote:
 my suggestion is related about which user and group vpopmail run's

 not about authentication.

 no authentication is involved in this

 That may be the case, but the fact is, your system-level authentication 
 backend stores
 user and group information.  This means you're accessing an authentication 
 database
 for uid/gid information.  Whether you choose to do password comparisons is up 
 to you,
 but the call is just as expensive.
 - --
 /*
    Matt Brookings m...@inter7.com       GnuPG Key FAE0672C
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkqJxCQACgkQIwet2/rgZyyBvwCeLVeK8H4Xi2dhvuuLtCg5P2WA
 uEQAn1P46CJ6LTM/p+Hl6+9VGAL79nOD
 =j0tC
 -END PGP SIGNATURE-




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4a89c4b832714512116850!



Re: [vchkpw] Vpopmail 5.5.0 vs. valias

2009-08-17 Thread Itamar Reis Peixoto
Gabriel Torres meu amigo, better to stay at 5.4.27 at this moment.

Matt.

the backend modules need's to share VALIAS  config with main vpopmail.
in the vpopmail code I have #ifdef VALIAS, so if VALIAS is activated
in main vpopmail code it's need's to be activated in all
vpopmail backend modules  automatically.

do you agree ?



On Mon, Aug 17, 2009 at 9:58 PM, Gabriel
Torresgabr...@hardwaresecrets.com wrote:
 Hello,

 After upgrading to Vpopmail 5.5.0 our forwarders (valias) stop working.
 Installed like this:

 ./configure --enable-logging=p --disable-passwd --enable-clear-passwd
 --disable-many-domains --enable-sql-logging --disable-mysql-limits  make
  make install-strip

 cd backends/mysql
 ./configure --enable-valias --enable-auth-logging  make  make install

 Accesing MySQL directly or using the command /home/vpopmail/bin/valias
 forwarder I can see the forwarder being listed, however when I send an
 e-mail to this address the message bounces back.

 If I downgrade to vpopmail 5.4.27 it works fine.

 Please advice.

 Cheers,
 Gabriel



 





-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4a8a267e32719385073346!



[vchkpw] adding load_connection_info into backends/postgres

2009-08-16 Thread Itamar Reis Peixoto
Can you add  load_connection_info link backend/mysql does into
postgres backend ?

vpopmail postgresql backend should read connections details from a
file, like mysql backend load from  vpopmail.mysql



-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4a887b0232717885616673!



Re: [vchkpw] vpopmail make install should support DESTDIR

2009-04-01 Thread Itamar Reis Peixoto
John.

for me sounds good, wonderful



here's an idea... why not include a utility which sets the ownerships and
permissions correctly?


 for RPM users, the program would be called called a post-install script to
 ensure that the newly created directory structure has the proper ownership
 and permissions.

 for users who install from source, they can either run it by hand, or have
 a make check step which runs it.

 and after it's installed, no matter HOW it was installed, the machine owner
 can run it at any time to ensure that the permissions of his vpopmail
 directory are correct.

 if there's interest in the idea, i'll write it. it amounts to a compiled C
 version of the vfixpermissions script from my web site.

 of course, i've never understood why the vpopmail user's numeric uid/gid
 needs to be hard-coded into the executables to begin with. is it really that
 expensive to call getpwnam() when the program starts? or was that done
 simply because djb did it in qmail?

 
 | John M. Simpson---   KG4ZOW   ---Programmer At Large |
 | http://www.jms1.net/ j...@jms1.net |
 
 | http://video.google.com/videoplay?docid=-1656880303867390173 |
 






 




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599


!DSPAM:49d34b0a32681779417726!


Re: [vchkpw] help porting qmail to auto-tools

2009-04-01 Thread Itamar Reis Peixoto
qmail is not FHS



On Wed, Apr 1, 2009 at 2:04 PM, Manvendra Bhangui mbhan...@gmail.comwrote:

 On Wed, Apr 1, 2009 at 10:05 PM, Itamar Reis Peixoto 
 ita...@ispbrasil.com.br wrote:

 Hi

 I want to create rpm for qmal and vpopmail.

 anyone can help me porting qmail build system to gnu auto-tools ?


 There are few who have already built rpm for qmail. Why reinvent the wheel?
 or do you have some different thoughts on this.


 http://www.google.co.in/search?q=qmail+rpmie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a

 For vpopmail, we can do it. We need to build a spec file. I have a spec
 file which can be modified for vpopmail. I can send it to you offline. Post
 that we can use openSUSE build service to build the RPM for the major linux
 distros.

 Let me know. You can mail me at mbhan...@gmail.com
 




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599


!DSPAM:49d3a00332687054314454!


[vchkpw] irc CHAT

2009-03-30 Thread Itamar Reis Peixoto
what you think about a irc chat to talk about vpopmail  development  ?

irc.freenode.net
#vchkpw



-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49d0c04732687858516885!



[vchkpw] error compiling vpopmail 5.5 with gcc 4.4 in fedora-rawhide

2009-03-29 Thread Itamar Reis Peixoto
gcc  -o vpopmail.o -c vpopmail.c
gcc  -o quota.o -c quota.c
gcc -shared -o libvpopmail.so md5.o bigdir.o vauth.o file_lock.o
vpalias.o seek.o vlimits.o maildirquota.o vutil.o vlistlib.o client.o
conf.o ippp.o backfill.o vpopmail.o quota.o cdb/cdb_hash.o
cdb/cdbmake_add.o cdb/cdbmake_hash.o cdb/cdbmake_pack.o cdb/cdb_seek.o
cdb/cdb_unpack.o
/usr/bin/ld: bigdir.o: relocation R_X86_64_32 against `vdir' can not
be used when making a shared object; recompile with -fPIC
bigdir.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libvpopmail.so] Error 1
[ita...@localhost vpopmail]$




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49cfde0032686029819455!



[vchkpw] vpopmail make install should support DESTDIR

2009-03-29 Thread Itamar Reis Peixoto
vpopmail make install should support DESTDIR


please take a look

http://www.gnu.org/prep/standards/html_node/DESTDIR.html


[ita...@localhost vpopmail]$ make install
DESTDIR=/home/itamar/fedora/mail/vpopmail/svn/vpopmail/x

Installing...

for i in /home/vpopmail/bin /home/vpopmail/etc /home/vpopmail/include
/home/vpopmail/lib /home/vpopmail/domains; do if test ! -d ${i}; then
mkdir -p ${i}; chown vpopmail:vchkpw ${i}; fi; done
mkdir: cannot create directory `/home/vpopmail': Permission denied
chown: cannot access `/home/vpopmail/bin': No such file or directory
mkdir: cannot create directory `/home/vpopmail': Permission denied
chown: cannot access `/home/vpopmail/etc': No such file or directory
mkdir: cannot create directory `/home/vpopmail': Permission denied
chown: cannot access `/home/vpopmail/include': No such file or directory
mkdir: cannot create directory `/home/vpopmail': Permission denied
chown: cannot access `/home/vpopmail/lib': No such file or directory
mkdir: cannot create directory `/home/vpopmail': Permission denied
chown: cannot access `/home/vpopmail/domains': No such file or directory
make: *** [install] Error 1
[ita...@localhost vpopmail]$


-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49d0395632686253216246!



Re: [vchkpw] vpopmail make install should support DESTDIR

2009-03-29 Thread Itamar Reis Peixoto
what you think about a separated script called fixperms wich ends with
exit ( 0 ) ?



On Mon, Mar 30, 2009 at 12:29 AM, aledr matrixworkstat...@gmail.com wrote:
 I've wrote a patch to support DESTDIR and remove the -o and -g
 statements on the install commands (which should be removed from the
 install commands and let %files section on the spec file take care
 about files permissions and ownerships). It's a solution for packagers
 that have a %file section to write but how to deal with it when not
 packaging?
 I was testing my DESTDIR solution but you asked for it before I got it
 finished... I prefer to wait for a reply from Matt now.

 Thanks.

 On Mon, Mar 30, 2009 at 12:15 AM, Itamar Reis Peixoto
 ita...@ispbrasil.com.br wrote:
 vpopmail make install should support DESTDIR


 please take a look

 http://www.gnu.org/prep/standards/html_node/DESTDIR.html


 [ita...@localhost vpopmail]$ make install
 DESTDIR=/home/itamar/fedora/mail/vpopmail/svn/vpopmail/x

 Installing...

 for i in /home/vpopmail/bin /home/vpopmail/etc /home/vpopmail/include
 /home/vpopmail/lib /home/vpopmail/domains; do if test ! -d ${i}; then
 mkdir -p ${i}; chown vpopmail:vchkpw ${i}; fi; done
 mkdir: cannot create directory `/home/vpopmail': Permission denied
 chown: cannot access `/home/vpopmail/bin': No such file or directory
 mkdir: cannot create directory `/home/vpopmail': Permission denied
 chown: cannot access `/home/vpopmail/etc': No such file or directory
 mkdir: cannot create directory `/home/vpopmail': Permission denied
 chown: cannot access `/home/vpopmail/include': No such file or directory
 mkdir: cannot create directory `/home/vpopmail': Permission denied
 chown: cannot access `/home/vpopmail/lib': No such file or directory
 mkdir: cannot create directory `/home/vpopmail': Permission denied
 chown: cannot access `/home/vpopmail/domains': No such file or directory
 make: *** [install] Error 1
 [ita...@localhost vpopmail]$


 --
 

 Itamar Reis Peixoto

 e-mail/msn: ita...@ispbrasil.com.br
 sip: ita...@ispbrasil.com.br
 skype: itamarjp
 icq: 81053601
 +55 11 4063 5033
 +55 34 3221 8599



 --
 [ ]'s
 Aledr - Alexandre
 OpenSource Solutions for SmallBusiness Problems

 





-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49d03e1132681457012234!



Re: [vchkpw] vpopmail FHS compiler flags

2009-03-28 Thread Itamar Reis Peixoto
Can you fix CFLAGS and LDFLAGS in other scripts too?

./backends/postgres/configure.ac
./backends/mysql/configure.ac
./backends/cdb/configure.ac
./backends/ldap/configure.ac



-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49cebb3c32686650846461!



Re: [vchkpw] Added FHS compliance to 5.5 branch

2009-03-26 Thread Itamar Reis Peixoto
I will make a rpms for fedora and submit it for review.

I will send a feedback for you as soon as possible

On Thu, Mar 26, 2009 at 3:13 PM, Matt Brookings m...@inter7.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 I've committed changes to the 5.5 branch which add FHS compliance.  As usual, 
 you can find
 this in the SVN tree under branches/v5_5_0, or you can wait for the snapshot 
 that I'll upload
 to Sourceforge later today.

 Some quick notes on the compliance:
   * Paths can be updated in the usual autotools way: --prefix=, --bindir=, 
 etc.
   * If you do not update the prefix, the configure script will default to 
 'vpopmail-style'
     paths, where everything is under ~vpopmail

 I would love it if those of you who pushed for this could take a quick look 
 at how it's forming
 paths and let me know if everything checks out as it should.

 Thanks!
 - --
 /*
    Matt Brookings m...@inter7.com       GnuPG Key D9414F70
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAknLxeAACgkQ6QgvSNlBT3BC3QCgmpSnh8aoOk8cIjaAudr0xGxf
 pFoAn0tfrZr7rYPX3za9Wvn6gDeXLmvc
 =V55l
 -END PGP SIGNATURE-




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49cbc75932681131511792!



Re: [vchkpw] Added FHS compliance to 5.5 branch

2009-03-26 Thread Itamar Reis Peixoto
Why I can't configure vpopmail as non root user ?


checking if we're building on Solaris... no
configure: WARNING: === vpopmail must be configured as root. ===
configure: WARNING: === please switch to the root user and   ===
configure: WARNING: === run ./configure. ===
configure: error: aborted.
error: Bad exit status from /var/tmp/rpm-tmp.wjBSNf (%build)



Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49cc34d332686123613315!



[vchkpw] vpopmail FHS compiler flags

2009-03-26 Thread Itamar Reis Peixoto
https://fedoraproject.org/wiki/Packaging:Guidelines#Compiler_flags

all packages in fedora should be compiled with the flowing flags

+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ ./configure --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=x86_64-redhat-linux-gnu
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64
--libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/var/lib --mandir=/usr/share/man
--infodir=/usr/share/info --disable-root-check


but vpopmail seems to no use these flags


gcc  -o file_lock.o -c file_lock.c
gcc  -o vpalias.o -c vpalias.c
gcc  -o seek.o -c seek.c
gcc  -o vlimits.o -c vlimits.c
gcc  -o maildirquota.o -c maildirquota.c
gcc  -o vutil.o -c vutil.c
gcc  -o vlistlib.o -c vlistlib.c
gcc  -o client.o -c client.c
gcc  -o conf.o -c conf.c
gcc  -o ippp.o -c ippp.c
gcc  -o backfill.o -c backfill.c
gcc  -o vpopmail.o -c vpopmail.c
gcc  -o quota.o -c quota.c
gcc  -o vchkpw.o -c vchkpw.c
gcc  -o hmac_md5.o -c hmac_md5.c
gcc  -o vdelivermail.o -c vdelivermail.c
gcc  -o clearopensmtp.o -c clearopensmtp.c
gcc  -o vadddomain.o -c vadddomain.c
gcc  -o vdeldomain.o -c vdeldomain.c
gcc  -o vpasswd.o -c vpasswd.c
gcc  -o vadduser.o -c vadduser.c


-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49cc635332683733311466!



Re: [vchkpw] Re: vpopmail FHS compliance

2009-03-18 Thread Itamar Reis Peixoto
that's a great , but qmail is no more maintaned (no new features)

will be a good ideia to make vpopmail more compatible with postfix and
maybe others MTA's



 Well, that's a rather simplified statement.  After all, since vpopmail is
 currently tied to qmail, you also have to get qmail into the linux
 distros, and while much easier now that qmail is Public Domain, it's still
 not as simple as that given the current state of qmail and patches.  But
 it is a step in that direction...

 Josh





Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49c133e932681336914356!



Re: [vchkpw] Re: vpopmail FHS compliance

2009-03-17 Thread Itamar Reis Peixoto
Also will be a good idea to have loadable module support for databases

mysql
sqlite
pgsql
cdb

etc...

this will make packaging easy


 I'm currently working on adding FHS compliance to the 5.5 branch.  5.4 is 
 frozen
 to everything except bugfixes.




Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49c022ce32681229813388!



Re: [vchkpw] Re: vpopmail FHS compliance

2009-03-17 Thread Itamar Reis Peixoto
please look at fedora proftpd package

http://koji.fedoraproject.org/koji/buildinfo?buildID=91270

he have some sub-packages, mysql, pgsql etc..


at current state of vpopmail if we need vpopmail with mysql support,
then I need to compile vpopmail and link with mysql librarys

if we need vpopmail with pgsql support then I need to recompile
everthing with pgsql support.

with loadable module support only some parts of the code will be
linked with mysql, pgsql, oracle etc..


On Tue, Mar 17, 2009 at 7:26 PM, Matt Brookings m...@inter7.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Itamar Reis Peixoto wrote:
 Also will be a good idea to have loadable module support for databases

 mysql
 sqlite
 pgsql
 cdb

 etc...

 I'm not sure loadable module support is really all that useful.

 this will make packaging easy

 Please explain.
 - --
 /*
    Matt Brookings m...@inter7.com       GnuPG Key D9414F70
    Software developer                     Systems technician
    Inter7 Internet Technologies, Inc.     (815)776-9465
 */
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAknAI3oACgkQ6QgvSNlBT3BTQQCeO51O+8UMuplJKWpNEpXEOygu
 b8EAnA63JkXggkPtu4guuwaZoZJNqp/y
 =IvTt
 -END PGP SIGNATURE-




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49c02b8f32683208911726!



Re: [vchkpw] Re: vpopmail FHS compliance

2009-03-17 Thread Itamar Reis Peixoto
to make it packagable like proftpd

http://koji.fedoraproject.org/koji/buildinfo?buildID=91270

 fedora compile proftpd only one time and the users have the choice of
ldap, mysql and pgsql database.

if we need proftpd with mysql then I will install proftpd and
proftpd-mysql packages and it will work with mysql.

this will make easy for the people to install without recompile.

proftpd-1.3.2-0.4.rc3.fc11.i586.rpm (info) (download)
proftpd-ldap-1.3.2-0.4.rc3.fc11.i586.rpm (info) (download)
proftpd-mysql-1.3.2-0.4.rc3.fc11.i586.rpm (info) (download)
proftpd-postgresql-1.3.2-0.4.rc3.fc11.i586.rpm (info) (download)





 Please explain why you would need different parts of vpopmail talking
 to different databases.



Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:49c030fa32685217169677!



[vchkpw] vpopmail loadable module support.

2008-12-27 Thread Itamar Reis Peixoto
what you think about changing vpopmail database modules to work as
loadable module support ?

example.

mod_pgsql
mod_mysql
mod_sqlite
mod_cdb
mod_sybase
mod_oracle

this will make easy to create  a vpopmail RPM with support for more
than one database module.



-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:495671bb32671305115558!



Re: [vchkpw] vpopmail loadable module support.

2008-12-27 Thread Itamar Reis Peixoto
Can you send the patch ?



On Sat, Dec 27, 2008 at 10:08 PM, Dvorkin Dmitry dvor...@flightmedia.ru wrote:
 I did it for my own vpopmail installation and made my own patch.
 It's pity that developers are waiting for stars to be in a good position at
 the sky to do it.

 aledr wrote:

 I thought about that and sent a mail to Rick Widmer some weeks ago but
 got no answer, maybe he missed the message. If can forward It if you
 want.
 Well, It could looks like dovecot plugins, It's quiet easy to manage.

 I would like to ask about vpopmail development status. There's no
 activity on sourceforge cvs and a lot of patches waiting revision, one
 of them include a question I did in this post:

 http://sourceforge.net/mailarchive/message.php?msg_name=73e156130809171322y55f9e46bp7082067fee6887cc%40mail.gmail.com

 Here is the patch sent by Jukka Kurkela:

 http://sourceforge.net/tracker2/index.php?func=detailaid=2320700group_id=85937atid=577800

 There seems to have some other piece of code missing. What should we
 expect?

 I sent my openSuSE spec file for vpopmail to Itamar and Robin on
 Oct/07. On which distribution are you building on?

 Regards.

 On Sat, Dec 27, 2008 at 4:19 PM, Itamar Reis Peixoto
 ita...@ispbrasil.com.br wrote:


 what you think about changing vpopmail database modules to work as
 loadable module support ?

 example.

 mod_pgsql
 mod_mysql
 mod_sqlite
 mod_cdb
 mod_sybase
 mod_oracle

 this will make easy to create  a vpopmail RPM with support for more
 than one database module.



 --
 

 Itamar Reis Peixoto

 e-mail/msn: ita...@ispbrasil.com.br
 sip: ita...@ispbrasil.com.br
 skype: itamarjp
 icq: 81053601
 +55 11 4063 5033
 +55 34 3221 8599






 --
 [ ]'s
 Aledr - Alexandre
 OpenSource Solutions for SmallBusiness Problems






 




-- 


Itamar Reis Peixoto

e-mail/msn: ita...@ispbrasil.com.br
sip: ita...@ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599

!DSPAM:4956f85232673116020058!



Re: [vchkpw] qmail high performance

2007-10-08 Thread Itamar Reis Peixoto

are you using tcpserver ?

how you are starting qmail ?




Itamar Reis Peixoto

e-mail/msn: [EMAIL PROTECTED]
skype: itamarjp
icq: 81053601
+55 11 4063 5033
- Original Message - 
From: João Luiz - Terra [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Sunday, October 07, 2007 10:01 AM
Subject: Re: [vchkpw] qmail high performance



Hi Itamar,

I disable the spamassassin and clamav when my server is slow.

Regards,
Joao

- Original Message - 
From: Itamar Reis Peixoto [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Sunday, October 07, 2007 9:29 PM
Subject: Re: [vchkpw] qmail high performance



your load is very high

you're using spamassassin ?




Itamar Reis Peixoto

e-mail/msn: [EMAIL PROTECTED]
skype: itamarjp
icq: 81053601
+55 11 4063 5033
- Original Message - 
From: João Luiz - Terra [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Sunday, October 07, 2007 1:09 AM
Subject: Re: [vchkpw] qmail high performance



Hi Tren,

Sorry. My english is not good :).

My server is dual xeon 2.4 with 2 Gb RAM and HD SCSI 73 Gb.
I have problems with delivery delay when my server is with many 
connections POP3 and SMTP.
I use isoqlog to analyze my email traffic, but I don´t have stats of 
POP3 and connections with my SMTP (RBL, no delivery, ...). Exists any 
software to analyze POP3 and SMTP log?

When my server is slow, I have:
SMTP concurrent: 40 - 50
POP3 concurrent: 20 - 30
Load Average: 30 - 40

I have many SMTP connections with not existing recipient.

My server was very good. Between last monday and last friday it is very 
slow.

How can I identify a possible attack?

Thank you
Joao

- Original Message - 
From: Tren Blackburn [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Saturday, October 06, 2007 8:02 PM
Subject: RE: [vchkpw] qmail high performance


Hi Joao;


From: João Luiz - Terra [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 06, 2007 3:22 PM
To: vchkpw@inter7.com
Subject: [vchkpw] qmail high performance

Hello,

I am working with qmail toaster by http://www.shupp.org/toaster/.
Is it the better performance instalation?

My server is very slowly :(


You'll need to give something specific here.  Bill Shupps Toaster is 
widely popular.  I use it myself and have no issues with performance. 
What are the specifications of the hardware you've implemented it on. 
What specifically is performing slow?  Is there anything else on this 
server?  Approximately how many mailboxes are housed on this server? 
How many deliveries per second/minute/hour/day (whatever is easiest to 
convey) and do you have any idea what your peak concurrent deliveries 
are?  You need to provide as much information as possible before asking 
such a general question.


Regards,

Tren


Esta mensagem foi verificada pelo E-mail Protegido Terra.
Scan engine: McAfee VirusScan / Atualizado em 05/10/2007 / Versão: 
5.1.00/5135

Proteja o seu e-mail Terra: http://mail.terra.com.br/






Esta mensagem foi verificada pelo E-mail Protegido Terra.
Scan engine: McAfee VirusScan / Atualizado em 05/10/2007 / Versão: 
5.1.00/5135

Proteja o seu e-mail Terra: http://mail.terra.com.br/








Re: [vchkpw] qmail high performance

2007-10-06 Thread Itamar Reis Peixoto

your load is very high

you're using spamassassin ?




Itamar Reis Peixoto

e-mail/msn: [EMAIL PROTECTED]
skype: itamarjp
icq: 81053601
+55 11 4063 5033
- Original Message - 
From: João Luiz - Terra [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Sunday, October 07, 2007 1:09 AM
Subject: Re: [vchkpw] qmail high performance



Hi Tren,

Sorry. My english is not good :).

My server is dual xeon 2.4 with 2 Gb RAM and HD SCSI 73 Gb.
I have problems with delivery delay when my server is with many 
connections POP3 and SMTP.
I use isoqlog to analyze my email traffic, but I don´t have stats of POP3 
and connections with my SMTP (RBL, no delivery, ...). Exists any software 
to analyze POP3 and SMTP log?

When my server is slow, I have:
SMTP concurrent: 40 - 50
POP3 concurrent: 20 - 30
Load Average: 30 - 40

I have many SMTP connections with not existing recipient.

My server was very good. Between last monday and last friday it is very 
slow.

How can I identify a possible attack?

Thank you
Joao

- Original Message - 
From: Tren Blackburn [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Saturday, October 06, 2007 8:02 PM
Subject: RE: [vchkpw] qmail high performance


Hi Joao;


From: João Luiz - Terra [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 06, 2007 3:22 PM
To: vchkpw@inter7.com
Subject: [vchkpw] qmail high performance

Hello,

I am working with qmail toaster by http://www.shupp.org/toaster/.
Is it the better performance instalation?

My server is very slowly :(


You'll need to give something specific here.  Bill Shupps Toaster is 
widely popular.  I use it myself and have no issues with performance. 
What are the specifications of the hardware you've implemented it on. 
What specifically is performing slow?  Is there anything else on this 
server?  Approximately how many mailboxes are housed on this server?  How 
many deliveries per second/minute/hour/day (whatever is easiest to convey) 
and do you have any idea what your peak concurrent deliveries are?  You 
need to provide as much information as possible before asking such a 
general question.


Regards,

Tren


Esta mensagem foi verificada pelo E-mail Protegido Terra.
Scan engine: McAfee VirusScan / Atualizado em 05/10/2007 / Versão: 
5.1.00/5135

Proteja o seu e-mail Terra: http://mail.terra.com.br/







Re: [vchkpw] vchangepw?

2007-04-23 Thread Itamar Reis Peixoto

try

mysql encrypt function will help you.


$sql_vpop = $dbv-query(UPDATE `vpopmail` SET `pw_clear_passwd` = 
'$new',`pw_passwd` =encrypt ('$new') WHERE `pw_name` = '$username';);





Itamar Reis Peixoto

e-mail: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
skype: itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033


Stoyan, thanks for the info, however that didn't work either. Maybe if I
give a bit more info, all I'm doing is a simple php page
username
current_password
new_password
confirm_new_password

I then run a check to make sure the username is there in both the vpopmail
and egroupware, then I check the current password, since vpopmail had it
in clear text also, if it checks out I then need to update the db to the
new passwords, this works well only problem is then I get errors that the
authdaemond: supplied password 'somepassword' does not match encrypted
password '$1$UPRJCLMh$ORbRQDIoGJ/g18WgT4/4O.'

I even tried it as crypt()
all i'm doing on the sql side is this
$pw_crypt = crypt($new)
$sql_vpop = $dbv-query(UPDATE `vpopmail` SET `pw_clear_passwd` = '$new',
`pw_passwd` = ('$pw_crypt') WHERE `pw_name` = '$username';);

This updates just fine but the auth then fails with the above error...
Hopefully this will give a little more info on how I can get this to work.

Thanks,

Joe


Stoyan Marinov [EMAIL PROTECTED] wrote:




Try using crypt() in php.


Stoyan

On Fri, 2007-04-20 at 11:25 -0700, Joseph Oaks wrote:


Hello all, I'm trying to write a small app for the people in the office

to

be able to change their passwords without buggin me. I have a simple

little

PHP already done. It will change the password for both the eGroupWare

and

vpopmail, however the vpopmail doesn't seem to like the md5

encryption...


My first thought on this was just modify the db directly, with an

update,

this works however it breaks the auth for mail, the egroupware side

works

fine. So I got to checking and found the vchangepw in the vpopmail/bin

dir.


My question is how can I call this via a script and pass the email

address,

current password, and new password to it via variables?

Joe











Re: [vchkpw] vlog and mysql

2006-11-28 Thread Itamar Reis Peixoto
truncate table 



Itamar Reis Peixoto

e-mail: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
skype: itamarjp 
icq: 81053601

+55 34 3238 3845
+55 11 4063 5033
- Original Message - 
From: Remo Mattei [EMAIL PROTECTED]

To: vchkpw@inter7.com
Sent: Tuesday, November 28, 2006 3:04 AM
Subject: [vchkpw] vlog and mysql



Hello guys, I guess I never paid to much attention on this (vlog and
mysql) but it looks like it's getting big.. what's the best way to drop
them? Any suggestions?

Thanks,
Remo



Re: [vchkpw] Ping - list running?

2006-03-13 Thread Itamar Reis Peixoto

pong


No messages from list today to my inbox.  Pinging.




[vchkpw] smtproute

2004-10-06 Thread Itamar Reis Peixoto
how to use smtproute ?
Itamar Reis Peixoto
Analista Consultor
TreyNet Consultoria - Uberlândia
Tel : + 55 34 3211 2525
Cel:  +55 38 9107 1250
http://www.treynet.com.br


Re: [vchkpw] unable to exec qq

2004-09-28 Thread Itamar Reis Peixoto
i have downloaded the tcpserver with tls and pid patch from inter7 home page


- Original Message -
From: Ken Jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 27, 2004 9:07 PM
Subject: Re: [vchkpw] unable to exec qq


On Monday 27 September 2004 04:22 pm, Itamar Reis Peixoto wrote:
 i am runnig qmail-smtp wiht this script and i am receiving a message

 unable to exec qq

 what´s the problem ?
env - PATH=/var/qmail/bin:/usr/local/bin:$PATH \
 QMAILQUEUE=/var/qmail/bin/simscan  \
 tcpserver -vHRD -l$HOSTNAME -x /home/vpopmail/etc/tcp.smtp.cdb \
 -c100 -w /var/run/smtpd.pid 0 25 rblsmtpd -b -r
 sbl-xbl.spamhaus.org \
 /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true
21

 | \

 /usr/local/bin/setuidgid qmaill \
 /usr/local/bin/multilog t n20 s100 /var/log/smtp 
 echo -n smtp 

tcpserver does not use the -w option unless you applied our pid-patch.

Ken



[vchkpw] unable to exec qq

2004-09-28 Thread Itamar Reis Peixoto
I am installing qmail and receiving a message unable to exec qq

QMAILQUEUE=/var/qmail/bin/simscan  \ -  unable to exec qq

to fix this problem I am removed the lasted space of QMAILQUEUE variable


QMAILQUEUE=/var/qmail/bin/simscan \ -  works fine.



Itamar Reis Peixoto
Analista Consultor
TreyNet Consultoria - Uberlândia
Tel : + 55 34 3231 0598
Cel:  +55 38 9107 1250
http://www.treynet.com.br



[vchkpw] simscan

2004-09-28 Thread Itamar Reis Peixoto
I am testing simscan .

when i send a mail with a .pif attachment  i receive this message.

An unknown error has occurred. Subject 'Enviando email: enderecos', Account:
'mail', Server: '200.XXX.XXX.XXX', Protocol: SMTP, Server Response: '554
mail server permanently rejected message (#5.3.0)', Port: 25, Secure(SSL):
No, Server Error: 554, Error Number: 0x800CCC6F

how to change this message for this new message

 This message has been rejected because it has
a potentially executable attachment  a .pif file
This form of attachment has been used by
recent viruses or other malware.
If you meant to send this file then please
package it up as a zip file and resend it.


Itamar Reis Peixoto
Analista Consultor
TreyNet Consultoria - Uberlândia
Tel : + 55 34 3231 0598
Cel:  +55 38 9107 1250
http://www.treynet.com.br



Re: [vchkpw] unable to exec qq

2004-09-28 Thread Itamar Reis Peixoto
result of ps


[EMAIL PROTECTED] control]# ps -ef | grep tcpserver | grep 25
vpopmail 14586 1  0 11:32 ?00:00:00
tcpserver -vHRD -lserver.mnet.co
m.br -c100 -w /var/run/qmail-smtpd.pid -u 89 -g 89 0 25 rblsmtpd -b -r
sbl-xbl.s
pamhaus.org /var/qmail/bin/qmail-smtpd /home/vpopmail/bin/vchkpw /bin/true
[EMAIL PROTECTED] control]#
[EMAIL PROTECTED] control]#








Re: [vchkpw] mail from patch

2004-09-27 Thread Itamar Reis Peixoto
thank you.




 Hi Antonio,

 At 14:51 27.09.04 -0300, you wrote:
 i have to user on my vpopmail machine
 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 
 i am using an autenticated smtp
 
 
 the [EMAIL PROTECTED] can send mail using my smtp server using
 [EMAIL PROTECTED] as mailfrom

 You mean [EMAIL PROTECTED] uses a faked/forged mail from address.

 My SPAMCONTROL patch includes something like LOCALMFCHECK. Here, you can
 enforce that users from your domain use specific mail from addresses.

 http://www.fehcom.de/qmail.html

 regards.
 --eh.

 Dr. Erwin Hoffmann | FEHCom | http://www.fehcom.de/
 Wiener Weg 8, 50858 Cologne | T: +49 221 484 4923 | F: ...24




[vchkpw] unable to exec qq simscan

2004-09-27 Thread Itamar Reis Peixoto

i an trying to put simscan to work

but when i set the QUEMAILQUEUE to simscan i receive the message

unable to exec qq

i am running qmail-smtp with user vpopmail and group vpopmail.



Itamar Reis Peixoto
Analista Consultor
TreyNet Consultoria - Uberlândia
Tel : + 55 34 3231 0598
Cel:  +55 38 9107 1250
http://www.treynet.com.br



[vchkpw] user to run qmail-smtpd ?

2004-09-27 Thread Itamar Reis Peixoto
what´s the best user/group to run qmail-smtpd ?

qmaild / nofiles ?


Itamar Reis Peixoto
Analista Consultor
TreyNet Consultoria - Uberlândia
Tel : + 55 34 3231 0598
Cel:  +55 38 9107 1250
http://www.treynet.com.br



[vchkpw] SIMSCAN

2004-09-27 Thread Itamar Reis Peixoto
i need a help.



i am running simscan with vpopmail user.

but when i set the QMAILQUEUE to simscan i receive this message. (unable to
exec qq)


An unknown error has occurred. Subject 'x', Account: 'mail', Server:
'200.XXX.XXX.XXX', Protocol: SMTP, Server Response: '451 unable to exec qq
(#4.3.0)', Port: 53, Secure(SSL): No, Server Error: 451, Error Number:
0x800CCC6A


Itamar Reis Peixoto
Analista Consultor
TreyNet Consultoria - Uberlândia
Tel : + 55 34 3231 0598
Cel:  +55 38 9107 1250
http://www.treynet.com.br



[vchkpw] RSA KEY tcpserver

2004-09-27 Thread Itamar Reis Peixoto
how can i generate this key ?


tcpserver: fatal: unable to load RSA private key



Itamar Reis Peixoto
Analista Consultor
TreyNet Consultoria - Uberlândia
Tel : + 55 34 3231 0598
Cel:  +55 38 9107 1250
http://www.treynet.com.br



[vchkpw] simscan

2004-09-24 Thread Itamar Reis Peixoto
when i am set the qmailqueue to simscan

451 unable to exec qq (#4.3.0)




Itamar Reis Peixoto
Analista Consultor
TreyNet Consultoria - Uberlândia
Tel : + 55 34 3231 0598
Cel:  +55 38 9107 1250
http://www.treynet.com.br



[vchkpw] qmail-smtp-auth patch

2004-09-22 Thread Itamar Reis Peixoto
how to install qmail-smtp-auth patch ?

what´s the best  smtp-auth patch?



Itamar Reis Peixoto
Analista Consultor
TreyNet Consultoria - Uberlândia
Tel : + 55 34 3231 0598
Cel:  +55 38 9107 1250
http://www.treynet.com.br



[vchkpw] warning: dropping connection, unable to read /home/vpopmail/etc/tcp.smtp.cdb: access denied

2004-09-08 Thread Itamar Reis Peixoto



Can You help me ?

what´s wrong ?




tcpserver: warning: dropping connection, 
unable to read /home/vpopmail/etc/tcp.smtp.cdb: access denied


Itamar Reis PeixotoAnalista 
ConsultorTreyNet Consultoria - UberlândiaTel : + 55 34 3231 
0598Cel: +55 38 9107 1250http://www.treynet.com.br


Re: [vchkpw] warning: dropping connection, unable to read /home/vpopmail/etc/tcp.smtp.cdb: access denied

2004-09-08 Thread Itamar Reis Peixoto
Title: Message



thank you.

  - Original Message - 
  From: 
  Joseph Schmitt II 
  To: [EMAIL PROTECTED] 
  Sent: Wednesday, September 08, 2004 9:45 
  PM
  Subject: RE: [vchkpw] warning: dropping 
  connection, unable to read /home/vpopmail/etc/tcp.smtp.cdb: access 
denied
  
  
-Original Message-From: Itamar Reis 
Peixoto [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 
08, 2004 4:46 PMTo: [EMAIL PROTECTED]Subject: 
[vchkpw] warning: dropping connection, unable to read 
/home/vpopmail/etc/tcp.smtp.cdb: access denied
tcpserver: warning: dropping connection, unable 
to read /home/vpopmail/etc/tcp.smtp.cdb: access denied


Itamar Reis PeixotoAnalista 
ConsultorTreyNet Consultoria - UberlândiaTel : + 55 34 3231 
0598Cel: +55 38 9107 1250http://www.treynet.com.br


check your permissionsfrom /home/vpopmail down to 
/home/vpopmail/etc/tcp.smtp.cdb... making sure its ownership vpopmail:vchkpw 
and one thing i've noticed is you need permissions 755 down to 
/home/vpopmail/etc/ and 644 on tcp.smtp.cdb.

--joey


[vchkpw] relay in vpopmail 5.4.6

2004-09-06 Thread Itamar Reis Peixoto



I have compiled vpopmail 5.4.6 with mysql 
support.
 
the configure says:

 tcpserver file = 
/home/vpopmail/etc/tcp.smtp open_smtp file = 
/home/vpopmail/etc/open-smtp

the relay table is stored in mysql


how can i use the -x option or other option to open 
relay.


i am using --enable-roaming-users=y 
option.

thank you.


Itamar Reis PeixotoAnalista 
ConsultorTreyNet Consultoria - UberlândiaTel : + 55 34 3231 
0598Cel: +55 38 9107 1250http://www.treynet.com.br


Re: [vchkpw] Hello

2004-08-26 Thread Itamar Reis Peixoto



hi
welcome

  - Original Message - 
  From: 
  Asim Ansari 
  
  To: [EMAIL PROTECTED] 
  Sent: Thursday, August 26, 2004 5:46 
  PM
  Subject: [vchkpw] Hello
  
  I 
  have just join this mailing list and want to say Hi to everybody on 
  board.
  
  
  Asim


Re: [vchkpw] How to Split a domain into 2 machines?

2004-08-23 Thread Itamar Reis Peixoto



Pra que voce quer fazer isto Bruno ?

  - Original Message - 
  From: 
  Bruno 
  Negrão 
  To: [EMAIL PROTECTED] 
  Sent: Monday, August 23, 2004 2:39 
  PM
  Subject: Re: [vchkpw] How to Split a 
  domain into 2 machines?
  
  I can't see how you could actually want this. Are you planning on 
  then putting some sort of imap proxy in front of the box to direct logins 
  to the correct place? What does this do for you that a cluster with shared 
  storage doesn't?
  
  Hi Nick,
  
  What a "cluster with shared storage" means? Where 
  can i learn moreabout this topic?
  bruno


Re: [vchkpw] How to Split a domain into 2 machines?

2004-08-23 Thread Itamar Reis Peixoto
Yes, I understand.


I don´t know how to make it, Try qmail-ldap.

- Original Message -
From: Bruno Negrão [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 23, 2004 3:36 PM
Subject: Re: [vchkpw] How to Split a domain into 2 machines?


 Hi Itamar,

  Pra que voce quer fazer isto Bruno ?
 (he is asking me why would I want to do this)

 To answer it i'll have to explain a little about my network.

 Here where i'm working is the central node of a big network.

 We are the mailserver for some companys that are connected to us through
 leased lines. Some of these links are slow 64K links.

 There is a company connected to us using a 64K link that wants the
 mailserver for their domain installed directly in their LAN, to speed up
 the mail transition and to avoid the internal mail traffic passing through
 this link every time a local employee send a message to other local
 employee.

 The problem about moving their mailserver from here (the central node) to
 their local network is that they have a big filial in another state that
is
 also connected to us. When we move their MX box to their LAN, everybody in
 the filial will have to pass throught their 64KB link to send and receive
 e-mail, thus, consuming their bandwidth again.

 So, to avoid this, i want the filial maildirs to stay configured here in
 the central node of the network. And the maildirs of the biggest office
 will be configured in their own local mailserver.

 Could you understand me?

 Regards,
 bruno.






Re: [vchkpw] How to Split a domain into 2 machines?

2004-08-23 Thread Itamar Reis Peixoto
other solution is creating a subdomain in second machine and  add an alias
on the first machine to forward the message to second machine.



- Original Message -
From: Rick Romero [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 23, 2004 4:08 PM
Subject: Re: [vchkpw] How to Split a domain into 2 machines?



 How about 2 qmail installs?
 After you install qmail once, change conf-qmail to have a qmail2.
 make setup check again, and you have a 2nd qmail install.

 In there, change smtproutes to point your domain to your 2nd server.

 Then for each user that exists on the 2nd server, make a .qmail-default
 with:
 |/var/qmail2/bin/forward [EMAIL PROTECTED]

 (remember to run your qmail-send process from the 2nd install, or
 nothing will go out - Yes yes.. It got me :)

 Rick

 On Mon, 2004-08-23 at 13:36, Bruno Negrão wrote:
  Hi Itamar,
 
   Pra que voce quer fazer isto Bruno ?
  (he is asking me why would I want to do this)
 
  To answer it i'll have to explain a little about my network.
 
  Here where i'm working is the central node of a big network.
 
  We are the mailserver for some companys that are connected to us through
  leased lines. Some of these links are slow 64K links.
 
  There is a company connected to us using a 64K link that wants the
  mailserver for their domain installed directly in their LAN, to speed up
  the mail transition and to avoid the internal mail traffic passing
through
  this link every time a local employee send a message to other local
  employee.
 
  The problem about moving their mailserver from here (the central node)
to
  their local network is that they have a big filial in another state that
is
  also connected to us. When we move their MX box to their LAN, everybody
in
  the filial will have to pass throught their 64KB link to send and
receive
  e-mail, thus, consuming their bandwidth again.
 
  So, to avoid this, i want the filial maildirs to stay configured here in
  the central node of the network. And the maildirs of the biggest office
  will be configured in their own local mailserver.
 
  Could you understand me?
 
  Regards,
  bruno.






[vchkpw] simscan test release

2004-07-29 Thread Itamar Reis Peixoto



It´s a good ideia to put simscan on a web-page or 
an FTP server.

when i have a FREE-TIME I am Write an how to 
INSTALLsimscan in portuguese 
Language.

Itamar Reis PeixotoAnalista 
ConsultorTreyNet Consultoria - UberlândiaTel : + 55 34 3231 
0598Cel: +55 38 9107 1250http://www.treynet.com.br


Re: [vchkpw] What's the better Webmail for Vpopmail?

2004-07-28 Thread Itamar Reis Peixoto
you´re right
all right
- Original Message - 
From: Eduardo M. Bragatto [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 6:53 PM
Subject: Re: [vchkpw] What's the better Webmail for Vpopmail?


Itamar Reis Peixoto wrote:
try
http://www.uebimiau.org
Do not try it. I've being using it for two years and I'm now looking for 
another webmail. Uebimiau is easy to install/configure, do not depend on 
IMAP (it uses POP3) and brings Apache to 99% of CPU load when (even if 
it's just a few) users with large mailboxes log in.
I think it happens because Uebimiau (like every pop3 client) after 
downloading the message, writes it to the disk. As a result, my webserver 
keeps thousands of small files on the disk and it has to scan every single 
file to get informations like subject when the user log in.
If it were a IMAP client it shouldn't happen, because the message wouldn't 
have to be downloaded to give a list of messages to the user (am I right 
here?).

Best regards,
Eduardo M. Bragatto.




Re: [vchkpw] simscan test release: simplified scanner for clamav/spamassassin

2004-07-27 Thread Itamar Reis Peixoto
pelase send for me.
- Original Message - 
From: Ken Jones [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 2:57 PM
Subject: [vchkpw] simscan test release: simplified scanner for 
clamav/spamassassin


Anyone interested in trying simscan before I release it?
It is a simplified replacement for qscanq.
We have been running it on our server for over a week and it is solid.
Like qscanq it can call clamdscan to check for viri.
It is invoked via the QMAILQUEUE patch.
Differences:
- uses configure ; make ; make install-strip
- automatically deletes working directories when done
- uses one program instead of qscanq's two programs per email
- optionally calls spamassassin to reject spam during smtp
- optionally blocks list of attachments
- does not require svscan
- simplified C code (one simscan.c file)
If you are interested, please email me directly and I'll send you a tar 
ball.

--
Ken Jones
inter7.com



Re: [vchkpw] What's the better Webmail for Vpopmail?

2004-07-27 Thread Itamar Reis Peixoto
try
http://www.uebimiau.org
- Original Message - 
From: Edilmar [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 5:59 PM
Subject: [vchkpw] What's the better Webmail for Vpopmail?


Hi,
I have used Netqmail 1.05 + SMTP Auth + Vpopmail 5.4.0 + SQWebmail 4.0.5.
But my users have talked about changing the webmail, mainly because
layout limitations
and other resources like virtual disk, support online for many
languages, instant messages
when new emails are received, etc.
I look at SQuirelmail but it needs IMAP and I'd not like to install a
new service.
I look also at Openwebmail but I didn't find a distribution integrated
with QMail/VPopmail.
Is there one?
Or are there other webmails more advanced than SQWebmail?
Thanks,



Re: [vchkpw] Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo

2004-06-30 Thread Itamar Reis Peixoto
or use uebimiau
http://www.uebimiau.org
- Original Message - 
From: Jeremy Kitchen [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 2:16 PM
Subject: Re: [vchkpw] Qmail, Vpopmail, Sqwebmail, Courier-IMAP and Gentoo


On Wednesday 30 June 2004 09:48 am, Eric Anderson wrote:
Hello,
I am trying to setup an email system and use Sqwebmail as a web-based
frontend. I am doing this on a Gentoo box. I have installed Qmail,
Vpopmail and Courier-IMAP via gentoo's portage system. I have it all
configured and sending/receiving email properly (from what I can tell)
by following the doc at:
http://www.gentoo.org/doc/en/qmail-howto.xml
eww.  don't use that.  Gentoo's qmail and qmail-related ebuilds are 
totally
screwed.

remove all that crap and install via www.lifewithqmail.org
-Jeremy
--
Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, 
Inc.
 [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 847.492.0470 int'l
   kitchen @ #qmail #gentoo on EFnet ++ scriptkitchen.com/qmail