RE: [vchkpw] [SPAM] Segmentation fault in vadduser

2015-09-15 Thread Thibault Richard
This is probably why the 5.4.0 is still not considered as stable (the latest 
stable version is still 5.4.33)

-Original Message-
From: Drew Wells [mailto:drew-vpopm...@elysium.ltd.uk] 
Sent: Tuesday 15 September 2015 11:19
To: vchkpw@inter7.com
Subject: [vchkpw] [SPAM] Segmentation fault in vadduser

In vpopmail-5.5.0 there seems to be a bug in vadduser that causes a 
segmentation fault when a password does not pass the password_strength rules.  
Patch attached.





!DSPAM:55f7e75c41551355020703!



RE: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory

2013-05-16 Thread Thibault Richard
Hello,

 

I've checked on my own install . it's indeed the right permissions

 

drwxrwx---  9 vpopmail vchkpw   4.0K Feb 21  2012 vpopmail

 

With the command ls -lah /home/vpopmail/ you should have

 

drwx-- 150 vpopmail vchkpw 4.0K Apr 10 16:29 domains

 

If you have at least one working domain it should be 

 

ls -lah /home/vpopmail/domains

 

drwx--   7 vpopmail vchkpw 4.0K Jul 29  2012 thibs.com

 

 

Normally the vpopmail user should look like this

 

grep vpopmail /etc/passwd

vpopmail:x:89:89:Vpopmail (virtual domains)
user:/home/vpopmail:/usr/sbin/nologin

 

How do you try to create the domain ? 

 

By command line you should use

 

/home/vpopmail/bin/vadddomain test.com username

 

As it seems you are using my guide, could you please do :

 

chmod +x /downloads/scripts/qmr_inst_check
/downloads/scripts/qmr_inst_check

 

and tell me the result

 

 

Best Regards

 

 

Thibault a.k.a Thibs

 

From: swaroop kumar [mailto:swaroopk...@gmail.com] 
Sent: jeudi 16 mai 2013 14:23
To: vchkpw@inter7.com
Subject: Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to
vpopmail/domains/domain directory

 

Hi,

Permissions seems to be ok.

drwxrwx--- 8 vpopmail vchkpw 4096 May 16 13:56 vpopmail

Regards,
Swaroop.

 

On Thu, May 16, 2013 at 5:50 PM, Todor Petkov z...@online.bg wrote:

On 16/05/2013 03:14 PM, swaroop kumar wrote:

Hi All,

I am switching my mail server from sendmail to qmail, currently
installing qmail in debian and i am following this link

http://qmailrocks.thibs.com/ [1]



I Have a problem in creating domains using vpopmail, below is the
error thrown when i am trying to create a domain.

Unable to chdir to vpopmail/domains/domain directory

Can any one suggest me to overcome this, quick response is highly
appreciated.

Thanks in Advance.

 
Regards,
Swaroop Kundeti
 

Links:
--
[1] http://qmailrocks.thibs.com/



Hi,

check the directory permissions. ~vpopmail and below must be owned by the
vpopmail user.


Regards,









-- 

Sincerely,
--
Swaroop Kundeti.
Project Engineer.
Virtual-Labs.
IIIT - Gachibowli.
Hyderabad.
+91-9866221131.

 



!DSPAM:5194b6f434127088155763!


Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory

2013-05-16 Thread Thibault Richard
My way of doing (I’m the author of http://qmailrocks.thibs.com) is not so bad 


From: Ron Herzing 
Sent: Thursday, May 16, 2013 3:49 PM
To: vchkpw@inter7.com 
Subject: Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain 
directory

I word of caution. Qmailrocks is not a good way to learn how to install Qmail.



On Thu, May 16, 2013 at 7:14 AM, swaroop kumar swaroopk...@gmail.com wrote:


  Hi All,


  I am switching my mail server from sendmail to qmail, currently installing 
qmail in debian and i am following this link http://qmailrocks.thibs.com/


  I Have a problem in creating domains using vpopmail, below is the error 
thrown when i am trying to create a domain.

  Unable to chdir to vpopmail/domains/domain directory


  Can any one suggest me to overcome this, quick response is highly appreciated.


  Thanks in Advance.


  Regards,

  Swaroop Kundeti





-- 
Ron Herzing
ron.herz...@gmail.com

 

!DSPAM:5195017534121629432076!
wlEmoticon-winkingsmile[1].png

Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory

2013-05-16 Thread Thibault Richard
Hello,

OK I understand now. You didn’t specified in your request that you tried from 
the webinterface

The result of the script is normal at this install step (it verify all the 
steps)

Best Regards

Thibault

From: swaroop kumar 
Sent: Thursday, May 16, 2013 3:51 PM
To: vchkpw@inter7.com 
Subject: Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Error: Unable to chdir to 
vpopmail/domains/domain directory

Hello Geeks,


I resolved it by adding www-data to vchkpw group and changed owner and group of 
the apache files to vpopmail:vchkpw earlier it was www-data was owner and 
group. Now i am facing new error could not update file.


@Thibs


I ran this script /downloads/scripts/qmr_inst_check and below is the output. 

! Couldn't find /var/qmail/supervise!
! /var/qmail/supervise/qmail-send/run is missing
...try: cp /downloads/scripts/service-qmail-send-run 
/var/qmail/supervise/qmail-send/run
! /service directory is missing
! Couldn't find /var/qmail/control/defaultdelivery
! DatabaseOwner is incorrect in /etc/clamav/freshclam.conf
! LocalSocketGroup is incorrect in /etc/clamav/clamd.conf
! User is incorrect in /etc/clamav/clamd.conf
! /var/qmail/bin/qmailctl is missing
! /usr/bin/qmailctl is missing
...try: ln -s /var/qmail/bin/qmailctl /usr/bin
! /var/qmail/supervise/qmail-send/run file is missing
! /var/qmail/supervise/qmail-send/log/run file is missing
! /var/qmail/supervise/qmail-smtpd/run file is missing
! /var/qmail/supervise/qmail-smtpd/log/run file is missing
! /var/qmail/control/concurrencyincoming is missing
...try: echo 30 /var/qmail/control/concurrencyincoming
! /var/log/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/log/clamav
! /var/lib/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/lib/clamav
! /var/run/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/run/clamav
! /service/qmail-send is missing
...try: ln -s /var/qmail/service/qmail-send /service/qmail-send
! /service/qmail-smtpd is missing
...try: ln -s /var/qmail/service/qmail-smtpd /service/qmail-smtpd
! /etc/tcp.smtp is missing
...try: echo '127.:allow,RELAYCLIENT=' /etc/tcp.smtp
! /etc/tcp.smtp.cdb is missing
...try: /var/qmail/bin/qmailctl cdb
! Alias for root is missing
...try: echo me /var/qmail/alias/.qmail-root
root@mail:~# /downloads/scripts/qmr_inst_check
! Couldn't find /var/qmail/supervise!
! /var/qmail/supervise/qmail-send/run is missing
...try: cp /downloads/scripts/service-qmail-send-run 
/var/qmail/supervise/qmail-send/run
! /service directory is missing
! Couldn't find /var/qmail/control/defaultdelivery
! DatabaseOwner is incorrect in /etc/clamav/freshclam.conf
! LocalSocketGroup is incorrect in /etc/clamav/clamd.conf
! User is incorrect in /etc/clamav/clamd.conf
! /var/qmail/bin/qmailctl is missing
! /usr/bin/qmailctl is missing
...try: ln -s /var/qmail/bin/qmailctl /usr/bin
! /var/qmail/supervise/qmail-send/run file is missing
! /var/qmail/supervise/qmail-send/log/run file is missing
! /var/qmail/supervise/qmail-smtpd/run file is missing
! /var/qmail/supervise/qmail-smtpd/log/run file is missing
! /var/qmail/control/concurrencyincoming is missing
...try: echo 30 /var/qmail/control/concurrencyincoming
! /var/log/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/log/clamav
! /var/lib/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/lib/clamav
! /var/run/clamav has wrong owner, should be qscand
...try: chown -R qscand:clamav /var/run/clamav
! /service/qmail-send is missing
...try: ln -s /var/qmail/service/qmail-send /service/qmail-send
! /service/qmail-smtpd is missing
...try: ln -s /var/qmail/service/qmail-smtpd /service/qmail-smtpd
! /etc/tcp.smtp is missing
...try: echo '127.:allow,RELAYCLIENT=' /etc/tcp.smtp
! /etc/tcp.smtp.cdb is missing
...try: /var/qmail/bin/qmailctl cdb
! Alias for root is missing
...try: echo me /var/qmail/alias/.qmail-root
! Alias for postmaster is missing
...try: echo me /var/qmail/alias/.qmail-postmaster
! Alias for mailer-daemon is missing
...try: echo me /var/qmail/alias/.qmail-mailer-daemon
! Sendmail is still running
...try: /init.d/sendmail stop



Regards,

Swaroop Kundeti.




On Thu, May 16, 2013 at 7:01 PM, Thibault Richard th...@thibs.com wrote:

  Hello,



  I’ve checked on my own install … it’s indeed the right permissions



  drwxrwx---  9 vpopmail vchkpw   4.0K Feb 21  2012 vpopmail



  With the command “ls -lah /home/vpopmail/” you should have



  drwx-- 150 vpopmail vchkpw 4.0K Apr 10 16:29 domains



  If you have at least one working domain it should be 



  ls -lah /home/vpopmail/domains



  drwx--   7 vpopmail vchkpw 4.0K Jul 29  2012 thibs.com





  Normally the vpopmail user should look like this



  grep vpopmail /etc/passwd

  vpopmail:x:89:89:Vpopmail (virtual domains) 
user:/home/vpopmail:/usr/sbin/nologin



  How do you try to create the domain ? 



  By command line you should use



  /home/vpopmail/bin/vadddomain

Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain directory

2013-05-16 Thread Thibault Richard
You’re right ... and this guide is indeed using old-fashioned software.

As Debian has just released last week-end a new version, I’m currently working 
on a new installation guide with Dovecot

From: Remo Mattei 
Sent: Thursday, May 16, 2013 6:51 PM
To: vchkpw@inter7.com 
Subject: Re: [vchkpw] [SPAM] Error: Unable to chdir to vpopmail/domains/domain 
directory

HI Thibs,  
looks nice but you are still running courier ops!! So maybe it's a new project 
for you to update to dovecot faster and supported better than courier now. 

Just my 2 cents, 

Remo 

On May 16, 2013, at 08:54 , Thibault Richard th...@thibs.com wrote:


  My way of doing (I’m the author of http://qmailrocks.thibs.com) is not so bad 
wlEmoticon-winkingsmile[1].png


  From: Ron Herzing 
  Sent: Thursday, May 16, 2013 3:49 PM
  To: vchkpw@inter7.com 
  Subject: Re: [vchkpw] [SPAM] Error: Unable to chdir to 
vpopmail/domains/domain directory

  I word of caution. Qmailrocks is not a good way to learn how to install Qmail.



  On Thu, May 16, 2013 at 7:14 AM, swaroop kumar swaroopk...@gmail.com wrote:


Hi All,


I am switching my mail server from sendmail to qmail, currently installing 
qmail in debian and i am following this link http://qmailrocks.thibs.com/


I Have a problem in creating domains using vpopmail, below is the error 
thrown when i am trying to create a domain.

Unable to chdir to vpopmail/domains/domain directory


Can any one suggest me to overcome this, quick response is highly 
appreciated.


Thanks in Advance.


Regards,

Swaroop Kundeti





  -- 
  Ron Herzing
  ron.herz...@gmail.com


 

!DSPAM:5195118b34126731113110!


RE: [vchkpw] Qmailadmin -- on a Remote Machine

2013-02-19 Thread Thibault Richard
Hello,

I think the only way is to make a NFS mount (but it's a really bad idea to 
implement it in production)

Best Regards

Thibault
-Original Message-
From: Todor Petkov [mailto:z...@online.bg] 
Sent: mardi 19 février 2013 09:17
To: vchkpw@inter7.com
Subject: Re: [vchkpw] Qmailadmin -- on a Remote Machine

On 18/02/2013 11:37 PM, Remo Mattei wrote:
 Hello everyone,
 I have a qmail server running and for some reasons qmailadmin does not 
 install, I have rebuild a new qmail server and the qmailadmin works 
 fine same version of OS pretty much same configuration but does not 
 want to listen about having qmailadmin running. So is there a way to 
 use the new qmail server and run the qmailadmin from there to access 
 the production qmail server?

 Thanks,
 Remo
 


I don't think it's possible. qmailadmin reads the local qmail files to find the 
virtual domains. Not to mention, that you need to access the filesystem to 
create/delete users directories.


Regards,





!DSPAM:51231c1734145071215115!



RE: [vchkpw] vchkpw auth remote database

2012-10-25 Thread Thibault Richard
And if you cannot dump the traffic, on the server with MySQL server, you can 
indeed activate MySQL logging

In my.cnf file (on Debian /etc/mysql/my.cnf), add the following lines

general_log_file= /var/log/mysql/mysql.log
general_log = 1
(in Debian just un-comment it)

Then re-try and take a look into the log file /var/log/mysql/mysql.log


-Original Message-
From: Todor Petkov [mailto:z...@online.bg] 
Sent: jeudi 25 octobre 2012 09:22
To: vchkpw@inter7.com
Subject: Re: [vchkpw] vchkpw auth remote database

On 10/25/2012 10:17 AM, kengheng wrote:
 Hi, I've grant the privilege to user@vpopmailhost, however the 
 vpopmail behaviour as below:

 vuserinfo can query the user result

 however,when run vchkpw for smtp-auth, it return the err msg as below:
 vchkpw-submission: vpopmail user not found 
 t...@abc.com:email_client_ip

 On 10/23/12 11:07 PM, Thibault Richard wrote:
 vuserinfo only make a SELECT, that why I asked for other rights


Can you dump the traffic between the mail server and mysql? I guess it will be 
easier than to start mysql with logging and see queries from other clients.


Otherwise the problem is quite strange..





!DSPAM:5088edd434171808015294!



RE: [vchkpw] vchkpw auth remote database

2012-10-23 Thread Thibault Richard
Hello

Are your MySQL right well set on the MySQL server ?

I usually set those rights

GRANT select,insert,update,delete,create,drop ON vpopmail.* TO 
vpopmailuser@SRV1 IDENTIFIED BY 'VPOPMAIL_PASSWORD';

(modifications right to create new accounts + logging)

Best Regards

Thibault


-Original Message-
From: Todor Petkov [mailto:z...@online.bg] 
Sent: mardi 23 octobre 2012 11:17
To: vchkpw@inter7.com
Subject: Re: [vchkpw] vchkpw auth remote database

On 10/23/2012 05:44 AM, kengheng wrote:
 Yape, it got mysql client installed. As I could actually using it to 
 connect to remote mysql db.

Can you please show the content of the service run file?






!DSPAM:5086634734177422079863!



RE: [vchkpw] vchkpw auth remote database

2012-10-23 Thread Thibault Richard
vuserinfo only make a SELECT, that why I asked for other rights

-Original Message-
From: Tom Collins [mailto:t...@tomlogic.com] 
Sent: mardi 23 octobre 2012 16:50
To: vchkpw@inter7.com
Subject: Re: [vchkpw] vchkpw auth remote database

He's said that vuserinfo works, so the database linkage is OK. Something
else is preventing vchkpw from working. 

-Tom
(Sent from my phone; forgive my brevity)

On Oct 23, 2012, at 2:28 AM, Thibault Richard th...@thibs.com wrote:

 Hello
 
 Are your MySQL right well set on the MySQL server ?
 
 I usually set those rights
 
 GRANT select,insert,update,delete,create,drop ON vpopmail.* TO 
 vpopmailuser@SRV1 IDENTIFIED BY 'VPOPMAIL_PASSWORD';
 
 (modifications right to create new accounts + logging)
 
 Best Regards
 
 Thibault
 
 
 -Original Message-
 From: Todor Petkov [mailto:z...@online.bg]
 Sent: mardi 23 octobre 2012 11:17
 To: vchkpw@inter7.com
 Subject: Re: [vchkpw] vchkpw auth remote database
 
 On 10/23/2012 05:44 AM, kengheng wrote:
 Yape, it got mysql client installed. As I could actually using it to 
 connect to remote mysql db.
 
 Can you please show the content of the service run file?
 
 
 
 
 
 
 
 





!DSPAM:5086b2c434177653271624!



Re: [vchkpw] 5.4.33 marked stable

2012-10-23 Thread Thibault Richard

Hello Matt,

On http://sourceforge.net/projects/vpopmail/files/vpopmail-stable/, the last 
modification date for 5.4.33 is 2011-02-28


Does it means that all the changes you are talking about have been made 
before this date and that the only thing you've changed today is the status 
(from unstable to stable) ?


Best Regards

Thibault

-Message d'origine- 
From: Matt Brookings

Sent: Tuesday, October 23, 2012 11:33 PM
To: vchkpw@inter7.com
Subject: [vchkpw] 5.4.33 marked stable

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have marked 5.4.33 stable, and also have created a new development version 
5.4.34 with some new

patches I'll adding or evaluating.

Full 5.4.33 ChangeLog:

5.4.33 - Released 10-21-2012
 Matt Brookings
 - Defaulted to Server::Disable=True in vusagec.conf
 - Fixed bug that didn't install vusagec.conf
 - Changed relevant quota code to use storage_t 64bit type
 - Fixed bug where backfill code wouldn't compile when FILE_LOCKING was
   enabled
 - Updated MySQL module to support larger quota sizes
 - Fixed typo
 - Added disable_maildrop flag to MySQL limits feature
 - More changes to allow for larger quota sizes in MySQL module
 - Updated to signal_process to understand runsv as a supervise-type 
process manager


 Tullio Andreatta
 - Dynamic allocation of valias data
 - Use of open/fchdir rather than getcwd/chdir to maintain current working
   directory
 - Fixed a broken symbolic link check

 Drew Wells
 - Modification to vdelivermail to properly handle Maildir paths that begin 
with ./


 ke...@kens.fm
 - Removed call to maildir_addquota inside user_over_maildirquota causing 
duplicate

   maildirsize entries


Thanks!
- -- 
/*

   Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
   Software developer Systems technician
   Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQhw0qAAoJEGgfLslfMlitU04H/Re44g/zt1Kd+E02TinmKhmY
3MpDkITjTTXb/nt/86o1xi+bSVuq9T7tWzPtwyikwS+GUG/fjUzM7hz/kUZokZ8z
6Zkz+X0FT3j2u+0ZXfbVX+O7a422t+kqwiRWKe7c6wSZrWgkw/Q5Z1b8t73C/xXc
B/PTNe1EmwcSt3is3JVjgB4346Zm8eR2hCc6rM6SICazQHbI81ZpCMoJ7K/GVsEX
v2eMVV3ngvZ+w3DdGcPUQtlXe07AJDuexCizm1p5JMkORNIPSdHVYBuiYvJrtiD/
zxuKgiaSaFfXbEZvCFykfNtNem51WEVf+0h9TBKpk+iXe8Crg6LiGq/xOsWu7H4=
=6SC/
-END PGP SIGNATURE- 



!DSPAM:5087158f34171503218591!



Re: [vchkpw] 5.4.33 marked stable

2012-10-23 Thread Thibault Richard

First of all, thanks for your great work !

FYI, I'm also using 5.4.33 in production since more than a year without any 
problem


I'm also giving the advice to use it on my page 
http://qmailrocks.thibs.com/vpopmail.php


In this page, I wrongly advised to execute the following no longer needed 
command


cat  ~vpopmail/etc/vusagec.conf  __EOF__
Server:
   Disable = True;
__EOF__

(I'll correct the page soon)

-Message d'origine- 
From: Matt Brookings

Sent: Wednesday, October 24, 2012 12:11 AM
To: vchkpw@inter7.com
Subject: Re: [vchkpw] 5.4.33 marked stable

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/23/2012 05:09 PM, Thibault Richard wrote:

Hello Matt,

On http://sourceforge.net/projects/vpopmail/files/vpopmail-stable/, the 
last modification date for

5.4.33 is 2011-02-28

Does it means that all the changes you are talking about have been made 
before this date and that
the only thing you've changed today is the status (from unstable to 
stable) ?


That is correct.  Because it's maintained a development status for so long, 
and we've used it in
production for so long, I marked it stable.  I immediately made a new 
development version to apply

some new changes I want to make.

Thanks!
- -- 
/*

   Matt Brookings m...@inter7.com   GnuPG Key 5F3258AD
   Software developer Systems technician
   Inter7 Internet Technologies, Inc. (815)776-9465
*/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQEcBAEBAgAGBQJQhxX9AAoJEGgfLslfMlitDCEH+QEjUlYiPq44TljjK8cuo9fe
dfysaiSvTLivz+7EaaCMBDj9ASAnfR7q6IYxQf2SDBYdBqeJVqV87P/dGqnZGWMi
kE/LqduIr81lmEJPiiq1+CyNUbFl2cc2SZ1JZajXvTAUTw3tJnjBEJPQpytuSX6O
rsStQZV3OfybQM8lUejWB6Z6a+WLH7LDwzQeL8zKM+9QZE219J9D2AL5LwnjuAuA
7sG5AzEeOOMeWzUXd/Znbz87kGyh/6wrHMOPh0x8arwbjbHlaEzDS1AC7TqUmg9y
VdyLKps6rjBKZHQxoRyW3QdHU4T1F5bSA849+NeN8yNFK15oM7D+S/sxhPc8vWU=
=HJ+M
-END PGP SIGNATURE- 



!DSPAM:5087209734171565148547!



RE: [vchkpw] vchkpw auth remote database

2012-10-22 Thread Thibault Richard
Hello,

Does your vpopmail svr have at least a MySQL CLIENT installed ?

Best Regards

Thibault

-Original Message-
From: kengheng [mailto:kengh...@mysql.cc] 
Sent: lundi 22 octobre 2012 11:27
To: vchkpw@inter7.com
Subject: [vchkpw] vchkpw auth remote database

Hi All, I've setup a vpopmail at a svr and wish to perform smtp auth to
another mysql svr at other host.

I've changed the /home/vpopmail/etc/vpopmail.mysql as below:
remote_ip|3306|vpopmail|vpoppass|vpopdb

but I keep on receiving this err msg:
vchkpw-submission: vpopmail user not found a...@test.com:127.0.0.1

However if I perform vuserinfo a...@test.com, I can retrieve the result.

Note, the vpopmail svr has no mysql installed.

Thanks.





!DSPAM:5085140e34171857320279!



RE: [vchkpw] [SPAM] block vpopmail brute force

2012-09-06 Thread Thibault Richard
Hello,

It seems good !

For such purpose I use this kind of rules

iptables -P INPUT DROP
...
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
...
iptables -A INPUT -m state --state NEW -p TCP --dport 110 --syn -m limit 
--limit 3/s --limit-burst 3 -j ACCEPT
...
iptables -A INPUT -i lo -s 0.0.0.0/0 -d 0.0.0.0/0 -j ACCEPT
...
iptables -A INPUT -m state --state NEW -j DROP


If more than 3 connection/sec on POP3 port, drop the packet (in fact the real 
rule is drop everything except if less than 3/sec on POP3 port )


-Original Message-
From: John Stile [mailto:j...@stilen.com] 
Sent: jeudi 6 septembre 2012 08:04
To: vchkpw@inter7.com
Subject: [vchkpw] [SPAM] block vpopmail brute force

Has anyone experienced people trying to brute force vpopmail?  

I'm sick of it, so I cron'ed a little script others might enjoy.

http://stilen.com/scripts/perl/vpopmail_fail2drop.pl

Feedback appreciated.








!DSPAM:50484d0434211692219258!



RE: [vchkpw] Re: New server

2012-08-20 Thread Thibault Richard
Hello,


QMT is a descendant of lifewithqmail as well. QMT is an offshoot of
qmailrocks, which is an offshoot of LWQ. So they have strong similarities,
although LWQ and QMR are no longer active projects TTBOMK.

QMR is not totally dead. 3 years ago, I've created the site
http://qmailrocks.thibs.com/ largely inspired by QMR but only with
instructions about Debian

Friendly Regards

Thibault 




!DSPAM:503251fb34212686318272!



Re: [vchkpw] vpopmail migration

2011-06-16 Thread Thibault Richard

  - Original Message - 
  From: Thibault Richard 
  To: vchkpw@inter7.com 
  Sent: Thursday, June 16, 2011 10:15 AM
  Subject: Re: [vchkpw] vpopmail migration


  Hello,

  Take a look to http://qmailrocks.thibs.com/upgrade-from-qmailrocks.php

  Regards

  Thibault
- Original Message - 
From: Ron Herzing 
To: vchkpw@inter7.com 
Sent: Thursday, June 16, 2011 4:57 AM
Subject: [vchkpw] vpopmail migration


Hello All,

 

My names Ron and I'm new to the list. Can anyone point me in the right 
direction for migrating a vpopmail domain to another vpopmail server?

 

Details:

 

I currently have a mail server with a domain of auffenberg.com and the user 
accounts are in vpopmail using vpasswd.cdb to store user accounts.

I have built a new mail server and this one also uses vpopmail except that 
I am using mysql for the user accounts. I have read that to convert the cdb 
file to mysql 

that I should use: vconvert -c -m 

 

I'm having trouble finding  any more information on converting and 
migrating to another server.

My questions: What else do I have to do in order to convert my user 
accounts and get them over to the new server?

How is vconvert able to insert data into 
the database? Does it require further command line instruction to accomplish 
this?

 

Any information on how to go about this would be greatly appreciated.

 

Thanks,

 

~Ron

 

!DSPAM:4df9cac032717968110399!


Re: [vchkpw] Re: [SPAM] slow local queue

2011-05-25 Thread Thibault Richard



Also, rather than struggling with QMR, I highly recommend using
QMail-Toaster (http://qmailtoaster.com). Everything there is all 
pre-bundled for you. QMT just works. Strong community and documentation 
there as well.



But if you are using Debian/Ubuntu and you want a QMR like installation you 
can follow this guide http://qmailrocks.thibs.com/ 




!DSPAM:4ddd60af32713263920380!



Re: [vchkpw] todo queue qmail

2011-05-11 Thread Thibault Richard
Hello,

if you are using qmailctl script, try to simply launch

qmailctl doqueue
or
qmailctl flush
or (in the worst case)
qmailctl restart

Regards

Thibault

  - Original Message - 
  From: David Díaz Díaz 
  To: vchkpw@inter7.com 
  Sent: Wednesday, May 11, 2011 3:50 PM
  Subject: [vchkpw] todo queue qmail


  Hello,

  I'm not sure if you can help me with this issue or this is the place to ask 
this question:

   I have qmail-1.03 installed on fedora 8, I have vpopmail and mysql; I have 
around 4,000 accounts, since yesterday I noted that I have a lot of message on 
todo queue, at this moment I have 
  Messages in local queue: 1
  Messages in remote queue: 10
  Messages in todo queue: 2566

  The cpu is fine, the memory is fine, I'va applied the ext-todo patch, what 
can I do?


  Thanks in advance

  DDD
   

!DSPAM:4dcaa73832711000435216!


Re: [vchkpw] vusaged compile error

2011-01-23 Thread Thibault Richard
Hello,

Try with this command before

cat  ~vpopmail/etc/vusagec.conf  __EOF__
Server:
Disable = True;
__EOF__

Thibault


Le dimanche 23 janvier 2011 à 15:53 +0800, Qmail List a écrit :
 Hi,
  
 Tried to compile vusaged, but during the command ./configure i had
 encounter the error
  
 checking for vauth.h... yes
 checking for vauth_getpw in -lvpopmail... no
 checking for vauth_getall in -lvpopmail... no
 checking for get_domain_entries in -lvpopmail... no
 checking for client_query_quick in -lvpopmail... no
 configure: error: No vauth_getpw in libvpopmail
 
 What did i miss out?
  
 Thanks
 wL
  
 



!DSPAM:4d3bf0da32711138398619!



Re: [vchkpw] submission port 587

2010-09-12 Thread Thibault Richard
Hello,

You can find a small how to on
http://qmailrocks.thibs.com/daemontools.php (second part of the page,
you have to select I've downloaded each software individually from
original locations)

The description is based on John Simpson 'scripts best described on
http://qmail.jms1.net/scripts/service-qmail-smtpd-run.shtml

Read also http://qmail.jms1.net/tls-auth.shtml

Regards

Thibault


Le samedi 11 septembre 2010 à 19:39 -0400, jeffk...@intersessions.com a
écrit :
 This may be the wrong forum for this but I can’t seem to find any
 info.
 
  
 
 Does anyone have information on how to setup a second SMTP process
 within qmail that listens on port 587 and accepts ONLY authenticated
 smtp connections? In this scenario port 25 would accept normal smtp
 (non-relay) and smtp-auth traffic but now could also be filtered to
 block dynamic IP ranges.
 
  
 
 Thanks, 
 
  
 
 Jeff Koch 
 
 
 



!DSPAM:4c8d0d4a32711679815903!



Re: [vchkpw] disable-many-domains - enable-many-domains

2010-07-23 Thread Thibault Richard

Hello,

Is there a MySQL script to convert the table structure between the two 
options ?


I've made myself a tiny script for this.

If you are interrested by this subject, you can find it on 
http://qmailrocks.thibs.com/downloads/scripts/migrate-vpopmail-many-domains


I hope it 'll help someone !

Best Regards

Thibault

- Original Message - 
From: Thibault Richard th...@thibs.com

To: vchkpw@inter7.com
Sent: Tuesday, May 11, 2010 2:53 PM
Subject: :SPAM: LOW * [vchkpw] disable-many-domains - enable-many-domains



Hello,

I'm using vpopmail since a few years with the compilation option 
--disable-many-domains (for historical reason because I followed 
Qmailrocks guide for my first installation).


If I've well understand, one one the difference between those compilation 
option is the MySQL table structure (if the 
option --enable-auth-module=mysql is used).


Could someone confirm that ? If I'm wrong, could someone tell me what are 
the option to use one table per domain or  one table for every domain


Is there a MySQL script to convert the table structure between the two 
options ?


Thank you

Thibault











!DSPAM:4c49448a32714964110584!



Re: [vchkpw] webmail option...

2010-07-07 Thread Thibault Richard
As alternative, you can use the tips described on 
http://qmailrocks.thibs.com/authlib.php

The idea is to use the MySQL database used by vpopmail
  - Original Message - 
  From: Den Arion 
  To: vchkpw@inter7.com 
  Sent: Wednesday, July 07, 2010 8:14 AM
  Subject: [vchkpw] webmail option...



  courier authlib has not more support for vchkpw, what other option do I have 
for webmail? I install sqwebmail but I remembered too late the courier authlib 
doesn't have support for vchkpwd :(


  Thank you and have a good night (for those still awaken );-}

  _
   'La vida es dura. Después de todo, te mata.'
Katharine Houghton Hepburn (1907-2003)

  __m___m__
  ||(O O)||
||(~)||



   

!DSPAM:4c3455be32716233424527!


[vchkpw] An updated version of Qmailrocks for Debian

2010-06-24 Thread Thibault Richard
Hello,

I recently had to build a new server in a method like qmailrocks did a few 
years ago

As I 've spend some time to solve some issues, I've decided to share my 
experience with the other people.

If you are interrested, I've posted an updated  version of QmailRocks guide for 
Debian on http://qmailrocks.thibs.com

It's fully functionnal (I plan to improve it but this version have at least the 
same functionalities as the original)

