Re: [vchkpw] [SPAM] valias remove alias

2015-09-15 Thread Alessio Cecchi

Il 15/09/2015 15:10, Drew Wells ha scritto:

On 09/15/2015 11:06 AM, Alessio Cecchi wrote:


Il 15/09/2015 11:22, Drew Wells ha scritto:

In vpopmail-5.5.0 (and I think all 5.4.x)


Hi Drew,

I suggest to install (and debug) vpopmail-5.4.33 that is more stable,
reliable (and recent) than 5.5.0. Whan I try to use 5.5.0 I found many
bug and problems tha new features.

Why you need vpopmail-5.5.0 ?

I have been using vpopmail-5.4.x (currently vpopmail-5.4.33) for years
and have always added this patch, so in an attempt get 5.5.0 towards
stable I thought I'd send this patch.  This patch is also applicable to
the 5.4.x branch.
The reason I want to use 5.5.0 is the shared library support which means
I don't need to recompile netqmail and dovecot (and others) each time I
make changes to vpopmail.
I've not found that many bugs with vpopmail-5.5.0 to be honest.


I remember some problems with vpopmaild (that I'm using for password 
change via webmail), with large quota size, and a missing flag in MySQL 
limits for disable_maildrop.


Vpomail-5.5.0 was started from 5.4.28 so change from 5.4.29 to 5.4.33 
are missing (please correct me if I'm wrong).


If you have others useful patch for vpopmail-5.4 you are welcome :-)

Thanks

--
Alessio Cecchi
https://www.linkedin.com/in/alessice

!DSPAM:55f81c8341552100219033!



Re: [vchkpw] [SPAM] valias remove alias

2015-09-15 Thread Alessio Cecchi


Il 15/09/2015 11:22, Drew Wells ha scritto:

In vpopmail-5.5.0 (and I think all 5.4.x)


Hi Drew,

I suggest to install (and debug) vpopmail-5.4.33 that is more stable, 
reliable (and recent) than 5.5.0. Whan I try to use 5.5.0 I found many 
bug and problems tha new features.


Why you need vpopmail-5.5.0 ?
--
Alessio Cecchi
https://www.linkedin.com/in/alessice

!DSPAM:55f7edb641552122517293!



Re: [vchkpw] Patches for qmail suggestions and upgrade

2014-04-17 Thread Alessio Cecchi

Il 17/04/2014 21:48, Remo Mattei ha scritto:

Hi Jeremy I tried your patch against 1.06 here is the output maybe you can help 
out.


The Jeremy's patch should be apply starting from qmail-1.03. Please, 
read "TO INSTALL" note.


Ciao

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz
Cloud Email Hosting -> http://www.qboxmail.com
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:5350c55034261932847466!



Re: [vchkpw] [SPAM] Re: [vchkpw] Patches for qmail suggestions and upgrade

2014-04-17 Thread Alessio Cecchi

Il 17/04/2014 20:39, Jeremy Kister ha scritto:

On 4/17/2014 2:33 PM, Remo Mattei wrote:

Hello all
I have a qmail which is running now I want to up it to netqmail 1.06
so I plan to recomp it and I have vpopmail working so on the new one I
want to add chkuser and tls but also few others like the channel since
gmail and others have been really a pain does anyone suggest a set of
patches or one that does it all in one?


i still like and use my qmail-1.03.isp.patch

it's named "isp" because i was working for an isp at the them and had
nothing better to name it.  it's used in lots of places that have
nothing to do with an isp.


http://jeremy.kister.net/code/qmail-1.03.isp.patch



Hi,

I'm also running the qmail-1.03.isp.patch from Jeremy and I can confirm 
that works really fine for "ISP".


I have made some small add to Jeremy's patch:

http://notes.sagredo.eu/sites/notes.sagredo.eu/files/qmail/patches/qmail-1.03-reread-concurrency.2.patch

and

http://notes.sagredo.eu/sites/notes.sagredo.eu/files/qmail/patches/qmail-queue-custom-error-v2.netqmail-1.05.patch

I'm also using http://jeremy.kister.net/code/ucspi-tcp-0.88.isp.patch.

Thanks Jeremy for your code!

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz
Cloud Email Hosting -> http://www.qboxmail.com
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:5350c49234262695215939!



Re: [vchkpw] [SPAM] Using Dovecot's LDA / spamc and maildrop support

2013-10-09 Thread Alessio Cecchi

Il 02/10/2013 03:30, Charles Sprickman ha scritto:

Simple question I hope…

What's the recommendation on the vpopmail side on integrating Dovecot's LDA for 
final delivery?

I've seen various suggestions, including just calling it from the user's .qmail 
file.  In that particular case, it's not at all clear to me how other tools 
that would touch that file (like qmailadmin) would be taught to not alter the 
call to dovecot_lda.  I imagine it would get munged everytime a user went to 
setup a vacation message or forward.

Also I'm in the midst of upgrading from 5.4.10 to 5.4.33.  I see that there's 
new support to have vdelivermail handle the call to spamc for tagging, and also 
support to have maildrop handle the filtering.  A few questions regarding this 
setup if vpopmail is configured to use spamc and maildrop:

* Is maildrop always doing the final delivery?
* What's the message flow when a .qmail file is encountered that has a forward?
* What's the message flow when a .qmail file is encountered that's piping to 
maildrop (we have a ton of these on the old system, I assume I'd have to find 
and nuke all of them)?
* Does this limit qmailadmin's abilities at all?
* If using valias, do we filter a message before forwarding offsite?

Hoping the list is still alive, didn't even realize I'm still subscribed here!

Thanks,

Charles




Hi,

I think that a possibile solutions could be a configuration where 
vpopmail is configured to call maildrop and maildrop "sent" the messagge 
to an LMTP server (Postfix) that use dovecot LDA to delivery the email 
in the Maildir. LMTP is fast and can also be used with Dovecot Director, 
Director is needed when you have a shared storage and more than one 
POP/IMAP server.


From the qmail/vpopmail point of view this configuration will be 
transparent.


From the maildrop point of view is necessary find the rigth "script" 
(email -> pipe to LMTP)  and insert in /etc/maildroprc.


Could be an idea?

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:5255173734261611143367!



Re: [vchkpw] vpopmail with centos 6 mysql-5.5.30

2013-03-20 Thread Alessio Cecchi

Il 20/03/2013 09:30, Nicholas C. ha scritto:

Dear all,

I am trying to install a toaster and got into an issue with vpopmail  after
issuing make command

gcc -o vchkpw vchkpw.o md5.o hmac_md5.o libvpopmail.a -Xlinker -R
-Xlinker /var/lib/mysql -L/var/lib/mysql  -lmysqlclient -lz -lm -lcrypt
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[2]: *** [vchkpw] Error 1

I am trying to install vpopmail 5.4.33 to mysql-5.5.30 on a CentOS 6 64bits
system


Have you install mysql-devel rpm?

Is your configure similar to

./configure --enable-mysql-limits --enable-auth-module=mysql 
--enable-libdir=/usr/lib64/mysql/


?
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:51496ccc34146624698447!



[vchkpw] Vpopmail DB from MyISAM to InnoDB, is safe?

2013-02-05 Thread Alessio Cecchi

Hi,

I'm running vpopmail 5.4.33 with mysql replica. I would like switch from 
mysql 5.1 and myisam to mysql 5.5 and innodb for tables.


Is safe? Are there contraindications?

Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:5110b20d34148933588849!



Re: [vchkpw] 5.4.33 marked stable

2012-10-25 Thread Alessio Cecchi

Il 24/10/2012 20:39, Matt Brookings ha scritto:


On 10/24/2012 09:10 AM, Alessio Cecchi wrote:

Il 23/10/2012 23:33, Matt Brookings ha scritto:

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.

Thanks Matt,

For 5.4.34 I would like to have vdelivermail works directly with dovecot-lda.

If necessary I can provide information about setup dovecot 2.1 and lda.

Sure.  Pass along any information you have.  I have a few other patches related 
to Dovecot I want to
add into 5.4.34.



Okay,

I see two possibilities for pass the email to dovecot-lda via 
vdelivermail, one is without (dovecot) lookup, you can set HOME, before 
run dovecot-lda, to vpopmail's users home:


| HOME=/home/vpopmail/domains/mydomain.com/user/ 
/usr/libexec/dovecot/deliver


here is an example from Rick Romero: 
http://www.mail-archive.com/vchkpw@inter7.com/msg28209.html


this is very simple but have some limits beacuse dovecot don't knows for 
who is the email but only where to store.


Another way is to pass to dovecot-lda destination username like this:

| /usr/libexec/dovecot/deliver -d $EXT@$HOST

so dovecot can lookup, via vpopmail native driver, where is the home for 
$EXT@$HOST. Also with "-d" dovecot can update for example, dict quota, 
expire plugin and so on.


Now I'm testing this solution with a trick, build vpopmail with maildrop 
support, create an /etc/maildroprc like this:


import EXT
import HOST
`test -r /usr/local/dovecot-2.1/libexec/dovecot/deliver`
if ( $RETURNCODE == 0)
{
log "=== delivery via D-LDA for $EXT@$HOST ==="
to "| /usr/local/dovecot-2.1/libexec/dovecot/deliver -d $EXT@$HOST"
}

so vdelivermail call maildrop which pass the email to dovecot-lda, after 
a month of testing on a thousand users I can say that it works.


I have find only one issue, when new email arrives and is for a "domain 
alias" user, dovecot create a new entry for dict quota related to a new 
users instead of update the entry for the real user, but this is a minor 
problem, delivery and maildirsize update are ok.


--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


!DSPAM:508961cc34174881684024!



Re: [vchkpw] 5.4.33 marked stable

2012-10-24 Thread Alessio Cecchi

Il 23/10/2012 23:33, Matt Brookings ha scritto:

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.


Thanks Matt,

For 5.4.34 I would like to have vdelivermail works directly with 
dovecot-lda.


If necessary I can provide information about setup dovecot 2.1 and lda.

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


!DSPAM:5087f6c034171001957738!



Re: [vchkpw] Re: [SPAM] How to fix wrong values in dom_89 row

2012-10-16 Thread Alessio Cecchi

Il 16/10/2012 23:37, Eric Shubert ha scritto:

On 10/16/2012 08:36 AM, Alessio Cecchi wrote:

Hi,

after some "bad" migration my vpopmail "dir_control" table have some
problems and need to be fixed but I don't know how.

I'm hosting, on this installation, 1000 domains so the cur_users value
should be 1000, right?

mysql> select * from dir_control where domain='dom_89';
++---+---+---+--+--+--+++++++--+--+--+-+ 



| domain | cur_users | level_cur | level_max | level_start0 |
level_start1 | level_start2 | level_end0 | level_end1 | level_end2 |
level_mod0 | level_mod1 | level_mod2 | level_index0 | level_index1 |
level_index2 | the_dir |
++---+---+---+--+--+--+++++++--+--+--+-+ 



| dom_89 |   189 | 1 | 0 |0 | 0
|0 |  0 |  0 |  0 | 0
|  0 |  0 |0 |0 |0 |
0/  |
++---+---+---+--+--+--+++++++--+--+--+-+ 



1 row in set (0.00 sec)


view as CSV:
"dom_89";"189";"1";"0";"0";"0";"0";"0";"0";"0";"0";"0";"0";"0";"0";"0";"0/" 



Moreover, why the_dir is set to 0/?

Can some vpopmail's tool rebuild this data? Or where I can found
information about each fields and correct lines by hand?

Thanks



What are the config options you used to build vpopmail?



Hi Eric,

I'm using vpopmail  5.4.33 build with:

./configure --enable-valias=y --enable-mysql-limits 
--enable-auth-module=mysql --enable-logging=p --enable-maildrop 
--enable-mysql-replication --enable-onchange-script


Thanks

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


!DSPAM:507e534d34171024249207!



[vchkpw] [SPAM] How to fix wrong values in dom_89 row

2012-10-16 Thread Alessio Cecchi

Hi,

after some "bad" migration my vpopmail "dir_control" table have some 
problems and need to be fixed but I don't know how.


I'm hosting, on this installation, 1000 domains so the cur_users value 
should be 1000, right?


mysql> select * from dir_control where domain='dom_89';
++---+---+---+--+--+--+++++++--+--+--+-+
| domain | cur_users | level_cur | level_max | level_start0 | 
level_start1 | level_start2 | level_end0 | level_end1 | level_end2 | 
level_mod0 | level_mod1 | level_mod2 | level_index0 | level_index1 | 
level_index2 | the_dir |

++---+---+---+--+--+--+++++++--+--+--+-+
| dom_89 |   189 | 1 | 0 |0 |
0 |0 |  0 |  0 |  0 |  0 
|  0 |  0 |0 |0 |0 | 
0/  |

++---+---+---+--+--+--+++++++--+--+--+-+
1 row in set (0.00 sec)


view as CSV: 
"dom_89";"189";"1";"0";"0";"0";"0";"0";"0";"0";"0";"0";"0";"0";"0";"0";"0/"


Moreover, why the_dir is set to 0/?

