Re: [vchkpw] vpopmail management

2005-08-02 Thread Rick Macdougall

Jimmy Stewpot wrote:


Hello,

I have got a system now working brilliantly after some issues with
massive mail stores. (see the Massive folders thread for more
information and thanks to everyone that helped me with that one).

I have an issue now where I am creating the users by inserting the
information into the mysql database and then authenticating that user.
That will then automatically create the folders for that users mail.
However as far as I can tell there is no easy way to go through and
delete the mail user when its deleted from the database. Is there any
easy way to do that with vpopmail?

 


Hi,

~vpopmail/bin/vdeluser username

Regards,

Rick



Re: [vchkpw] vpopmail management

2005-08-02 Thread Jimmy Stewpot


Rick Macdougall wrote:
 Jimmy Stewpot wrote:
 
 Hello,

 I have got a system now working brilliantly after some issues with
 massive mail stores. (see the Massive folders thread for more
 information and thanks to everyone that helped me with that one).

 I have an issue now where I am creating the users by inserting the
 information into the mysql database and then authenticating that user.
 That will then automatically create the folders for that users mail.
 However as far as I can tell there is no easy way to go through and
 delete the mail user when its deleted from the database. Is there any
 easy way to do that with vpopmail?

  

 Hi,
 
 ~vpopmail/bin/vdeluser username

The problem I have with that is the mail access system is separate to
the mail store system which is separate to the DB server doing the
authentication.

The way that I have put forward is when the users are deleted from the
DB I have the records copied into a todelete table. That to delete table
is then queried to create a text file then perl/bash just runs a for
loop each user.

Can anyone see any issues with that?


 
 Regards,
 
 Rick
 
 
 


Re: [vchkpw] vpopmail management

2005-08-02 Thread Rick Macdougall

Jimmy Stewpot wrote:


Rick Macdougall wrote:
 


Jimmy Stewpot wrote:

   


Hello,

I have got a system now working brilliantly after some issues with
massive mail stores. (see the Massive folders thread for more
information and thanks to everyone that helped me with that one).

I have an issue now where I am creating the users by inserting the
information into the mysql database and then authenticating that user.
That will then automatically create the folders for that users mail.
However as far as I can tell there is no easy way to go through and
delete the mail user when its deleted from the database. Is there any
easy way to do that with vpopmail?



 


Hi,

~vpopmail/bin/vdeluser username
   



The problem I have with that is the mail access system is separate to
the mail store system which is separate to the DB server doing the
authentication.

The way that I have put forward is when the users are deleted from the
DB I have the records copied into a todelete table. That to delete table
is then queried to create a text file then perl/bash just runs a for
loop each user.

Can anyone see any issues with that?
 


Hi,

Should be fine as long as you remember that there might be .qmail-user 
files in the home directory of that domain.


Regards,

Rick



[vchkpw] vacation .qmail in the wrong place?!

2005-08-02 Thread kalin mintchev

hi all

using qmailadmin to create vacation messages. a .qmail file for the
vacation message is created in the users directory. that one is not being
read by vdelivermail because there is a .qmail-default in each domain's
directory. i manually have to move the .qmail one level up to
.qmail-vacation_user in order for the vacation message to work... i don't
want to move it manually. i don't know when users would like to go on
vacation. it doesn't work for them until they call me...

on this machine versions are like:

qmailadmin 1.2.0
vpopmail 5.4.0

i know both have newer versions..  is this taken care of in the newer
versions?

thanks...



--




Re: [vchkpw] vacation .qmail in the wrong place?!

2005-08-02 Thread kalin mintchev

 vdelivermail will read the .qmail file in the users directory.  You
 should not need to move anything.  You might need to upgrade your
 vpopmail version though.

it doesn't...  all domains use maildrop in .qmail-default like:
|maildrop mailfilter

and the relevant lines in the mailfilter:

xfilter /usr/bin/deliverquota $VHOME/Maildir

i guess then deliverquota doesn't read the .qmail file...

copy is kept but vacation hasn't been used. there is nothing in the
maillog about sending mail back either


 Regards,

 Rick




--




Re: [vchkpw] vacation .qmail in the wrong place?!

2005-08-02 Thread Rick Macdougall

kalin mintchev wrote:


vdelivermail will read the .qmail file in the users directory.  You
should not need to move anything.  You might need to upgrade your
vpopmail version though.
   



it doesn't...  all domains use maildrop in .qmail-default like:
|maildrop mailfilter

and the relevant lines in the mailfilter:

xfilter /usr/bin/deliverquota $VHOME/Maildir

i guess then deliverquota doesn't read the .qmail file...

copy is kept but vacation hasn't been used. there is nothing in the
maillog about sending mail back either
 


Hi,

Well since you aren't calling vdelivermail from the .qmail-default file, 
of course it isn't going to read the .qmail files in the users 
directories.  You are stuck with creating the .qmail-vacation_user files 
manually in the top level directory if you don't use vdelivermail in the 
.qmail-default file.


You might try changing the

xfilter /usr/bin/deliverquota $VHOME/Maildir

to something like

xfilter | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

and see if that helps.


Regards,

Rick



Re: [vchkpw] vacation .qmail in the wrong place?!

2005-08-02 Thread Rick Macdougall

kalin mintchev wrote:


You might try changing the

xfilter /usr/bin/deliverquota $VHOME/Maildir

to something like

xfilter | /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

and see if that helps.
   




thanks...  but then the quota wont be read?!?
 



Hi,

Yes, vdelivermail does read the maildirsize file and enforces quotas.  
You may need to upgrade to 5.4.12 to get all the latest fixes though.


Regards,

Rick



Re: [vchkpw] vacation .qmail in the wrong place?!

2005-08-02 Thread kalin mintchev

 Yes, vdelivermail does read the maildirsize file and enforces quotas.
 You may need to upgrade to 5.4.12 to get all the latest fixes though.

what will be the difference between vdelivermail and vdeliverquota then?

and i did change to vdelivermail in the maildrop scripts. still doesn't
work...

does that mean that in vpopmail 5.4.0 vdelivermail in a maildrop script
doesn't read the .email files in the user directory, but it does in the
latest version?

thanks...




 Regards,

 Rick




--