Thibault


!DSPAM:4c23780632719240218689!


Re: [vchkpw] Courier IMAP or other IMAP serves...

2010-06-22 Thread Thibault Richard
Hello,

Since version 0.59.2, courier-authlib is no longer supporting vchkpw.

If you want to use the last courier-imap version, I advice you to install 
vpopmail with MySQL support and to configure authlib to authenticate through 
MySQL

Change line 27 of the file authdaemonrc with following :
authmodulelist=authmysql


Change file authmysqlrc with following :

 MYSQL_SERVERYOUR-MYSQL-SERVER
 MYSQL_USERNAME  YOUR-MYSQL-USERNAME
 MYSQL_PASSWORD YOUR-MYSQL-PASSWORD
 MYSQL_DATABASE  vpopmail
 MYSQL_SELECT_CLAUSE SELECT CONCAT(pw_name, '@', pw_domain) AS username,
 \
 pw_passwd AS cryptpw,  
 \
 pw_clear_passwd AS clearpw,
 \
 '89' AS uid,   
 \
 '89' AS gid,   
 \
 pw_dir AS home,
 \
 '' AS maildir, 
 \
 '' AS quota,   
 \
 pw_gecos AS fullname,  
 \
 'disablewebmail=0,disablepop3=0,disableimap=0' AS 