Can some vpopmail's tool rebuild this data? Or where I can found 
information about each fields and correct lines by hand?


Thanks

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


!DSPAM:507d7eee34176475017711!



Re: [vchkpw] Dovecot-lda for vpopmail

2012-09-24 Thread Alessio Cecchi

Il 24/09/2012 18:53, Rick Romero ha scritto:


Quoting Alessio Cecchi :


Il 24/09/2012 17:45, Rick Romero ha scritto:


Quoting Alessio Cecchi :


Il 24/09/2012 16:57, Rick Romero ha scritto:


Quoting Alessio Cecchi :


Il 24/09/2012 15:34, Rick Romero ha scritto:

Heres a patch for 5.4.17 - I've been running this for a while now.

Basically, run the deliver command after the tempfile is created 
(to verify delivery and quota) then unlink the tempfile and 
return.  I tried to make it all fancy with build options, then 
figured I was the only one who would do it this wacky way.  :)


This version passes the home directory to deliver, so you don't 
need to run the dovecot lookup service.
I also had to specify the timezone to get the correct timestamp 
for some reason.


Rick



Thanks Rick!

your patch is very helpful for me, also passes the HOME to 
deliver is a good idea.


Another useful options, for delivery, will be to add the 
"extension" via "-m mailbox" so dovecot will deliver the email 
directly in this folder (if vpopmail is build with 
enable-qmail-ext).


An email to alessio-vpopml@ will be delivery to the "vpopml" folder.

In the enviroment, what is the variable for the "extension" 
(vpopml)?


There is none at the point deliver is called - by the time it gets 
called, all the qmail-ext work has been done so the HOME directory 
is the correct user's Maildir directory.  'deliver' just needs to 
drop the email into that location and update the indexes.  That's 
what I was shooting for.  Besides using qmail-ext, I still have 
old vacation and forwards that I didn't want to worry about. 
vdelivermail still handles all of that.  I just wanted deliver to 
update indexes on delivery.


I hadn't thought about it - but the version of Dovecot on my 
front-end servers that do delivery is still in the 1.2 series.  So 
there may be some slight differences if you're running 2.0 deliver.


Rick


I'm using dovecot 2.1 with native auth-vpopmail. With 1.2 native 
auth-vpopmail have some limits.


My idea is to run dovecot-lda like:

/usr/lib/dovecot/deliver -d $EXT@$HOST -m $Extension

where if original recipient is alessio-li...@cecchi.it Extension is 
"lists", but in vpopmail environment how is called "Extension" (if 
is present)?


I don't think that's right - according to the Dovecot Wiki -m is 
Mailbox.  Like INBOX or Trash, etc..

http://wiki2.dovecot.org/LDA


Yes but, with Postfix for example, you can set:

/usr/lib/dovecot/deliver -d ${user}@${domain} -m ${extension}

so if you receive an email to rick-vch...@domain.com (or 
rick+vch...@domain.com according to your recipient_delimiter) dovecot 
will delivery the email in the Mailbox "vchkpw" and this is very useful.


I would like to reproduce this behavior with qmail.


Ahh I see what you mean.  In qmail the "-ext" doesn't have a specific 
destination, it's just a unique address.  If you are going to assume 
that "-blah" will be a specific mailbox, you could use the EXT2 variable.
Here's a list of variables: 
http://ipucu.enderunix.org/view.php?id=1929&lang=en


Rick


:-)

Thank you!

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


!DSPAM:5060914834211168415842!



Re: [vchkpw] Dovecot-lda for vpopmail

2012-09-24 Thread Alessio Cecchi

Il 24/09/2012 17:45, Rick Romero ha scritto:


Quoting Alessio Cecchi :


Il 24/09/2012 16:57, Rick Romero ha scritto:


Quoting Alessio Cecchi :


Il 24/09/2012 15:34, Rick Romero ha scritto:

Heres a patch for 5.4.17 - I've been running this for a while now.

Basically, run the deliver command after the tempfile is created 
(to verify delivery and quota) then unlink the tempfile and 
return.  I tried to make it all fancy with build options, then 
figured I was the only one who would do it this wacky way.  :)


This version passes the home directory to deliver, so you don't 
need to run the dovecot lookup service.
I also had to specify the timezone to get the correct timestamp 
for some reason.


Rick



Thanks Rick!

your patch is very helpful for me, also passes the HOME to deliver 
is a good idea.


Another useful options, for delivery, will be to add the 
"extension" via "-m mailbox" so dovecot will deliver the email 
directly in this folder (if vpopmail is build with enable-qmail-ext).


An email to alessio-vpopml@ will be delivery to the "vpopml" folder.

In the enviroment, what is the variable for the "extension" (vpopml)?


There is none at the point deliver is called - by the time it gets 
called, all the qmail-ext work has been done so the HOME directory 
is the correct user's Maildir directory.  'deliver' just needs to 
drop the email into that location and update the indexes.  That's 
what I was shooting for.  Besides using qmail-ext, I still have old 
vacation and forwards that I didn't want to worry about. 
vdelivermail still handles all of that.  I just wanted deliver to 
update indexes on delivery.


I hadn't thought about it - but the version of Dovecot on my 
front-end servers that do delivery is still in the 1.2 series.  So 
there may be some slight differences if you're running 2.0 deliver.


Rick


I'm using dovecot 2.1 with native auth-vpopmail. With 1.2 native 
auth-vpopmail have some limits.


My idea is to run dovecot-lda like:

/usr/lib/dovecot/deliver -d $EXT@$HOST -m $Extension

where if original recipient is alessio-li...@cecchi.it Extension is 
"lists", but in vpopmail environment how is called "Extension" (if is 
present)?


I don't think that's right - according to the Dovecot Wiki -m is 
Mailbox.  Like INBOX or Trash, etc..

http://wiki2.dovecot.org/LDA


Yes but, with Postfix for example, you can set:

/usr/lib/dovecot/deliver -d ${user}@${domain} -m ${extension}

so if you receive an email to rick-vch...@domain.com (or 
rick+vch...@domain.com according to your recipient_delimiter) dovecot 
will delivery the email in the Mailbox "vchkpw" and this is very useful.


I would like to reproduce this behavior with qmail.

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


!DSPAM:50608ed634211858513917!



Re: [vchkpw] Dovecot-lda for vpopmail

2012-09-24 Thread Alessio Cecchi

Il 24/09/2012 16:57, Rick Romero ha scritto:


Quoting Alessio Cecchi :


Il 24/09/2012 15:34, Rick Romero ha scritto:

Heres a patch for 5.4.17 - I've been running this for a while now.

Basically, run the deliver command after the tempfile is created (to 
verify delivery and quota) then unlink the tempfile and return.  I 
tried to make it all fancy with build options, then figured I was 
the only one who would do it this wacky way.  :)


This version passes the home directory to deliver, so you don't need 
to run the dovecot lookup service.
I also had to specify the timezone to get the correct timestamp for 
some reason.


Rick



Thanks Rick!

your patch is very helpful for me, also passes the HOME to deliver is 
a good idea.


Another useful options, for delivery, will be to add the "extension" 
via "-m mailbox" so dovecot will deliver the email directly in this 
folder (if vpopmail is build with enable-qmail-ext).


An email to alessio-vpopml@ will be delivery to the "vpopml" folder.

In the enviroment, what is the variable for the "extension" (vpopml)?


There is none at the point deliver is called - by the time it gets 
called, all the qmail-ext work has been done so the HOME directory is 
the correct user's Maildir directory.  'deliver' just needs to drop 
the email into that location and update the indexes.  That's what I 
was shooting for.  Besides using qmail-ext, I still have old vacation 
and forwards that I didn't want to worry about. vdelivermail still 
handles all of that.  I just wanted deliver to update indexes on 
delivery.


I hadn't thought about it - but the version of Dovecot on my front-end 
servers that do delivery is still in the 1.2 series.  So there may be 
some slight differences if you're running 2.0 deliver.


Rick


I'm using dovecot 2.1 with native auth-vpopmail. With 1.2 native 
auth-vpopmail have some limits.


My idea is to run dovecot-lda like:

/usr/lib/dovecot/deliver -d $EXT@$HOST -m $Extension

where if original recipient is alessio-li...@cecchi.it Extension is 
"lists", but in vpopmail environment how is called "Extension" (if is 
present)?


Thanks

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


!DSPAM:50607a9b34217963441700!



Re: [vchkpw] [SPAM] Re: [vchkpw] [SPAM] Dovecot-lda for vpopmail

2012-09-24 Thread Alessio Cecchi

Il 24/09/2012 15:34, Rick Romero ha scritto:

Heres a patch for 5.4.17 - I've been running this for a while now.

Basically, run the deliver command after the tempfile is created (to 
verify delivery and quota) then unlink the tempfile and return.  I 
tried to make it all fancy with build options, then figured I was the 
only one who would do it this wacky way.  :)


This version passes the home directory to deliver, so you don't need 
to run the dovecot lookup service.
I also had to specify the timezone to get the correct timestamp for 
some reason.


Rick



Thanks Rick!

your patch is very helpful for me, also passes the HOME to deliver is a 
good idea.


Another useful options, for delivery, will be to add the "extension" via 
"-m mailbox" so dovecot will deliver the email directly in this folder 
(if vpopmail is build with enable-qmail-ext).


An email to alessio-vpopml@ will be delivery to the "vpopml" folder.

In the enviroment, what is the variable for the "extension" (vpopml)?

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


!DSPAM:506072cf3421204413!



[vchkpw] [SPAM] Dovecot-lda for vpopmail

2012-09-24 Thread Alessio Cecchi

As many users of vpopmail we switched to dovecot for POP and IMAP.

I would like to switch also from maildrop to dovecot-lda. Many 
configuration are possibile but the best way is to patch vdelivermail to 
use dovecot-lda directly.


Has anyone solved the problem?

If someone wants to write a patch for me, I am willing to make a bid.
Thanks

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it


!DSPAM:5060412434219297519902!



[vchkpw] [SPAM] Check data in dir_control table

2012-07-31 Thread Alessio Cecchi

Hi,

after a migration, based on mysqldump and rsync, I think I've corrupted 
the dir_control table in vpopmail database (I'm using mysql).


The row total in my dir_control are 1220 but the total number of domain 
hosted in the email server are about 1300.


How can I rebuild or check the table dir_control?

Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:5017a02e34198291066260!



Re: [vchkpw] vadddomain on NFS need qmail-send reload

2012-01-04 Thread Alessio Cecchi

Il 03/01/2012 12:27, Jonas Holm Bundgaard ha scritto:



Is there a trick to automate this task (svc -h /service/qmail-send) via
"vpopmail" on all servers in the cluster?



/home/vpopmail/etc/onchange perhaps?



This is a good idea.

I had also thought of a system that check 
/var/qmail/control/virtualdomains via md5sum and if it's chaged since 
last check reload qmail-send.


Other suggestions?
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4f04179f34241431710879!



[vchkpw] vadddomain on NFS need qmail-send reload

2012-01-03 Thread Alessio Cecchi

Hi,

I have some installation of qmail + vpopmail servers with 
~vpopmail/domains/ ~qmail/control/ and ~qmail/users/ share via NFS.


In this situation if I add a domain via ~vpopmail/bin/vadddomain from 
"server-1" al files (rcpthosts and virtualdomains) are update on all 
servers of the cluster but only "server-1" is unable to delivery email 
local for the new domain, others server needs qmail-send to be reloaded 
for re-reads its control files.


Is there a trick to automate this task (svc -h /service/qmail-send) via 
"vpopmail" on all servers in the cluster?

--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4f02e4c434242052620138!



Re: [vchkpw] "syntax error: line too long" when compiling vpopmail with different settings

2011-07-12 Thread Alessio Cecchi

Il 12/07/2011 11:47, Alessio Cecchi ha scritto:

Hi,

on a recent installation of vpopmail I need to compile vpopmail 5.4.33
with these settings:

./configure --enable-vpopuser=vmail --enable-vpopgroup=mail
--enable-mysql-limits --enable-auth-module=mysql --enable-valias

(note the changing of vpopmail user/group into vmail/mail)

but when I add user some error appear

root@mailserver01:~# /home/vmail/bin/vadduser cecc...@alessio.com ciao
config: line 1: error: syntax error: line too long
config: failed reading contents of


Hi, after addmin vpopmail and vchkpw user:
# groupadd -g 89 vchkpw
# useradd -g vchkpw -u 89 vpopmail

the problem disappear, but this installation using vmail and mail ...

Cannot be running vpopmail with different users?
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4e1c24a332719475682900!



[vchkpw] "syntax error: line too long" when compiling vpopmail with different settings

2011-07-12 Thread Alessio Cecchi

Hi,

on a recent installation of vpopmail I need to compile vpopmail 5.4.33 
with these settings:


./configure --enable-vpopuser=vmail --enable-vpopgroup=mail 
--enable-mysql-limits --enable-auth-module=mysql --enable-valias


(note the changing of vpopmail user/group into vmail/mail)

but when I add user some error appear

root@mailserver01:~# /home/vmail/bin/vadduser cecc...@alessio.com ciao
config: line 1: error: syntax error: line too long
config: failed reading contents of


root@mailserver01:~# /home/vmail/bin/vuserinfo cecc...@alessio.com
name:   cecchi2
passwd: $1$WH2fs0ns$Y9VJqBgqnEkV5oYru5S89.
clear passwd: ciao
comment/gecos: cecchi2
uid:0
gid:0
flags:  0
gecos: cecchi2
limits: No user limits set.
dir:   /home/vmail/domains/alessio.com/cecchi2
quota: 10485760S
config: cannot open /root/ for read
usage: 0%
account created: Tue Jul 12 11:33:41 2011
last auth: Never logged in


root@mailserver01:~# chmod 755 /root/

root@mailserver01:~# /home/vmail/bin/vuserinfo cecc...@alessio.com
name:   cecchi2
passwd: $1$WH2fs0ns$Y9VJqBgqnEkV5oYru5S89.
clear passwd: ciao
comment/gecos: cecchi2
uid:0
gid:0
flags:  0
gecos: cecchi2
limits: No user limits set.
dir:   /home/vmail/domains/alessio.com/cecchi2
quota: 10485760S
config: line 1: error: syntax error: line too long
config: failed reading contents of
usage: 0%
account created: Tue Jul 12 11:33:41 2011
last auth: Never logged in


root@mailserver01:~# chmod 700 /root/

root@mailserver01:~# /home/vmail/bin/vuserinfo cecc...@alessio.com
name:   cecchi2
passwd: $1$WH2fs0ns$Y9VJqBgqnEkV5oYru5S89.
clear passwd: ciao
comment/gecos: cecchi2
uid:0
gid:0
flags:  0
gecos: cecchi2
limits: No user limits set.
dir:   /home/vmail/domains/alessio.com/cecchi2
quota: 10485760S
config: cannot open /root/ for read
usage: 0%
account created: Tue Jul 12 11:33:41 2011
last auth: Never logged in


SO is Debian Linux 6.0, why this error?

Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4e1c182d32711601418884!



Re: [vchkpw] maildirsize problem

2011-03-01 Thread Alessio Cecchi

Il 01/03/2011 11:33, Salman Riaz ha scritto:

Dear Alessio,
Its now working fine. I am using courier imap with vpopmail-5.4.33. I
have also checked the code of maildirquota.c. It majorly depends on the
recalculating time of quota not on the size (5120 bytes or more) of
emails. If we reduce this time it will results load in the server. It is
set as 15 minutes for the optimum load on the server.

When I have use IMAP then it updates the quota at the same time. When I
use POP then it updates the quota after 15 minutes. Currently I am
conducting more tests to understand the working of this vpopmail.

Regards,
Salman...


Hi Salman,

please if you find some helpful information share with us :-)

Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d6cefa932711602510419!



Re: [vchkpw] maildirsize problem

2011-03-01 Thread Alessio Cecchi

Il 01/03/2011 10:07, Salman Riaz ha scritto:

Dear Matt,

I have tested the new vpopmail-5.4.33. When I use pop protocol to
download the emails then it does not update the maildirsize file. When I
have check the email via IMAP it shows no email but still quota is
showing some usage Can you please advice me regarding this?

Regards,
Salman...


Hi Salman,

for pop3 or imap what daemon are you running? I'm using vpopmail 5.4.33 
and dovecot without problem.


Try to reset the file maildirsize ":> 
/home/vpopmail/domains/dom.com/user/maildirsize" and after re set the 
quota with "~vpopmail/bin/vmoduser -q100M u...@dom.com"


--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d6cba8632711357414660!



Re: [vchkpw] New 5.4.33 tarball on SourceForge

2011-02-16 Thread Alessio Cecchi
Il 11/02/2011 16:45, Matt Brookings ha scritto:
> The latest development version, 5.4.33, can be found on SourceForge.
> The only changes in the new tarball are updated upgrade instructions
> for MySQL limits.
> 
> I had hoped to mark this package stable this week, but it's looking
> like at least one more week is in order.
> 
> Thanks!

Matt,

I'm testing this release on two server, today on one of this i have
changed the quota via vmoduser and vmoddomlimits for all users and
domains without problem.

For me works fine.
Bye
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d5c0c7b32717802919584!



Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-11 Thread Alessio Cecchi
Il 11/02/2011 16:00, Matt Brookings ha scritto:
> On 02/11/2011 08:54 AM, Alessio Cecchi wrote:
>> Ok, now, after delete limits table vpopmail recreate it for me and
>> default quota works fine :-) I'm very happy.
> 
>> What is now the highest quota manageable in a vpopmail + qmail (and
>> dovecot as imap server) installation ?
> 
> vpopmail will handle a 64bit unsigned integer:
> 
>   $ echo '2^64-1' | bc
>   18446744073709551615

Very very big :-)

> That's a pretty big quota.
> 
> I had to make quite a few changes for the larger quota size.  Please
> let me know if you run across any problems.

I will run this version on test server and I will tell you if I have
problems.

Thanks for your disponiblity
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d5550f632711859565367!



Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-11 Thread Alessio Cecchi
Il 11/02/2011 15:41, Matt Brookings ha scritto:
> On 02/11/2011 08:33 AM, Alessio Cecchi wrote:
>> But with vmoddomlimits I can not set quota over 2GB:
> 
>> vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -q 4069M test.com
>> or with
>> vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -q 4294967296 test.com
> 
>> vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -S test.com | grep Quota
>> Domain Quota: 0 MB
>> Default User Quota: 2147483647 bytes
> 
>> Quota is always 2GB.
> 
> Oh, I may not have mentioned, there had to be a database schema change
> for MySQL limits to work.  You can either drop the entire limits
> table, and vpopmail will re-create it, or you can modify the table.
> Check out vmysql.h for the layout.  Notice the disable_maildrop
> addition, and the changes from INT to BIGINT.

Ok, now, after delete limits table vpopmail recreate it for me and
default quota works fine :-) I'm very happy.

What is now the highest quota manageable in a vpopmail + qmail (and
dovecot as imap server) installation ?

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d554dc132716993735716!



Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-11 Thread Alessio Cecchi
Il 08/02/2011 22:36, Matt Brookings ha scritto:
> On 02/08/2011 02:48 PM, Matt Brookings wrote:
[...]
>>> http://www.mail-archive.com/vchkpw@inter7.com/msg27754.html
> 
>> Working on this.
> 
> I've committed changes to Subversion, and uploaded a tarball to
> SourceForge that add the disable_maildrop flag, as well as fix a bug
> in the MySQL module that didn't allow for large quotas in the limits
> configuration.


Hi Matt,

disable_maildrop flags seems ok now, but please add to doc/UPGRADE:

ALTER TABLE `limits` ADD `disable_maildrop` TINYINT(1) DEFAULT '0' NOT
NULL AFTER `disable_spamassassin`;

otherwise you will always get an error when try to use vpopmail/bin tools.

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d55494e32712033421181!



Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-11 Thread Alessio Cecchi
Il 08/02/2011 16:09, Matt Brookings ha scritto:
> On 02/08/2011 01:19 AM, Alessio Cecchi wrote:
>>   $ ./configure --enable-mysql-limits --enable-auth-module=mysql
>> --enable-logging=p --enable-maildrop --enable-valias
> 
> Ah, I missed the custom vlimits stuff in the MySQL module.  I fixed
> this in Subversion, and put a new 5.4.33 tarball on SourceForge.

Hi Matt,

I did some tests on your fix. Redownload and Rebuild vpopmail 5.4.33 and
now works fine with 2GB quota, but not with more :-(

For example, if I try to set quota to 4GB:

with vmoduser works fine (as usual)

vpopmail-5.4.33# /home/vpopmail/bin/vmoduser -q4096M test.com
vpopmail-5.4.33# /home/vpopmail/bin/vuserinfo ales...@test.com | grep quota
quota: 4294967296S

But with vmoddomlimits I can not set quota over 2GB:

vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -q 4069M test.com
or with
vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -q 4294967296 test.com

vpopmail-5.4.33# /home/vpopmail/bin/vmoddomlimits -S test.com | grep Quota
Domain Quota: 0 MB
Default User Quota: 2147483647 bytes

Quota is always 2GB.
Thnaks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d5548bb32717298244466!



Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-08 Thread Alessio Cecchi

Il 08/02/2011 16:09, Matt Brookings ha scritto:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/08/2011 01:19 AM, Alessio Cecchi wrote:

   $ ./configure --enable-mysql-limits --enable-auth-module=mysql
--enable-logging=p --enable-maildrop --enable-valias


Ah, I missed the custom vlimits stuff in the MySQL module.  I fixed
this in Subversion, and put a new 5.4.33 tarball on SourceForge.


Many thanks Matt. I will try it as soon as possible.


When -S report "18446744071562067968 bytes" in mysql limit's table ->
"defaultquota" report: -2147483648 (the same value before vpopmail
upgrade).

Note that if I update quota manually in mysql limit's table ->
"defaultquota" vmoddomlimits -S test.com show the right quota.


Remove any negative values from the database.  These values are not
supported.


Sure ...

Matt, I have find another bug in vmoddomlimits with MySQL configuration.

If you try to set the "no maildrop flag" with -g "m" nothing changes. 
Plus in MySQL vpopmail.limits table does not exist :-) I do not know 
whether other fields are missing from the database.


Here you can find another mail about this problem:

http://www.mail-archive.com/vchkpw@inter7.com/msg27754.html

if you can fix it I thank you so much.
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d5180b932711584117789!



Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-07 Thread Alessio Cecchi

Il 07/02/2011 17:02, Matt Brookings ha scritto:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/07/2011 10:00 AM, Matt Brookings wrote:

On 02/07/2011 03:36 AM, Alessio Cecchi wrote:

but with 2048M (or 2147483648 byte)



www:~# /home/vpopmail/bin/vmoddomlimits -q 2048M qboxmail.com
www:~# /home/vpopmail/bin/vmoddomlimits -S qboxmail.com | grep "Default
User Quota"



Default User Quota: 18446744071562067968 bytes


Odd.  Looking into this.


Hmm.  Are you sure you're using 5.4.33?

# ~vpopmail/bin/vmoddomlimits -v
version: 5.4.33


Yes:

www:~# /home/vpopmail/bin/vmoddomlimits -v | grep version
version: 5.4.33

www:/var/src/vpopmail-5.4.33# head config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by vpopmail configure 5.4.33, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  $ ./configure --enable-mysql-limits --enable-auth-module=mysql 
--enable-logging=p --enable-maildrop --enable-valias


www:/var/src/vpopmail-5.4.33# uname -a
Linux www.test.com 2.6.26-2-amd64 #1 SMP Thu Nov 25 04:30:55 UTC 2010 
x86_64 GNU/Linux




# ~vpopmail/bin/vmoddomlimits -q 2048M test.com
# ~vpopmail/bin/vmoddomlimits -S test.com
Default User Quota: 2147483648 bytes

Can you please post the
~vpopmail/domains/qboxmail.com/.qmailadmin-limits file contents?


I'm using mysql limits, could be this the problem?

When -S report "18446744071562067968 bytes" in mysql limit's table -> 
"defaultquota" report: -2147483648 (the same value before vpopmail upgrade).


Note that if I update quota manually in mysql limit's table -> 
"defaultquota" vmoddomlimits -S test.com show the right quota.


Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d50eea532713707094004!



Re: [vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-07 Thread Alessio Cecchi
Il 03/02/2011 17:38, Matt Brookings ha scritto:
> On 02/01/2011 10:17 AM, Alessio Cecchi wrote:
>> with vpopmail 5.4.32 (but also older version) I have problem to set
>> the quota for domains to 2GB (2048MB)
> 
>> If I set quota like this:
> 
>> /home/vpopmail/bin/vmoddomlimits -q2147483648 domain.com
>> or
>> /home/vpopmail/bin/vmoddomlimits -q2048M domain.com
> 
>> /home/vpopmail/bin/vmoddomlimits -S domain.com show a wrong quota of:
> 
>> Default User Quota: -2147483648 bytes
> 
>> If I set quota to:
> 
> 
>> /home/vpopmail/bin/vmoddomlimits -q2147483647 domain.com
> 
>> works fine:
> 
>> Default User Quota: 2147483647 bytes
> 
>> Is vpopmail/vmoddomlimits unable to manage quota more than 2GB but can
>> manage quota of 2GB -1 byte?
> 
> Please try the 5.4.33 development version.
> Thanks!

Hi Matt,

thank you for your interesting in my problem, but I think the problem is
worse now :-)

# /home/vpopmail/bin/vmoddomlimits -q 1024M qboxmail.com
# /home/vpopmail/bin/vmoddomlimits -S qboxmail.com | grep "Default User
Quota"

Default User Quota: 1073741824 bytes

and works fine,

but with 2048M (or 2147483648 byte)

www:~# /home/vpopmail/bin/vmoddomlimits -q 2048M qboxmail.com
www:~# /home/vpopmail/bin/vmoddomlimits -S qboxmail.com | grep "Default
User Quota"