options   \
 FROM vpopmail  
 \
 WHERE  
 \
 pw_name = '$(local_part)'  
 \
 AND
 \
 pw_domain = '$(domain)';   
 \

Best Regards

Thibault

  - Original Message - 
  From: Den Arion 
  To: vchkpw@inter7.com 
  Sent: Monday, June 21, 2010 11:14 PM
  Subject: [vchkpw] Courier IMAP or other IMAP serves...




  Hi to everyone...
  I just came back to work with linux server. In the past, many years I worked 
with linux and I installed vpopmail and courier-imap. The last week I 
downloaded/installed qmail/vpopmail/courier-auth/courier imap. I have problems 
login to the IMAP server and searching for information I found that the module 
vchkpw was not in the list or the documentation. I tried to use other IMAP 
servers recommended but I had problems compiling but any way... I questions are:
  Does it work the current version of courier imap (4.8.0)?
  If not, is there some way to patch it?
  What other options are for imap server and vpopmail?


  Regards


  __m___m__
  ||(O O)||
||(~)||



   

!DSPAM:4c20685332712093114662!


Re: [vchkpw] Vpopmail connecting to remote mysql

2010-06-20 Thread Thibault Richard



From a command line try :


mysql -hYOUR-REMOTE-HOST -uYOUR-MYSQL-LOGIN -p and please tell us if your 
are able ton connect