Default User Quota: 18446744071562067968 bytes

Very very big quota!

And for quota over 2GB:

www:~# /home/vpopmail/bin/vmoddomlimits -q 4096M qboxmail.comwww:~#
/home/vpopmail/bin/vmoddomlimits -S qboxmail.com | grep "Default User Quota"

Default User Quota: 0 bytes

vmoduser with "-q 4096M" works fine.

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d4fbd3532711933788344!



[vchkpw] Strane problem with vmoddomlimits and 2GB limit

2011-02-01 Thread Alessio Cecchi

Hi,

with vpopmail 5.4.32 (but also older version) I have problem to set the 
quota for domains to 2GB (2048MB)


If I set quota like this:

/home/vpopmail/bin/vmoddomlimits -q2147483648 domain.com
or
/home/vpopmail/bin/vmoddomlimits -q2048M domain.com

/home/vpopmail/bin/vmoddomlimits -S domain.com show a wrong quota of:

Default User Quota: -2147483648 bytes

If I set quota to:


/home/vpopmail/bin/vmoddomlimits -q2147483647 domain.com

works fine:

Default User Quota: 2147483647 bytes

Is vpopmail/vmoddomlimits unable to manage quota more than 2GB but can 
manage quota of 2GB -1 byte?


Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4d48321932711223720608!



[vchkpw] vmoddomlimits still have 2GB quota limit

2010-11-17 Thread Alessio Cecchi

Hi,

when we try to set the default quota for a domain (user quota) over the 
size of 2GB via vmoddomlimits the quota is set to


/home/vpopmail/bin/vmoddomlimits -q2048M pippo.com

show:

Default User Quota: -2147483648 bytes

This is an old problem:

http://www.mail-archive.com/vchkpw@inter7.com/msg26942.html

only fixed in vmoduser.

There is a solution to the problem? We are running vpopmail 5.4.32.

In which portion of the vpopmail code we can try to solve the problem?

Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4ce3ed0032713360257612!



Re: [vchkpw] vmoduser in 5.4.30 set wrong permission on "maildirsize" file

2010-03-03 Thread Alessio Cecchi

Alessio Cecchi ha scritto:

Hi,

I'm testing the latest stable release of vpopmail. vusaged is disable. I 
have found this issue, when I change the quota via "vmoduser" the owner 
of "maildirsize" file becomes root:root instead of vpopmail:vchkpw



mail01:~# /home/vpopmail/bin/vadddomain cbstest.com password

mail01:~# ls -la /home/vpopmail/domains/cbstest.com/postmaster/Maildir/
totale 24
drwx-- 5 vpopmail vchkpw 4096  3 mar 17:59 .
drwx-- 3 vpopmail vchkpw 4096  3 mar 17:59 ..
drwx-- 2 vpopmail vchkpw 4096  3 mar 17:59 cur
-rw--- 1 vpopmail vchkpw   15  3 mar 17:59 maildirsize
drwx-- 2 vpopmail vchkpw 4096  3 mar 17:59 new
drwx-- 2 vpopmail vchkpw 4096  3 mar 17:59 tmp

mail01:~# /home/vpopmail/bin/vadduser ales...@cbstest.com password

mail01:~# ls -la /home/vpopmail/domains/cbstest.com/alessio/Maildir/
totale 24
drwx-- 5 vpopmail vchkpw 4096  3 mar 18:00 .
drwx-- 3 vpopmail vchkpw 4096  3 mar 18:00 ..
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 cur
-rw--- 1 vpopmail vchkpw   15  3 mar 18:00 maildirsize
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 new
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 tmp

mail01:~# /home/vpopmail/bin/vmoduser -q 50M cbstest.com

mail01:~# ls -la /home/vpopmail/domains/cbstest.com/alessio/Maildir/
totale 52
drwx-- 8 vpopmail vchkpw 4096  3 mar 18:00 .
drwx-- 3 vpopmail vchkpw 4096  3 mar 18:00 ..
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 cur
drwx-- 5 vpopmail vchkpw 4096  3 mar 18:00 .Drafts
-rw--- 1 root root 14  3 mar 18:00 maildirsize
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 new
drwx-- 5 vpopmail vchkpw 4096  3 mar 18:00 .Spam
-rw--- 1 vpopmail vchkpw   18  3 mar 18:00 subscriptions
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 tmp
drwx-- 5 vpopmail vchkpw 4096  3 mar 18:00 .Trash

mail01:~# ls -la /home/vpopmail/domains/cbstest.com/postmaster/Maildir/
totale 24
drwx-- 5 vpopmail vchkpw 4096  3 mar 18:00 .
drwx-- 3 vpopmail vchkpw 4096  3 mar 17:59 ..
drwx-- 2 vpopmail vchkpw 4096  3 mar 17:59 cur
-rw--- 1 root root 14  3 mar 18:00 maildirsize
drwx-- 2 vpopmail vchkpw 4096  3 mar 17:59 new
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 tmp


In this situation my IMAP server (dovecot) is unable to know my quote 
and more if I try to remove a messagges returns an error.


When an e-mail come in my account the owner of "maildirsize" file 
returns the right:


mail01:/home/vpopmail/domains/cbshosting.eu/alessio/Maildir# ls -la
totale 72
drwx-- 8 vpopmail vchkpw  4096  3 mar 18:14 .
drwx-- 3 vpopmail vchkpw  4096  3 mar 18:00 ..
drwx-- 2 vpopmail vchkpw  4096  3 mar 18:13 cur
drwx-- 5 vpopmail vchkpw  4096  3 mar 18:10 .Drafts
-rw--- 1 vpopmail vchkpw33  3 mar 18:14 maildirsize
drwx-- 2 vpopmail vchkpw  4096  3 mar 18:14 new
drwx-- 5 vpopmail vchkpw  4096  3 mar 18:10 .Spam
-rw--- 1 vpopmail vchkpw18  3 mar 18:00 subscriptions
drwx-- 2 vpopmail vchkpw  4096  3 mar 18:14 tmp
drwx-- 5 vpopmail vchkpw  4096  3 mar 18:10 .Trash

There is a solution to this problem?
Thanks


I have found that the problem come out only when vmoduser is used for 
the enterire domain:


/home/vpopmail/bin/vmoduser -q 6M cbstest.com -> PROBLEM
/home/vpopmail/bin/vmoduser -q 6M ales...@cbstest.com -> OK

mail01:/home/vpopmail/domains/cbstest.com/alessio/Maildir# 
/home/vpopmail/bin/vmoduser -q 6M cbstest.com

mail01:/home/vpopmail/domains/cbstest.com/alessio/Maildir# ls -lha
totale 72K
drwx-- 8 vpopmail vchkpw 4,0K  3 mar 18:18 .
drwx-- 3 vpopmail vchkpw 4,0K  3 mar 18:00 ..
drwx-- 2 vpopmail vchkpw 4,0K  3 mar 18:14 cur
drwx-- 5 vpopmail vchkpw 4,0K  3 mar 18:10 .Drafts
-rw--- 1 root root 19  3 mar 18:18 maildirsize
drwx-- 2 vpopmail vchkpw 4,0K  3 mar 18:14 new
drwx-- 5 vpopmail vchkpw 4,0K  3 mar 18:10 .Spam
-rw--- 1 vpopmail vchkpw   18  3 mar 18:00 subscriptions
drwx-- 2 vpopmail vchkpw 4,0K  3 mar 18:18 tmp
drwx-- 5 vpopmail vchkpw 4,0K  3 mar 18:14 .Trash
mail01:/home/vpopmail/domains/cbstest.com/alessio/Maildir# 
/home/vpopmail/bin/vmoduser -q 6M ales...@cbstest.com

mail01:/home/vpopmail/domains/cbstest.com/alessio/Maildir# ls -lha
totale 72K
drwx-- 8 vpopmail vchkpw 4,0K  3 mar 18:19 .
drwx-- 3 vpopmail vchkpw 4,0K  3 mar 18:00 ..
drwx-- 2 vpopmail vchkpw 4,0K  3 mar 18:14 cur
drwx-- 5 vpopmail vchkpw 4,0K  3 mar 18:10 .Drafts
-rw--- 1 vpopmail vchkpw   19  3 mar 18:19 maildirsize
drwx-- 2 vpopmail vchkpw 4,0K  3 mar 18:14 new
drwx-- 5 vpopmail vchkpw 4,0K  3 mar 18:10 .Spam
-rw--- 1 vpopmail vchkpw   18  3 mar 18:00 subscriptions
drwx-- 2 vpopmail vchkpw 4,0K  3 mar 18:19 tmp
drwx-- 5 vpopmail vchkpw 4,0K  3 mar 18:14 .Trash

Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecc

[vchkpw] vmoduser in 5.4.30 set wrong permission on "maildirsize" file

2010-03-03 Thread Alessio Cecchi

Hi,

I'm testing the latest stable release of vpopmail. vusaged is disable. I 
have found this issue, when I change the quota via "vmoduser" the owner 
of "maildirsize" file becomes root:root instead of vpopmail:vchkpw



mail01:~# /home/vpopmail/bin/vadddomain cbstest.com password

mail01:~# ls -la /home/vpopmail/domains/cbstest.com/postmaster/Maildir/
totale 24
drwx-- 5 vpopmail vchkpw 4096  3 mar 17:59 .
drwx-- 3 vpopmail vchkpw 4096  3 mar 17:59 ..
drwx-- 2 vpopmail vchkpw 4096  3 mar 17:59 cur
-rw--- 1 vpopmail vchkpw   15  3 mar 17:59 maildirsize
drwx-- 2 vpopmail vchkpw 4096  3 mar 17:59 new
drwx-- 2 vpopmail vchkpw 4096  3 mar 17:59 tmp

mail01:~# /home/vpopmail/bin/vadduser ales...@cbstest.com password

mail01:~# ls -la /home/vpopmail/domains/cbstest.com/alessio/Maildir/
totale 24
drwx-- 5 vpopmail vchkpw 4096  3 mar 18:00 .
drwx-- 3 vpopmail vchkpw 4096  3 mar 18:00 ..
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 cur
-rw--- 1 vpopmail vchkpw   15  3 mar 18:00 maildirsize
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 new
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 tmp

mail01:~# /home/vpopmail/bin/vmoduser -q 50M cbstest.com

mail01:~# ls -la /home/vpopmail/domains/cbstest.com/alessio/Maildir/
totale 52
drwx-- 8 vpopmail vchkpw 4096  3 mar 18:00 .
drwx-- 3 vpopmail vchkpw 4096  3 mar 18:00 ..
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 cur
drwx-- 5 vpopmail vchkpw 4096  3 mar 18:00 .Drafts
-rw--- 1 root root 14  3 mar 18:00 maildirsize
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 new
drwx-- 5 vpopmail vchkpw 4096  3 mar 18:00 .Spam
-rw--- 1 vpopmail vchkpw   18  3 mar 18:00 subscriptions
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 tmp
drwx-- 5 vpopmail vchkpw 4096  3 mar 18:00 .Trash

mail01:~# ls -la /home/vpopmail/domains/cbstest.com/postmaster/Maildir/
totale 24
drwx-- 5 vpopmail vchkpw 4096  3 mar 18:00 .
drwx-- 3 vpopmail vchkpw 4096  3 mar 17:59 ..
drwx-- 2 vpopmail vchkpw 4096  3 mar 17:59 cur
-rw--- 1 root root 14  3 mar 18:00 maildirsize
drwx-- 2 vpopmail vchkpw 4096  3 mar 17:59 new
drwx-- 2 vpopmail vchkpw 4096  3 mar 18:00 tmp


In this situation my IMAP server (dovecot) is unable to know my quote 
and more if I try to remove a messagges returns an error.


When an e-mail come in my account the owner of "maildirsize" file 
returns the right:


mail01:/home/vpopmail/domains/cbshosting.eu/alessio/Maildir# ls -la
totale 72
drwx-- 8 vpopmail vchkpw  4096  3 mar 18:14 .
drwx-- 3 vpopmail vchkpw  4096  3 mar 18:00 ..
drwx-- 2 vpopmail vchkpw  4096  3 mar 18:13 cur
drwx-- 5 vpopmail vchkpw  4096  3 mar 18:10 .Drafts
-rw--- 1 vpopmail vchkpw33  3 mar 18:14 maildirsize
drwx-- 2 vpopmail vchkpw  4096  3 mar 18:14 new
drwx-- 5 vpopmail vchkpw  4096  3 mar 18:10 .Spam
-rw--- 1 vpopmail vchkpw18  3 mar 18:00 subscriptions
drwx-- 2 vpopmail vchkpw  4096  3 mar 18:14 tmp
drwx-- 5 vpopmail vchkpw  4096  3 mar 18:10 .Trash

There is a solution to this problem?
Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4b8ea7df32711789211690!



Re: [vchkpw] Vpopmail Postfix and SQL query for SMTP-Auth

2009-10-07 Thread Alessio Cecchi

Christopher Chan ha scritto:

Alessio Cecchi wrote:

Hello,

this is my situation, one qmail+vpopmail(MySQL)+dovecot server that 
works like an MX record and provide access on mailbox via POP3 or IMAP.


Another server with postfix and SASL for SMTP-Auth only, with SASL 
that query the vpopmail DB for user authentication.


My intention is to set a query into SASL for use the same flags for 
SMTP-Auth that read vpopmail and qmail.





Do you run dovecot? If you do, just make use of dovecot's sasl 
provisions. That is supported by postfix.




Thanks,

yes I run dovecot and I know the SASL + Postfix features, but on the 
qmail server, postfix is on another server.


Summary:

server1

qmail + vpopmail with mysql backend + dovecot with vpopmail native 
authentication ("passdb checkpassword" and "args = 
/home/vpopmail/bin/vchkpw")


server2

postfix + SASL that read users from mysql on server1

How can postfix access to dovecot SASL auth mechanis?

I could install dovecot on server2, but dovecot can check vpopmail flags 
on when run with "passdb checkpassword" and "args = 
/home/vpopmail/bin/vchkpw" and in the same server with vpopmail binary.


Or not?
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4acc68ca32712464818583!



[vchkpw] Vpopmail Postfix and SQL query for SMTP-Auth

2009-10-06 Thread Alessio Cecchi

Hello,

this is my situation, one qmail+vpopmail(MySQL)+dovecot server that 
works like an MX record and provide access on mailbox via POP3 or IMAP.


Another server with postfix and SASL for SMTP-Auth only, with SASL that 
query the vpopmail DB for user authentication.


My intention is to set a query into SASL for use the same flags for 
SMTP-Auth that read vpopmail and qmail.


Now the SASL query is very simple:

$ cat /etc/postfix/sasl/smtpd.conf
pwcheck_method: auxprop
auxprop_plugin: sql
mech_list: PLAIN LOGIN
#password_format: crypt
sql_engine: mysql
sql_hostnames: 10.0.0.1
sql_user: postfix
sql_passwd: pippo
sql_database: vpopmail
sql_select: SELECT pw_clear_passwd FROM vpopmail WHERE pw_name='%u' and 
pw_domain='%r' and smtppostfix = '1'


the only condition is the column "smtppostfix" that I must set manually.

There is the way to change the SELECT query in order to check the 
original vpopmail flags? So i can manage SMTP users authentication from 
vpopmail command line and reflect this configuration into a postfix 
server :-)


I have read this discussion:

http://www.mail-archive.com/vchkpw@inter7.com/msg17260.html

but I have not found a solution :-(

Thanks
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:4acb4e5f32711494420535!



[vchkpw] Where vmoduser save changes to user's limits?

2009-03-26 Thread Alessio Cecchi
Hi,

I'm running vpopmail 5.4.X with MySQL backend. When I change the limits
of one user, for example disable SMTP, or POP3, where are saved these
informations? I have not found any entry related to this in the MySQL DB.

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:49cb386232681425012373!



Re: [vchkpw] courier & this community

2009-03-03 Thread Alessio Cecchi
Tonix (Antonio Nati) ha scritto:
> Mohsen Pahlevanzadeh ha scritto:
>> Dear all,
>> Courier has removed vpopmail module from authentication module list.
>> According to courier's action, i think vpopmail has security
>> problem.Correct this?
>> Yours,
>> Mohsen
>>
>>
>>
>>
>>
>>   
> Courier author had always something against vpopmail.
> We should all switch to dovecot or others soon.
> 
> Tonino
> 

Moreover, Dovecot is too simple to configure and many, many fast than
courier-imap.

Bye
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
on LinkedIn -> http://www.linkedin.com/in/alessice
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> Socio http://www.lolug.net

!DSPAM:49ad07b032681524110887!



Re: [vchkpw] quota warn message is broken in vpopmail with maildrop support enable

2008-10-13 Thread Alessio Cecchi
Il Monday 13 October 2008 13:50:27 Jukka Kurkela ha scritto:
> From README.quotas:
>
>     MAILDROP
>
>     If you use maildrop for filtering, compile it with maildirquota support
>     if you want to use it with vpopmail 5.1.1 and above with quotas.
>
> did you compile maildrop with maildirquota supporta?

Yes, in fact "over quota" works:

It was created by maildrop configure 2.0.4, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --enable-syslog=1 --enable-maildirquota --prefix=/usr

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:48f33f1732319257115799!



[vchkpw] quota warn message is broken in vpopmail with maildrop support enable

2008-10-13 Thread Alessio Cecchi
Hi,

I'm made many test before write this e-mail, but I think that when I enable 
maildrop support in vpopmail (--enable-maildrop) and I place 
an /etc/maildroprc (like src/vpopmail-5.4.26/maildrop/maildroprc.v2) the 
warning about "quota warn message" not working.

I'm working in a test environment configured as follow:

shupp.org's toaster

vpopmail 5.4.26 build with this options:
./configure --enable-mysql-limits 
--enable-auth-module=mysql 
--enable-logging=v 
--enable-maildrop

/etc/maildroprc is this 
http://vpopmail.cvs.sourceforge.net/viewvc/vpopmail/vpopmail/maildrop/maildroprc.v2?revision=1.3&view=markup
but I also tried with others without success.

When a mailbox reach 90% or more the message ~vpopmail/domains/.quotawarn.msg 
is copied only if maildrop for these user is disable (vmoduser -x 
[EMAIL PROTECTED]), when maildrop support is enable the messagge is not copied 
to 
the user mailbox.

Yes, I delete the file "quotawarn" in the user Maildir every time.

Can be easily corrected this problem?

Maybe just enough to anticipate the process that check the quota, and copy the 
file, and after running maildrop with maildroprc, but I do not know if I'm 
making a wrong assumption.

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:48f333e832312229217102!



Re: [vchkpw] Username length in vchkpw/vpopmail

2008-10-13 Thread Alessio Cecchi
Il Monday 13 October 2008 13:03:45 Antti Kanes ha scritto:
> Hi,
>
> it seems that (at least with version 5.4.17) the username length with  
> mysql authentication has been limited to 32 characters and the domain  
> part to 64 characters;
> vpopmail.pw_name char(32), vpopmail.pw_domain(64), valias.alias  
> char(32), valias.domain char(64).
> The SMTP RFC allows for a local-name part of an email address to be 64  
> characters and domain to be 255 characters long.
>
> Has this been addressed in later versions of vpopmail, and can it  
> safely be fixed by altering these table fields to have corresponding  
> longer lengths?
> ie. does it break something in vchkpw (or qmailadmin)?
> Found some references on the list mentioning limits in vpopmail.h:
>
> #define MAX_PW_NAME         32
> #define MAX_PW_DOMAIN       64
>
> Are these still valid and therefore require changes to the code and  
> recompilation in order to conform with the RFC?

This problem is solved.
Upgrade to 5.4.18 and/or read the UPGRADE file of 5.4.18.

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:48f32cc432311148314093!



Re: [vchkpw] vpopmail progress

2008-10-07 Thread Alessio Cecchi
Il Friday 03 October 2008 12:12:36 Lampa ha scritto:
> Hello,
>
> is there any progress on vpopmail package ? There is few bugs and some
> incompatibiles (mostly in vpopmaild).
>
> Thank you.


I also found some bugs unresolved in the latest versions of vpopmail.

Why not try to understand how to fix them for help developers in resolving 
these problems?

We could start with the report bugs not resolved that each of us has found in 
their configurations.

For example, I had several problems in the proper calculation of the user's 
quota in later versions to 5.4.18, 

example:

[EMAIL PROTECTED] Maildir]# /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED]
name:   test
passwd: $1$jB7JYlXK$OGrtvertverh.Rx2AovI..
clear passwd: test
comment/gecos: test
uid:0
gid:0
flags:  51232
gecos: test
limits:
smtp access is closed (*)
user not allowed to relay mail (*)
spamassassin processing disabled (*)
delete spam (*)
* = set by domain-wide limits
dir:   /home/vpopmail/domains/test.com/info
quota: 19996344S
usage: 80%
last auth: Mon Sep 22 11:25:46 2008
last auth ip: 23.45.53.162


[EMAIL PROTECTED] info]# pwd
/home/vpopmail/domains/test.com/info


[EMAIL PROTECTED] info]# du -sh
776K.

[EMAIL PROTECTED] info]# ls -l Maildir/maildirsize
-rw--- 1 vpopmail vchkpw 4839 2008-09-22 09:49 Maildir/maildirsize