- Original Message - 
From: Bob Hutchinson hutchli...@midwales.com

To: vchkpw@inter7.com
Sent: Friday, June 18, 2010 9:21 AM
Subject: Re: [vchkpw] Vpopmail connecting to remote mysql



On Friday 18 June 2010, ta...@nayatel.com wrote:

I had vpopmail database on the local server. Now i have taken backup
of mysql and restored to a remote database server. I am connecting
vpopmail to remote mysql server. The users are not authenticated. I
have taken following steps.


1 - Database migration and restoration to the remote mysql DB server.
2 - Fixed the permission on remote database to allow access to Vpopmail 
IP.

3 - Fixed firewall settings.
4 - Edited the vpopmail.mysql file to connect to remote DB IP.


Can you connect from the commandline?




The Users till not authenticating. Please help suggest the solution.


This message was sent using IMP, the Internet Messaging Program.







--
-
Bob Hutchinson
Midwales dot com
-








!DSPAM:4c1e17eb32718105716103!



Re: [vchkpw] Qmail migration

2010-06-16 Thread Thibault Richard

Hello,

I'm pretty sure this script is working well but this is what I've recently 
done :



1° Modify MX test domain
2° Stop previous server+ copy DB

previous_server:~# /etc/init.d/apache2 stop
previous_server:~# 
/usr/bin/mysqldump -c -C -e -Q --add-drop-table -uroot -p***password*** 
vpopmail  /backups/vpopmail.sql