[EMAIL PROTECTED] info]# rm Maildir/maildirsize
rm: remove regular file `Maildir/maildirsize'? y

[EMAIL PROTECTED] Maildir]# /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED]
name:   test
passwd: $1$jB7JYlXK$OGrtvertverh.Rx2AovI..
clear passwd: test
comment/gecos: test
uid:0
gid:0
flags:  51232
gecos: test
limits:
smtp access is closed (*)
user not allowed to relay mail (*)
spamassassin processing disabled (*)
delete spam (*)
* = set by domain-wide limits
dir:   /home/vpopmail/domains/test.com/info
quota: 19996344S
usage: 1%
last auth: Mon Sep 22 11:26:46 2008
last auth ip: 23.45.53.162

I have also this problem with vpopmaild:

http://www.mail-archive.com/vchkpw@inter7.com/msg25601.html

And what are your problems?
Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:48eb770932311623815240!



Re: [vchkpw] vpopmaild

2008-06-27 Thread Alessio Cecchi
Il Friday 27 June 2008 09:11:06 Lampa ha scritto:
> Hello,
>
> seem that in vpopmaild is little bug when creating .qmail file (i
> think that is function int write_file()). There is fputs(tmpbuf,fs);
> (about line 1573) but tmpbuf can contain (and contains) \r\n which is
> not stripped. Tmpbuf should be stripped from \r\n and addedd only \n
> (if nextline exists or can be added always)

Search in list my discussion "Problem with add_alias", but on vpopmail-5.4.26 
this problem should be fixed.

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:4864973832351778565666!



[vchkpw] Problem with maildrop support in vdelivermail

2008-06-26 Thread Alessio Cecchi
Hi,

i have found this problem in vpopmail compiled with maildrop support, 
mailfilter files included from single users does not work and gives this

error: Jun 26 17:42:47 gag18 maildrop[24112]: Unable to open mailbox.

but the same configuration in a .qmail file works.

Here are some more detail:

vpopmail-5.4.26: ./configure --enable-valias=y 
--enable-auth-module=mysql --enable-mysql-limits 
--enable-qmail-ext=y 
--enable-maildrop --enable-spamassassin

maildrop 2.0.4: ./configure --prefix=/usr
--enable-maildirquota --enable-syslog=1

/etc/maildroprc is based on this: 
http://www.tnpi.biz/internet/mail/toaster/etc/mailfilter-domain

but important for me is this rules:

##
# Include any rules set up for the user - this gives the 
#   administrator a way to override the domain's mailfilter file
#
#   this is also the "suggested" way to set individual values
#   for maildrop such as quota.
##

`test -r $VHOME/.mailfilter`
if( $RETURNCODE == 0 )
{
log "  including $VHOME/.mailfilter"
exception {
include $VHOME/.mailfilter
}
}

so i can manage maildrop filter for single user.

Ok, the problem is during the include of the local .mailfileter because 
maildrop return this error in syslog:

Jun 26 17:42:47 gag18 maildrop[24112]: Unable to open mailbox.

My personal mailfilter is like this:

[EMAIL PROTECTED]:/home/vpopmail/domains/pippo.it/alessio.cecchi# ls -la
total 20
drwx--  3 vpopmail vchkpw 4096 2008-06-26 17:45 .
drwx-- 42 vpopmail vchkpw 4096 2008-06-24 19:58 ..
drwx-- 12 vpopmail vchkpw 4096 2008-06-26 17:45 Maildir
-rw---  1 vpopmail vchkpw  497 2008-06-26 17:37 .mailfilter

[EMAIL PROTECTED]:/home/vpopmail/domains/pippo.it/alessio.cecchi# cat 
.mailfilter
[...]
if ((/^From:.*MAILER-DAEMON/))
{
   to "./Maildir/.mailer-daemon/."
}
[...]

it seems that the home directory is settled in the wrong location (error in 
syslog is "Unable to open mailbox")

the strange thing is that if I disable maildrop support from 
vpopmail/vdelivermail and in my personal .qmail file set:

|/usr/bin/maildrop /etc/maildroprc

everything works properly

But this command is not the same that vpopmail call?

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:4863bdd832354633721171!



Re: [vchkpw] vpopmaild bug ?

2008-05-06 Thread Alessio Cecchi
Il Tuesday 06 May 2008 14:10:59 Lampa ha scritto:
> Hello,
>
> i'm playing with vpopmaild and net_vpopmaild class in php.
>
> Problem is that vpopmaild is taking 100% cpu:
>
>   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
> 21306 root  20   0  6144  620  496 R  100  0.0   2:09.65 vpopmaild
>
> This happens after dropping telnet connection to localhost and auth
> (using control ])

I have the same problem, search in vchkpw archive my e-mail with 
subject: "vpopmaild use 99% of CPU"

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:48204c1e120509496411975!



Re: [vchkpw] securing vpopmaild

2008-05-06 Thread Alessio Cecchi
Il Monday 05 May 2008 11:59:36 Lampa ha scritto:
> Hello,
>
> how to secure vpopmaild. Now i have limitation host based (firewall).
> But how to enable usage only for "good user" ?

You can use the "-x" of tcpserver

-x /home/vpopmail/etc/tcp.vpopmaild.cdb

# cat /home/vpopmail/etc/tcp.vpopmaild
127.:allow
63.19.128.31:allow
210.45.14.76:allow
210.49.121.9/255.255.255.248:allow
:deny

and open your firewall for all remoto hosts

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:48203ae8120505503392682!



Re: [vchkpw] Use onchange for add user to ezmlm

2008-04-16 Thread Alessio Cecchi
Il Saturday 12 April 2008 20:17:45 Ismail YENIGUL ha scritto:
> Hi Alessio,
>
> A sample script may look like the following:
>
>
> #!/bin/sh
>
> cmd=$1;
>
>   if [ $cmd = "add_user" ]
>   then
>
>   email=$2;  # [EMAIL PROTECTED], see README.onchange
>
>   /usr/local/bin/ezmlm-sub ~vpopmail/domain/listname $email
>
> fi
>
>  if [ $cmd = "del_user" ]
>   then
>
>   email=$2;  # [EMAIL PROTECTED], see README.onchange
>
>   /usr/local/bin/ezmlm-unsub ~vpopmail/domain/listname $email
>
> fi

Hi Ismail,

i have edit your example like this:

#!/bin/sh
cmd=$1;
if [ "$cmd" = "add_user" ]; then
email=$2;
/usr/local/bin/ezmlm/ezmlm-sub /home/vpopmail/domains/newmail.it/news/ $email
fi
if [ "$cmd" = "del_user" ]; then
email=$2;
/usr/local/bin/ezmlm/ezmlm-unsub /home/vpopmail/domains/newmail.it/news/ 
$email
fi

And now is OK!

Also thanks to your example, I understand how the system onchange works.

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:4806e346120505993820299!



[vchkpw] Dovecot and disable non IMAP webmail access

2008-04-10 Thread Alessio Cecchi

I need to disable non IMAP webmail access, then allow access to IMAP only from 
localhost/webmail, and in the future enable full IMAP access only for some 
users.

In a previous message I was advised to switch from courier-imap to dovecot and 
so I did, but the problem persists.

My installation is based on shupp.org toaster but with some modifications:

vpopmail version is: 5.4.26
MySQL backend
dovect version is: 1.0.13
webmail is horde and connects to the IMAP server through 127.0.0.1 or 
localhost

Example:

mail:~# /home/vpopmail/bin/vmoduser -i [EMAIL PROTECTED] 

NOTE: (-i : disable non-webmail IMAP access )

mail:~# /home/vpopmail/bin/vuserinfo [EMAIL PROTECTED]
name:   cbs
passwd: X
clear passwd: X
uid:0
gid:8
flags:  2152
gecos: cbs
limits:
imap access closed
smtp access is closed (*)
user not allowed to relay mail (*)
no dialup flag has been set (*)
* = set by domain-wide limits
dir:   /home/vpopmail/domains/mail.it/cbs
quota: 52428800S
usage: 26%
last auth: Thu Apr 10 10:31:02 2008
last auth ip: imap

>From my PC IMAP is disable now:

mail:~# tail -f /var/log/dovecot/dovecot.log | grep cbs

dovecot: Apr 10 11:06:36 Info: auth(default): 
vpopmail([EMAIL PROTECTED],80.149.171.97): lookup user=cbs domain=mail.it
dovecot: Apr 10 11:06:36 Info: auth(default): 
vpopmail([EMAIL PROTECTED],80.149.171.97): IMAP disabled
dovecot: Apr 10 11:06:37 Info: auth(default): client out: FAIL  752 
[EMAIL PROTECTED]
dovecot: Apr 10 11:06:37 Info: imap-login: Disconnected: user=<[EMAIL 
PROTECTED]>, 
method=PLAIN, rip=80.149.171.97, lip=152.19.154.67

But also from Webmail (localhost) is disable

dovecot: Apr 10 11:07:57 Info: auth(default): vpopmail([EMAIL 
PROTECTED],127.0.0.1): 
lookup user=cbs domain=mail.it
dovecot: Apr 10 11:07:57 Info: auth(default): vpopmail([EMAIL 
PROTECTED],127.0.0.1): 
IMAP disabled
dovecot: Apr 10 11:07:59 Info: auth(default): client out: FAIL  1990
[EMAIL PROTECTED]

If i set:

mail:~# /home/vpopmail/bin/vmoduser -w [EMAIL PROTECTED]

limits:
webmail access closed
smtp access is closed (*)
user not allowed to relay mail (*)
no dialup flag has been set (*)
* = set by domain-wide limits

I do not get any effect, IMAP always work from any IP.

My vchkpw.c is set properly, I think:

char *webmailips[] = { "127.0.0.1" };

Some questions:

Where writes the settings on limits vmoduser (MySQL, Maildir)?

How can investigate to find out where is the problem?

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:47fde164120509006914130!



[vchkpw] Use onchange for add user to ezmlm

2008-04-08 Thread Alessio Cecchi
On my qmail+vpopmail installation i want use the feature of onchange script to 
automatically add users to an ezmlm list when they are created.

Users are added through vpopmaild.

I read the documentation for onchange, but I am not very clear how it works.

Could someone give me an example on how to create a script for 
~vpopmail/etc/onchange ?

Many thanks.
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:47fba67f120504468065741!



Re: [vchkpw] Set properly dir hashing for one big domain

2008-03-06 Thread Alessio Cecchi
Il Thursday 06 March 2008 01:06:07 Ken Jones ha scritto:
> Alessio Cecchi wrote:
> > Hello,
> >
> > I have a dedicated server to registration e-mail free only. Every day
> > there are about 250 new users.
> >
> > I believe that the default setting for hashing vpopmail directory is not
> > optimal for this kind of service (make a new dir every 50 new accounts).
> >
> > What do you think?
> >
> > Can i improve it?
>
> Check your .h files of the vpopmail source.
> I have:
> #define MAX_USERS_PER_LEVEL 100
>
> Meaning 100 users per directory.
>
> The optimal number of subdirectories was discussed on
> the vpopmail list back in 1998 or 1998.
> I don't remember who did the research but they
> found a maximum of 150 to 200 directories provided
> the most efficient processing.
>
> The bigdir code tries to maintain this level by creating
> at most 100 user accounts per directory plus the subdirectory
> structure using 0-9,a-z,A-Z (10 + 26 + 26 = 62).
>
> So in any directory there would be a maximum of 162 directories,
> fits within the recommened 150 to 200 limit.
> With three levels deep of sub directories vpopmail would support
> some where around 20 million accounts, which seemed reasonable.
>
> That was the basic behind the bigdir code.
>
> It would probably be worth while to re-investigate the 150-200
> directory limit with today's current file system software.
>
> Hope that helps,
> Ken Jones

Ken thanks for your response,

i will increase it to 100. Can i edit it and rebuild vpopmail with new setting 
without problems on the current installation? 

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it
@ LOLUG -> neo-Socio http://www.lolug.net

!DSPAM:47cfc1b4120501028520180!



[vchkpw] Set properly dir hashing for one big domain

2008-03-04 Thread Alessio Cecchi
Hello,

I have a dedicated server to registration e-mail free only. Every day there 
are about 250 new users.

I believe that the default setting for hashing vpopmail directory is not 
optimal for this kind of service (make a new dir every 50 new accounts).

What do you think?

Can i improve it?
Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:47cd0471120505455617443!



Re: [vchkpw] Disable non webmail IMAP access

2008-03-03 Thread Alessio Cecchi
Il Tuesday 04 March 2008 07:10:32 Tom Collins ha scritto:
> Ah, I think I know what the problem is.  Courier-IMAP doesn't use  
> vchkpw.
>
> Switch to dovecot (what many have switched to) or binc-imap.

Ok Tom, 

I will try as soon as possible dovecot.

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:47ccef98120502021218367!



Re: [vchkpw] Disable non webmail IMAP access

2008-03-02 Thread Alessio Cecchi
Il Friday 29 February 2008 18:46:37 Tom Collins ha scritto:
> > There is someone who is able to disable access IMAP except for  
> > webmail (login
> > via localhost) ?
>
> Recent versions (like the past year, at least) include a list of IPs  
> for which IMAP connections are considered "webmail" and don't get  
> rejected for users who don't have IMAP access.
>
> Look in vchkpw.c for a 127.0.0.1 -- that's where the list is.

Thanks Tom,

my webmail already uses 127.0.0.1 (localhost) as IMAP host. In my vchkpw.c 
127.0.0.1 is already included this address, but vmoduser -i has no effect.

An extract of my vchkpw.c:

<<<<<<<<<
#define POP_CONN  0
#define SMTP_CONN 1
#define IMAP_CONN 2
#define WEBMAIL_CONN 3

/* POP/IMAP connections from the following IPs will be classified as
 * "web mail" instead of POP/IMAP.  On single-server networks, this
 * will typically be just 'localhost'.  For clusters, add the IP
 * addresses of all webmail servers.
 */
char *webmailips[] = { "127.0.0.1" };

int ConnType = 0;

int main( int argc, char **argv)
{
 char *tmpstr;

  if ( (IpAddr = get_remote_ip())  == NULL) IpAddr="";
  if ( (tmpstr = getenv("TCPLOCALPORT")) == NULL) LocalPort = 0;
  else LocalPort = atoi(tmpstr);
>>>>>>>>>

Someone using this option with success?

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:47cbab37120501250358044!



[vchkpw] Disable non webmail IMAP access

2008-02-29 Thread Alessio Cecchi
Hello,

i need, for a qmail+vpopmail server, to disable non webmail IMAP access only 
for some users. My Webmail is Horde and IMAP server is courier-imap 
(courier-authlib-0.60.2 and courier-imap-4.3.0).

With vmoduser would seem simple:

~/vpopmail/bin/vmoduser -i [EMAIL PROTECTED]

but but in reality does not work, in fact the command totally disables access 
to IMAP.

There is someone who is able to disable access IMAP except for webmail (login 
via localhost) ?

If necessary I can change my IMAP server.
Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:47c7c61e120508748717010!



Re: [vchkpw] Announce of simscan-gui-base-0.1 GPL version

2008-01-22 Thread Alessio Cecchi
Il Tuesday 22 January 2008 03:13:37 Remo Mattei ha scritto:
> I have a question Alessio.. ma se usi shupp.org/toaster dove sono i log
> di simscan.. Am I missing something since the only info I see about the
> simscan is under the /var/qmail/simscan and I have a huge 10megs file
> under that location (there is dir called 1198192110.336362.27290 1066)
> then the file msg.1xxx
>
> Thanks for your feedback..
> Remo

I Remo, 

from simscan-gui README:

QMAIL CONFIGURATION
===

Configure Qmail logger like this:

cat /var/qmail/supervise/qmail-smtpd/log/run

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog \
t s1000 n20 /var/log/qmail/smtpd \
t s1000 n20 '-*' '+* simscan:*' /var/log/qmail/simscan 2>&1

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:4795a395310546587312505!



[vchkpw] Announce of simscan-gui-base-0.1 GPL version

2008-01-21 Thread Alessio Cecchi
We’re happy to announce that the first version of simscan-gui-base is now 
available for download.

simscan-gui-base-0.1 GPL version

simscan-gui is a web based interfaces for trace and monitor incoming and 
outing e-mails from a qbox like (qmail, simscan) mail server. All e-mail 
users can access this interface to monitor their e-mail traffic.

Link:

http://dev.cecchi.biz/qbox/

This version is sponsored by CBS - www.cecchi.biz

You can send us your feedback to [EMAIL PROTECTED]
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> ex-Presidente, adesso senatore a vita, http://www.prato.linux.it

!DSPAM:4794bc8d310549099211406!



Re: [vchkpw] vpopmaild use 99% of CPU

2007-11-30 Thread Alessio Cecchi
Il Friday 30 November 2007 11:18:48 Boris Pavlov ha scritto:
> imap?

what you mean?

-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it

!DSPAM:474febb032001375351866!



[vchkpw] vpopmaild use 99% of CPU

2007-11-30 Thread Alessio Cecchi
Hello all,

i'm using vpopmaild to manage some domains (add_user, add_alias ...) with a 
simply php script run on a remote web service.

Many time vpopmaild after some command remains to use all CPU TIME as long as 
I kill vpopmaild process:

PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
30689 root  20   0  1012 1012  768 R 97.1  0.1   3:20.21 vpopmaild


With recordio i registered tha last command after which vpopmaild go 
into "loop":

@4000474fd7970d197e24 tcpserver: status: 1/10
@4000474fd7970d1c7fac tcpserver: pid 30689 from 212.35.215.144
@4000474fd7970d1db05c tcpserver: ok 30689 
0:63.149.200.5:89 :212.35.215.144::47632
@4000474fd7970d4bc924 30689 < login [EMAIL PROTECTED] XXX
@4000474fd7970daf1704 30689 > +OK M
@4000474fd7970db6102c 30689 <
@4000474fd7970db617fc 30689 < add_user [EMAIL PROTECTED] XM
@4000474fd7970dc8483c 30689 > +OK+M
@4000474fd7970dc8bd6c 30689 > vpopmail_dir /home/vpopmailM
@4000474fd7970dc92eb4 30689 > 
domain_dir /home/vpopmail/domains/circoli.itM
@4000474fd7970dc99444 30689 > uid 89M
@4000474fd7970dca0974 30689 > gid 89M
@4000474fd7970dcaff8c 30689 > name postmasterM
@4000474fd7970dcb075c 30689 > comment PostmasterM
@4000474fd7970dcb4dac 30689 > quota 52428800SM
@4000474fd7970dcbc2dc 30689 > 
user_dir /home/vpopmail/domains/circoli.it/postmasterM
@4000474fd7970dcc2c54 30689 > encrypted_password 
$1$xfoW4Kfg$..A0M
@4000474fd7970dcc99b4 30689 > clear_text_password XXXM
@4000474fd7970dcd032c 30689 > no_password_change 0M
@4000474fd7970dcd6ca4 30689 > no_pop 0M
@4000474fd7970dcdda04 30689 > no_webmail 0M
@4000474fd7970dce3f94 30689 > no_imap 0M
@4000474fd7970dcea524 30689 > bounce_mail 0M
@4000474fd7970dcf0e9c 30689 > no_relay 0M
@4000474fd7970dcf7814 30689 > no_dialup 0M
@4000474fd7970dcfe18c 30689 > user_flag_0 0M
@4000474fd7970dd0471c 30689 > user_flag_1 0M
@4000474fd7970dd0acac 30689 > user_flag_2 0M
@4000474fd7970dd11a0c 30689 > user_flag_3 0M
@4000474fd7970dd17f9c 30689 > no_smtp 0M
@4000474fd7970dd1e914 30689 > domain_admin_privileges 1M
@4000474fd7970dd2528c 30689 > override_domain_limits 0M
@4000474fd7970dd2bc04 30689 > no_spamassassin 0M
@4000474fd7970dd32194 30689 > delete_spam 0M
@4000474fd7970dd38724 30689 > no_maildrop 0M
@4000474fd7970dd3f09c 30689 > system_admin_privileges 0M
@4000474fd7970dd56b84 30689 > .M
@4000474fd7970e4b1884 30689 < [EOF]
@4000474fd7970f781f04 30689 > -ERR 0.305 Username existsM
@4000474fd7f825dfafb4 tcpserver: status: 2/10

After this vpopmaild stay in an infinite "loop" using all CPU Time :(

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it

!DSPAM:474fd9e732007209068805!



Re: [vchkpw] vpopmail 5.4.26 released

2007-11-19 Thread Alessio Cecchi
Il Saturday 17 November 2007 10:46:15 Rick Widmer ha scritto:
> thanks for testing!

Thanks to you :-)

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it

!DSPAM:474189af32006126212452!



Re: [vchkpw] vpopmail 5.4.26 released

2007-11-17 Thread Alessio Cecchi
Il Saturday 17 November 2007 08:34:11 Rick Widmer ha scritto:
> > aclocal.m4:17: error: this file was generated for autoconf 2.61.
> > You have another version of autoconf.  If you want to use that,
> > you should regenerate the build system entirely.
>
> I have updated the tar file in the 5.4.26 release with 5.4.26d.tar.gz
> which should take care of all the build system problems.  Sorry...

Ok, now on my debian sarge build fine!

With this upgrade, i went from 5.4.25, i need to rebuild also qmail (i'm using 
chkuser) and courier-imap?

Thank you Rick!
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it

!DSPAM:473eb90e32001283811440!



Re: [vchkpw] vpopmail 5.4.26 released

2007-11-13 Thread Alessio Cecchi
Il Sunday 04 November 2007 02:27:01 Rick Widmer ha scritto:
> http://vpopmail.sf.net/
>
> 5.4.26 (development) - released 03-Nov-07

Hello,

i have this problem to build this version of vpopmail:

scbs1:/home/alessice/mail/vpopmail-5.4.26# ./configure --enable-mysql-limits 
--enable-auth-module=mysql --enable-logging=p --enable-libdir=/usr/lib/  
[...]
scbs1:/home/alessice/mail/vpopmail-5.4.26# make
cd . && /bin/sh /home/alessice/mail/vpopmail-5.4.26/missing --run autoconf
aclocal.m4:17: error: this file was generated for autoconf 2.61.
You have another version of autoconf.  If you want to use that,
you should regenerate the build system entirely.
aclocal.m4:17: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
make: *** [configure] Error 1

My system is a debian sarge.
Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it

!DSPAM:473a131332001892169277!



Re: [vchkpw] Can sql loggining log IMAP access?

2007-11-02 Thread Alessio Cecchi
Il Thursday 01 November 2007 15:48:40 Matthew Tice ha scritto:
> Someone please correct me if I'm wrong, but that would depend entirely on
> your IMAP service.  Vpopmail  doesn't do imap.

Yes, i know that vpopmail don't do IMAP, but courier-authlib use vpopmail lib. 
from authentication, so I thought that it could log the auth. request.

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it

!DSPAM:472b245d32004080710499!



[vchkpw] Can sql loggining log IMAP access?

2007-11-01 Thread Alessio Cecchi
Hello, 

i have build vpopmail with the options: enable-logging=y  and 
enable-sql-logging, al pop3 access are now logged but no IMAP (from 
courier-imap) are logged in sql table.

My intention is yo have all access (imap and pop) log in mysql.

Can vpopmail log access from IMAP?

Ciao
--
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it

!DSPAM:4729c7b032001871913415!



[vchkpw] Problem with vpopmaild

2007-10-16 Thread Alessio Cecchi
When i start to using vpopmaild i have this problem:

scbs1:~# top
top - 15:26:33 up 98 days, 18:29,  1 user,  load average: 23.58, 23.29, 22.61
Tasks: 226 total,  23 running, 196 sleeping,   7 stopped,   0 zombie
Cpu(s):  39.9% user,  59.1% system,   1.0% nice,   0.0% idle
Mem:   1016548k total,   934404k used,82144k free,   182920k buffers
Swap:   979924k total,   143952k used,   835972k free,   384288k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
25744 root  15   0  1008 1008  760 R  8.8  0.1  43:07.51 vpopmaild
10551 root  14   0  1156 1156  776 R  8.5  0.1  60:45.03 vpopmaild
21612 root  14   0  1012 1012  760 R  8.5  0.1  49:03.83 vpopmaild
27763 root  15   0  1012 1012  760 R  8.5  0.1  40:56.89 vpopmaild
27865 root  15   0  1008 1008  760 R  8.5  0.1  40:50.94 vpopmaild
 8684 root  14   0  1012 1012  760 R  8.3  0.1  72:24.54 vpopmaild
27941 root  14   0  1012 1012  760 R  8.3  0.1  39:57.16 vpopmaild
27481 root  14   0  1008 1008  760 R  8.0  0.1  41:15.40 vpopmaild
27881 root  15   0  1012 1012  760 R  8.0  0.1  40:45.00 vpopmaild
29433 root  15   0  1012 1012  760 R  8.0  0.1  39:36.29 vpopmaild
27434 root  14   0  1012 1012  760 R  8.0  0.1  26:57.98 vpopmaild
24140 root  14   0  1008 1008  760 R  8.0  0.1  17:26.18 vpopmaild
10088 root  14   0  1012 1012  760 R  8.0  0.1   4:07.60 vpopmaild
10513 root  14   0  1008 1008  760 R  8.0  0.1   3:59.49 vpopmaild
11058 root  14   0  1012 1012  760 R  8.0  0.1   3:44.40 vpopmaild
11131 root  14   0  1016 1016  764 R  8.0  0.1   3:40.50 vpopmaild
29578 root  15   0  1008 1008  760 R  7.8  0.1  39:11.35 vpopmaild
10408 root  14   0  1012 1012  760 R  7.5  0.1   4:03.86 vpopmaild
10726 root  14   0  1012 1012  760 R  7.5  0.1   3:53.17 vpopmaild

This is my vpopmaild service-run:

#!/bin/sh
exec 2>&1
exec env - PATH="/usr/bin:/bin:/usr/local/bin" \
tcpserver -vHRD 0 89 ~vpopmail/bin/vpopmaild

Have you a better version?

My vpopmail version is 5.4.22.
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it


Re: [vchkpw] Emulate some vpopmail commands.

2007-09-13 Thread Alessio Cecchi
On Wednesday 12 September 2007 19:19:02 Marco wrote:
> That you know, it's possible to emulate some commandos of the type
> vadddomain, vadduser also in version reduced through cgi scripts, for
> example in perl language?

Why you not use vpopmaild? Is like a vpopmail "API" interface.

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it


Re: [vchkpw] Problem with add_alias

2007-09-06 Thread Alessio Cecchi
On Thursday 06 September 2007 15:48:56 Joshua Megerman wrote:
> > Also if i open the same .qmail vith vim i see [DOS] for encoding.
>
> Actually, looking at the code, he's right - the line in question is in
> vpopmaild.c, line 1002:
>
>     if ((alias_line=strtok(NULL, "\n"))==NULL) {
>
> The strtok tokenizes after the '\n' (), leaving the '\r' () as the
> last character of the alias_line, which would have the exact effect he's
> seeing.  Looks like the same bug exists on line 1051 as well (identical
> code block in remove_alias).  Every other instance of strtok() uses one of
> two defines for the token list - TOKENS or PASS_TOKENS, these are the only
> two strtok() calls using an explicit token list.  Patch is attached.

Thank you Joshua,

with this patch now add_alias from telnet works!

Bye
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it


Re: [vchkpw] Problem with add_alias

2007-09-06 Thread Alessio Cecchi
On Thursday 06 September 2007 07:18:32 Rick Widmer wrote:
> > @400046dea9ab22704ab4 delivery 2089: failure:
> > Sorry,_I_couldn't_find_any_host_named_server.com?._(#5.1.2)/
> > @400046dea9ab22738ea4 status: local 0/10 remote 0/20
> >
> >
> > Please note the problem of the domain name:
> >
> > server.com?.
>
> That is where you told it to send mail received by [EMAIL PROTECTED]:
>
>    add_alias [EMAIL PROTECTED] [EMAIL PROTECTED]
>
> > Why this?
>
> server.com doesn't have any MX records, so qmail can't find a host to
> send the message to.
>
> > Could be the problem relate to the "" of the telnete session?
>
> No.

Sorry Rick but the problem is crlf, the domain are only for example (on my 
server i have used real domain name like gmail.com), but the problem is 
the .qmail generated by the add_alias, infact if i run dos2unix .qmail-prova 
the alias works.

Also if i open the same .qmail vith vim i see [DOS] for encoding.

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it


[vchkpw] Problem with add_alias

2007-09-05 Thread Alessio Cecchi
I'm using vpopmail 5.4.20 with vpopmaild enable.

When i add an alias from a telnet session:

[EMAIL PROTECTED]:~$ telnet mail.pippo.com 89
Trying 83.49.65.71...
Connected to mail.pippo.com.
Escape character is '^]'.
+OK
login [EMAIL PROTECTED] X
+OK+
vpopmail_dir /home/vpopmail
domain_dir /home/vpopmail/domains/pippo.com
[...]
no_maildrop 0
system_admin_privileges 0
.
add_alias [EMAIL PROTECTED] [EMAIL PROTECTED]
+OK
quit
+OK
Connection closed by foreign host.

After i'm unable to send e-mail to the alias:

Hi. This is the qmail-send program at s1.pippo.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<[EMAIL PROTECTED]>:
Sorry, I couldn't find any host named server.com?. (#5.1.2)

--- Below this line is a copy of the message.

[...]

@400046dea9ab22704ab4 delivery 2089: failure: 
Sorry,_I_couldn't_find_any_host_named_server.com?._(#5.1.2)/
@400046dea9ab22738ea4 status: local 0/10 remote 0/20


Please note the problem of the domain name:

server.com?. 

Why this?

Could be the problem relate to the "" of the telnete session?

Thanks
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it


Re: [vchkpw] Throttling users

2007-06-14 Thread Alessio Cecchi
On Thursday 14 June 2007 00:15:39 ed wrote:
> Is there a API style interface for working with vpopmail?

vpopmaild

Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it


Re: [vchkpw] maildirsize file with problem

2007-05-07 Thread Alessio Cecchi
On Monday 07 May 2007 19:18:20 Luis Clemente wrote:
>     I have a Webmail with vpopmail and virtual domains. My problem is when
> i use a email client, like Outlook Express, in some cases, the messages are
> downloaded but the maildirsize file is not updated.

Hav you the last version of vpopmail? And your qmail have the patch for 
maildir++ like this : 
http://shupp.org/patches/qmail-maildir++-universal.patch

You use IMAP4 or POP3?
Ciao
-- 
Alessio Cecchi is:
@ ILS -> http://www.linux.it/~alessice/
Assistenza Sistemi GNU/Linux -> http://www.cecchi.biz/
@ PLUG -> Presidente, http://www.prato.linux.it


[vchkpw] Info for popfetch

2007-05-02 Thread Alessio Cecchi
Hello, in contrib dir of vpopmail tar.gz there is this interesting tool.

I have unpack it and in the README i see:

Configuration:
  * Edit popfetch.h and make changes to IP and port of POP server
  * Compile
  * Copy into some library directory
  * Link to a properly patched vchkpw.c with clear text password config

Edit is Ok, compile is simple (only make i think), but "Copy ..." 
and "Link ..." ? Can some provide me an example for the last two steps?

If i don't know the password of the users, but i configure vpopmail 
with "--enable-learn-passwords" can i enable after popfetch for download 
email from the old server?

Thanks


Re: [vchkpw] Rethinking qmail : was Re: [vchkpw] how use chkuser on "dmz"

2007-01-11 Thread Alessio Cecchi
Alle 12:31, giovedì 11 gennaio 2007, tonix (Antonio Nati) ha scritto:
> I'm thinking to extend chkuser, and add an smtp fake delivery for
> checking recipients existance on end systems (i.e. when domains are
> external and use me as proxy SMTP).
>
> But I'm really tired to fight with qmail. Bernstein programming is
> accademic and heavy to use, license is criminal. Programming with
> patches over patches is painful. There is no fun to put new features
> on this old and overextimated product. You have to run several
> chained programs just to make an SMTP acceptance...
>
> I feel is time to migrate to another product, or is there anyone
> available to start a new project, that should rewrite a little by
> little qmail, and free all of us from this criminal license?
>
> Project should start with a "programmed way" to add new features and
> patch, then making a decent "configure", then starting to write new
> libraries and then substituting the old code, until we have a free
> mail system. Of course vpopmail would be a library integrated in this
> new product.

Hello tonix, hello all

also i thinks it's time to create a new MTA compatibles with qmail (but more 
important is vpopmail). The only motivation for use qmail today is vpopmail 
and related tool (qmailadmin, vqadmin,...).

Patch over patch isn't a good way to procede.

Bye


Re: [vchkpw] Error: "Entry is out of order"

2006-11-10 Thread Alessio Cecchi
Alle 00:01, giovedì 9 novembre 2006, Tom Collins ha scritto:
> On Nov 8, 2006, at 5:40 AM, Alessio Cecchi wrote:
> > This is the first time that i see this error:
> >
> > scbs1:~# /home/vpopmail/bin/vadddomain test.lan
> > Please enter password for postmaster:
> > enter password again:
> > Entry is out of order: pippo.com
>
> vpopmail now sorts users/assign and other control files.  The first
> time you run vadddomain, it sees that the file isn't sorted and so it
> sorts it.
>
> Unless you manually edit the files, you won't see the notices again.

Ok, thanks Tom. So it's only a NOTICE.

Ciao

!DSPAM:455436b927413846618049!



[vchkpw] Error: "Entry is out of order"

2006-11-08 Thread Alessio Cecchi
This is the first time that i see this error:

scbs1:~# /home/vpopmail/bin/vadddomain test.lan
Please enter password for postmaster:
enter password again:
Entry is out of order: pippo.com
Entry is out of order: pippo.it
Entry is out of order: pluto.it
Entry is out of order: paperino.biz.scbs1
Entry is out of order: pippo.com
Entry is out of order: pippo.it
Entry is out of order: pluto.it
Entry is out of order: paperino.biz.scbs1

But what means "Entry is out of order" ?

The server is with the latest stable vpopmail + mysql

Thanks

!DSPAM:4551de5927418834618560!



Re: [vchkpw] vmysql: sql error[3]: MySQL server has gone away

2006-05-16 Thread Alessio Cecchi
Alle 09:56, venerdì 5 maggio 2006, Jianbin Xiao ha scritto:
> my patch: http://www.xiaojb.com/upload/2006/vmysql.patch
> You need apply this patch and recompile vpopmail&courier-authlib.
>
> Pls try it,if you have question,contact me.

After some days of test i can say that the patch works!
Thanks
-- 
Alessio Cecchi ++ www.skye.it


[vchkpw] vmysql: sql error[3]: MySQL server has gone away

2006-05-04 Thread Alessio Cecchi
Hello

i have install sqwebmail 5.1.1 (upgrade from 4.0.4) courier-imap 4.1.0 on a 
Fedora 1 server and courier-authlib 0.58. Users are in vpopmail (upgrade from 
5.4.3 to 5.4.13) + mysql (MySQL-server-5.0.15-0.glibc23) and vpopmail (for 
pop3) works fine.

But IMAP and also sqWebmail after some times don't work:

May  4 15:18:45 ServerDedicato authdaemond: received auth request, 
service=webmail, authtype=login
May  4 15:18:45 Server authdaemond: authvchkpw: trying this module
May  4 15:18:45 Server authdaemond: vmysql: sql error[3]: MySQL server has 
gone away
May  4 15:18:45 Server authdaemond: vchkpw: user does not exist
May  4 15:18:45 Server authdaemond: authvchkpw: REJECT - try next module
May  4 15:18:45 Server authdaemond: FAIL, all modules rejected
May  4 15:18:45 Server sqwebmaild: LOGIN FAILED, [EMAIL PROTECTED], 
ip=[19.10.53.57]

On courier maling-list said me that thi a know vpopmail bug of older version, 
so i have upgraded to latest stable version of vpopmail (from 5.4.3) but the 
preblome persist.

Hav you some suggestions?
Thanks
p.s.
mysql server works fine
-- 
Alessio Cecchi ++ www.skye.it


Re: [vchkpw] How disable non-webmail IMAP access?

2005-05-09 Thread Alessio Cecchi
Rick Macdougall ha scritto:

Alessio Cecchi wrote:
Rick Macdougall ha scritto:
Hi,
What version of vpopmail are you using ?

Vpopmail 5.4.10. For you works this patch? With what command you 
disable IMAP except for 127.0.0.1 ?
Hi,
Yes it does.
 From the changelog
- vchkpw: classify POP/IMAP connections from select IPs (defaults
  to 127.0.0.1) as webmail and check NO_WEBMAIL user flag
  instead of NO_POP and NO_IMAP.
One thing to check though, that your webmail client is connecting to 
127.0.0.1, and not your external IP.
Yes, the webmail client is connetting to 127.0.0.1. What vpopmail 
command you use to set this options?

Thanks
--
Alessio Cecchi ++ www.skye.it


Re: [vchkpw] How disable non-webmail IMAP access?

2005-05-06 Thread Alessio Cecchi
Rick Macdougall ha scritto:
Hi,
What version of vpopmail are you using ?
Vpopmail 5.4.10. For you works this patch? With what command you disable 
IMAP except for 127.0.0.1 ?

Thanks
--
Alessio Cecchi ++ www.skye.it


Re: [vchkpw] How disable non-webmail IMAP access?

2005-05-06 Thread Alessio Cecchi
Rick Macdougall ha scritto:
It's a very small patch, you should be able to find the corresponding 
place in your version of courier-imap to change it.

Regards,
In fact, i have correctly apply the patch and recompiling with success 
courier-imap, but have no effect!

Thanks
--
Alessio Cecchi ++ www.skye.it


Re: [vchkpw] How disable non-webmail IMAP access?

2005-05-06 Thread Alessio Cecchi
Rick Macdougall ha scritto:
Alessio Cecchi wrote:
I have a server with qmail+vpopmail 5.4.10, courier-imap 4.0.2, 
sqwebmail 5.0.1 and horde.

I need to disable the IMAP access but no the webmail access. In fact 
if i disable IMAP, with horde can't login.

I have seen vmoddomlimits and vmoduser but i'm able only to disable 
the IMAP global.

I can disable webmail access for sqwebmail with:
/home/vpopmail/bin/vmoddomlimits -g w skye.it
and
/home/vpopmail/bin/vmoduser -w skye.it
(what is the difference?)
/home/vpopmail/bin/vmoduser -i skye.it should disable IMAP access but 
not for Webmail, but for me dont'work.

What is wrong?
Hi,
Attached is a patch for courier-imap that you may have to manually add 
as I forget what version it's for that does exactly that.
Thanks Rick, but this patch not work on my server with 
courier-imap-3.0.8 (with the new courierauthlib in incompatible).

Thanks
--
Alessio Cecchi ++ www.skye.it


Re: [vchkpw] How disable non-webmail IMAP access?

2005-05-05 Thread Alessio Cecchi
Jason Wilkinson ha scritto:
Alessio Cecchi wrote:
I have a server with qmail+vpopmail 5.4.10, courier-imap 4.0.2,
sqwebmail 5.0.1 and horde.
I need to disable the IMAP access but no the webmail access. In fact
if i disable IMAP, with horde can't login.
I have seen vmoddomlimits and vmoduser but i'm able only to disable
the IMAP global.
I can disable webmail access for sqwebmail with:
/home/vpopmail/bin/vmoddomlimits -g w skye.it
and
/home/vpopmail/bin/vmoduser -w skye.it
(what is the difference?)
/home/vpopmail/bin/vmoduser -i skye.it should disable IMAP access but
not for Webmail, but for me dont'work.
What is wrong?
Can you use iptables to firewall access to that port from anywhere other
than your horde server?
No because the goal of vpopmail limits is to set the limits for domain 
or single user.

Thanks
--
Alessio Cecchi ++ www.skye.it


[vchkpw] How disable non-webmail IMAP access?

2005-05-05 Thread Alessio Cecchi
I have a server with qmail+vpopmail 5.4.10, courier-imap 4.0.2, 
sqwebmail 5.0.1 and horde.

I need to disable the IMAP access but no the webmail access. In fact if 
i disable IMAP, with horde can't login.

I have seen vmoddomlimits and vmoduser but i'm able only to disable the 
IMAP global.

I can disable webmail access for sqwebmail with:
/home/vpopmail/bin/vmoddomlimits -g w skye.it
and
/home/vpopmail/bin/vmoduser -w skye.it
(what is the difference?)
/home/vpopmail/bin/vmoduser -i skye.it should disable IMAP access but 
not for Webmail, but for me dont'work.

What is wrong?
--
Alessio Cecchi ++ www.skye.it


[vchkpw] vpopmail and drbd

2005-04-19 Thread Alessio Cecchi
Hello
i'm testing a configuration of qmail+vpopmail+drbd+heartbeat on two 
servers, master and slave. My intentions are to share with drbd the home 
of vpopmail, /var/qmail/users and /var/qmail/control, for setting up the 
slave server in case of down of the primary server.

Nobody has experiences of this type or suggestions?
Thanks
--
Alessio Cecchi ++ www.skye.it


Re: [vchkpw] Error: Illegal username on change password

2005-03-31 Thread Alessio Cecchi
Alessio Cecchi ha scritto:
What i can check?
Ok solved, another admin have set "password can not be changed by user" 
in domain limits...

Thanks
--
Alessio Cecchi ++ www.skye.it


[vchkpw] Error: Illegal username on change password

2005-03-31 Thread Alessio Cecchi
I have a domain in a box linux (with other domains that work well) that 
i cannot change the password for all users.

On this server is installed
netqmail + vpopmail 5.4.5 (mysql and clear text passwd) + qmailadmin and 
vqadmin.

The /var/qmail/user/assign is ok (i think..)
What i can check?
--
Alessio Cecchi ++ www.skye.it


Re: [vchkpw] .over-quota.msg sent only one time

2005-03-09 Thread Alessio Cecchi
Michael Bowe ha scritto:
Only 1 quota message is to the mailbox owner per 24 hours. This is
controlled by a quotawarn file being placed into the user's dir. The
datestamp of this file is used to keep track of when the last quota
Oh yes, i can see this file i users's home.
Thanks
--
Alessio Cecchi ++ www.skye.it


[vchkpw] .over-quota.msg sent only one time

2005-03-08 Thread Alessio Cecchi
Hello
I have set-up /home/vpopmail/domains/.over-quota.msg
But the messagges arrives only one time. I delete all the messages, from 
webmail (sqwebmail), but the message does not return more.

Can somebody help me?
Thanks
--
Alessio Cecchi ++ www.skye.it


[vchkpw] Maildrop and .over-quota.msg

2005-03-07 Thread Alessio Cecchi
I have a problem with qmail+vpopmail and maildrop for filter email'users.
I have set .over-quota.msg and .quotawarn.msg in /home/vpopmail/domains/ 
and works correctly.

But if a set a .qmail for a user like this:
#cat /home/vpopmail/domains/pippo.it/pluto/.qmail
|preline /usr/bin/maildrop .mailfilter
The alert messages does not arrive.
Why? Is Maildrop incampatible with this vpopmail's warn?
Thanks
--
Alessio Cecchi ++ www.skye.it