previous_server:~# scp /backups/vpopmail.sql r...@new_server
previous_server:~# qmailctl stop

3° Copy config files

previous_server:~# cd /var/qmail/control
previous_server:~# scp morercpthosts rcpthosts virtualdomains 
r...@new_server:/var/qmail/control

previous_server:~# cd /var/qmail/users
previous_server:~# scp assign r...@news_server:/var/qmail/users/

4° Import DB + synchronise mails

new_server:~# qmailctl stop
new_server:~# mysql -Dvpopmail -p***password***  /root/vpopmail.sql
new_server:~# sed s/1007:111/1007:112/g /var/qmail/users/assign  
/var/qmail/users/assign.new
(ADADT the UID/GID to what you've found in /etc/passwd in previous_server 
and new_server)

new_server:~# cat /var/qmail/users/assign.new
new_server:~# mv /var/qmail/users/assign.new /var/qmail/users/assign
new_server:~# /var/qmail/bin/qmail-newu
new_server:~# /var/qmail/bin/qmail-newmrh
new_server:~# rsync -avz --delete 
r...@previous_server:/home/vpopmail/domains/ /home/vpopmail/domains/

new_server:~# #find /home/vpopmail -uid 1007 -exec chown vpopmail {} \;
(ADADT the UID to what you've found in /etc/passwd in previous_server and 
new_server)

new_server:~# #find /home/vpopmail -gid 1008 -exec chgrp vchkpw {} \;
(ADADT the UID to what you've found in /etc/passwd in previous_server and 
new_server)

new_server:~# mysql
use vpopmail;
update dir_control SET domain='dom_1007' WHERE domain='dom_1054'; (ADADT the 
UID to what you've found in /etc/passwd in previous_server and new_server)


new_server:~# qmailctl start

Hope this help !

Thibault

- Original Message - 
From: Ron Miller rmil...@coinserv.net

To: vchkpw@inter7.com
Sent: Wednesday, June 16, 2010 2:20 AM
Subject: RE: [vchkpw] Qmail migration



Here is how:

http://qmail.jms1.net/scripts/migrate-domain.shtml

Be sure NOT to use IE. Use Firefox instead.

I have used this script many times.

-Ron

-Original Message-
From: ta...@nayatel.com [mailto:ta...@nayatel.com]
Sent: Tuesday, June 15, 2010 1:34 PM
To: vchkpw@inter7.com
Subject: [vchkpw] Qmail migration

please suggest

I am migrating Qmail from one Machine to another.Have taken following
steps but no luck.

1- I have taken dump of Mysql and and restored it on new machine.
2- SCP all Domain and email boxes to new machine.
3- Fixed all permissions.

while giving command vdomaininfo or vuserinof it does not find the domain.




This message was sent using IMP, the Internet Messaging Program.












!DSPAM:4c1881f032712969921331!



[vchkpw] Re: disable-many-domains - enable-many-domains

2010-05-19 Thread Thibault Richard
Is there a MySQL script to convert the table structure between the two 
options ?


Not that I'm aware of, but I expect it would be fairly simple. I know of 
someone else who might be interested in this as well.


I'm currently busy with something else but I'll post it as soon as it 'll be 
done.


In the meantime, if someone has done it, he could post it there ;-)

Many thanks for your answers

Thibault 




!DSPAM:4bf3f79632711288013922!



[vchkpw] disable-many-domains - enable-many-domains

2010-05-11 Thread Thibault Richard

Hello,

I'm using vpopmail since a few years with the compilation option 
--disable-many-domains (for historical reason because I followed 
Qmailrocks guide for my first installation).


If I've well understand, one one the difference between those compilation 
option is the MySQL table structure (if the 
option --enable-auth-module=mysql is used).


Could someone confirm that ? If I'm wrong, could someone tell me what are 
the option to use one table per domain or  one table for every domain


Is there a MySQL script to convert the table structure between the two 
options ?


Thank you

Thibault




!DSPAM:4be9534532711273616262!