Re: [qmailtoaster] last account access

2009-02-24 Thread Eric Shubert

That's certainly possible. Would someone like to create a ticket for that?

Phil Leinhauser wrote:

It's not the trusting part as much as I can warn someone before I kill the
account.

Nice script.  Maybe it can be built in to QTP?



-Original Message-
From: PakOgah [mailto:pako...@pala.bo-tak.info] 
Sent: Tuesday, February 24, 2009 9:49 PM

To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] last account access

Correct,
at first you can do this, if you don't believe the script :)
but if you already have 100% trust, you can directly deleted the expired 
account automatically


p...@teqknow.com wrote:

As I read through the script, it looks like you can have it just email a
report without deleting?  Then go back and manually do the cleanup?

  

Very good this is exactly what I need

Thanks
q




From: PakOgah [mailto:pako...@pala.bo-tak.info]
Sent: Mon 2/23/2009 11:30 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] last account access



Kyle Quillen wrote:


-Original Message-
From: PakOgah [mailto:pako...@pala.bo-tak.info]
Sent: Mon 2/23/2009 11:26 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] last account access

Jake Vickers wrote:

  

Phil Leinhauser wrote:



Very cool.  Thanks!

-Original Message-
From: Catalin LEANCA [mailto:catal...@rotld.ro] Sent: Sunday,
February 22, 2009 5:09 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] last account access

Hello

# /home/vpopmail/bin/vuserinfo email_address

Catalin L.

Phil Leinhauser wrote:


  

Is there something to look at that would tell the last time an
account was accessed?  I may have a bunch of accounts that are long
forgotten about.





If you look way back in the archives, someone wrote a script that
deleted "forgotten" accounts after x number of days as well. May come
in handy.





Jake, it was me :D
already on wiki long time ago
http://wiki.qmailtoaster.com/index.php/Automatic_account_expirations
hopefully useful
cheers



So this script is still a good one?  Does the script also delete the
users directory?

Thanks
Q


  

Yap, it's still good, I am still using it as I am a lazy admin :D
and of course it's also delete the users' dir.

QMAILDEL="/home/vpopmail/bin/vdeluser"
...
...
$QMAILDEL $email







-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



--
-Eric 'shubes'


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



RE: [qmailtoaster] last account access

2009-02-24 Thread Phil Leinhauser
It's not the trusting part as much as I can warn someone before I kill the
account.

Nice script.  Maybe it can be built in to QTP?



-Original Message-
From: PakOgah [mailto:pako...@pala.bo-tak.info] 
Sent: Tuesday, February 24, 2009 9:49 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] last account access

Correct,
at first you can do this, if you don't believe the script :)
but if you already have 100% trust, you can directly deleted the expired 
account automatically

p...@teqknow.com wrote:
> As I read through the script, it looks like you can have it just email a
> report without deleting?  Then go back and manually do the cleanup?
>
>   
>> Very good this is exactly what I need
>>
>> Thanks
>> q
>>
>>
>> 
>>
>> From: PakOgah [mailto:pako...@pala.bo-tak.info]
>> Sent: Mon 2/23/2009 11:30 PM
>> To: qmailtoaster-list@qmailtoaster.com
>> Subject: Re: [qmailtoaster] last account access
>>
>>
>>
>> Kyle Quillen wrote:
>> 
>>> -Original Message-
>>> From: PakOgah [mailto:pako...@pala.bo-tak.info]
>>> Sent: Mon 2/23/2009 11:26 AM
>>> To: qmailtoaster-list@qmailtoaster.com
>>> Subject: Re: [qmailtoaster] last account access
>>>
>>> Jake Vickers wrote:
>>>
>>>   
 Phil Leinhauser wrote:

 
> Very cool.  Thanks!
>
> -Original Message-
> From: Catalin LEANCA [mailto:catal...@rotld.ro] Sent: Sunday,
> February 22, 2009 5:09 PM
> To: qmailtoaster-list@qmailtoaster.com
> Subject: Re: [qmailtoaster] last account access
>
> Hello
>
> # /home/vpopmail/bin/vuserinfo email_address
>
> Catalin L.
>
> Phil Leinhauser wrote:
>
>
>   
>> Is there something to look at that would tell the last time an
>> account was accessed?  I may have a bunch of accounts that are long
>> forgotten about.
>>
>>
>>
>> 
 If you look way back in the archives, someone wrote a script that
 deleted "forgotten" accounts after x number of days as well. May come
 in handy.



 
>>> Jake, it was me :D
>>> already on wiki long time ago
>>> http://wiki.qmailtoaster.com/index.php/Automatic_account_expirations
>>> hopefully useful
>>> cheers
>>>
>>>
>>>
>>> So this script is still a good one?  Does the script also delete the
>>> users directory?
>>>
>>> Thanks
>>> Q
>>>
>>>
>>>   
>> Yap, it's still good, I am still using it as I am a lazy admin :D
>> and of course it's also delete the users' dir.
>>
>> QMAILDEL="/home/vpopmail/bin/vdeluser"
>> ...
>> ...
>> $QMAILDEL $email
>>
>>
>>
>> 


-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] last account access

2009-02-24 Thread PakOgah

Correct,
at first you can do this, if you don't believe the script :)
but if you already have 100% trust, you can directly deleted the expired 
account automatically


p...@teqknow.com wrote:

As I read through the script, it looks like you can have it just email a
report without deleting?  Then go back and manually do the cleanup?

  

Very good this is exactly what I need

Thanks
q




From: PakOgah [mailto:pako...@pala.bo-tak.info]
Sent: Mon 2/23/2009 11:30 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] last account access



Kyle Quillen wrote:


-Original Message-
From: PakOgah [mailto:pako...@pala.bo-tak.info]
Sent: Mon 2/23/2009 11:26 AM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] last account access

Jake Vickers wrote:

  

Phil Leinhauser wrote:



Very cool.  Thanks!

-Original Message-
From: Catalin LEANCA [mailto:catal...@rotld.ro] Sent: Sunday,
February 22, 2009 5:09 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] last account access

Hello

# /home/vpopmail/bin/vuserinfo email_address

Catalin L.

Phil Leinhauser wrote:


  

Is there something to look at that would tell the last time an
account was accessed?  I may have a bunch of accounts that are long
forgotten about.





If you look way back in the archives, someone wrote a script that
deleted "forgotten" accounts after x number of days as well. May come
in handy.





Jake, it was me :D
already on wiki long time ago
http://wiki.qmailtoaster.com/index.php/Automatic_account_expirations
hopefully useful
cheers



So this script is still a good one?  Does the script also delete the
users directory?

Thanks
Q


  

Yap, it's still good, I am still using it as I am a lazy admin :D
and of course it's also delete the users' dir.

QMAILDEL="/home/vpopmail/bin/vdeluser"
...
...
$QMAILDEL $email







-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



Re: [qmailtoaster] simscan-toaster problem

2009-02-24 Thread Jake Vickers

Fernando Azevedo wrote:

Hello Everyone,
 
In Fedora 10, when doing: "rpmbuild --rebuild --with fedora_10 
simscan-toaster-1.3.1-1.3.6.src.rpm" the output ends with:
 


There is no Fedora 10 (or Fedora 9) support in 
simscan-toaster-1.3.1-1.3.6, only in version 1.3.1-1.3.7. That's the 
problem you had with ezmlm as well. You are trying to use a version that 
does not support Fedora 10.




[qmailtoaster] simscan-toaster problem

2009-02-24 Thread Fernando Azevedo
Hello Everyone,
 
In Fedora 10, when doing: "rpmbuild --rebuild --with fedora_10 simscan-toaster-1.3.1-1.3.6.src.rpm" the output ends with:
 
gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall   -o simscan  simscan.o cdb/cdb.a cdb/buffer.a cdb/unix.a cdb/byte.a cdb/alloc.a  gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -c `test -f 'simscanmk.c' || echo './'`simscanmk.cIn function 'open',    inlined from 'make_cdb' at simscanmk.c:379:/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 argumentsIn function 'open',    inlined from 'make_version_cdb' at simscanmk.c:133:/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 argumentsmake[2]: *** [simscanmk.o] Error 1make[2]: Leaving directory `/root/rpmbuild/BUILD/simscan-1.3.1'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/root/rpmbuild/BUILD/simscan-1.3.1'make: *** [all] Error 2error: Bad exit status from /var/tmp/rpm-tmp.2EPVLa (%build)
RPM build errors:    Bad exit status from /var/tmp/rpm-tmp.2EPVLa (%build)
 
 
I've googled for help but without any success. Any hints on overcoming this problem?
 
 
Thanks in advance,
Fernando
 
 

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



RE: [qmailtoaster] Fedora10 and ezmlm

2009-02-24 Thread Fernando Azevedo
I've found the same issue under Fedora 10 running 32 bits.
I've created a "/usr/lib64/" and inside inside it I've created a soft linkto /usr/lib/mysql named mysql. It did the trick but I don't know what willbe the consequences...
Cheers,Fernando
 
 

 Original Message Subject: Re: [qmailtoaster] Fedora10 and ezmlmFrom: Richard Vinke Date: Mon, February 23, 2009 9:27 pmTo: qmailtoaster-list@qmailtoaster.comRichard Vinke wrote: 
No. euh Yes.It's a test computer. Running on WinXP64. With VMWare. In one VM it's running the fedora_10 with the mail server. Inside this WM it's 32bits. But I cannot confirm this 32bits status anywhere.Jake Vickers wrote: 
Richard Vinke wrote: 
Hi all!While compiling ezmlm with:
rpmbuild --rebuild --with fedora_10 ezmlm-toaster-0.53.324-1.3.3.src.rpmI get the following error:
./load ezmlm-gate subdb.a getconf.o slurpclose.o slurp.o \    getopt.a getln.a auto_bin.o env.a sig.a fs.a \    strerr.a substdio.a stralloc.a alloc.a error.a str.a case.a wait.a \    open.a lock.a seek.a -L/usr/lib64/mysql -lmysqlclient -lnsl -lm -lz/usr/bin/ld: cannot find -lmysqlclientcollect2: ld returned 1 exit statusmake: *** [ezmlm-gate] Error 1Mysql is running.Anyone an idea to solve this?Are you running 64-bit?-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.comFedora 10 is running as 32bits, the =uname -a= gives:
Linux server6 2.6.27.15-170.2.24.fc10.i686 #1 SMP Wed Feb 11 23:58:12 EST 2009 i686 i686 i386 GNU/LinuxBut it's refering to =/usr/lib64/mysql=. Strange.I created a directory =/usr/lib64/mysql= (it did not exist) and =mount --bind /usr/lib/mysql /usr/lib64/mysql=. Now the rpmbuild runs ok.I am going to check where the lib64 comes from.

-To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.comFor additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 

-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



RE: [qmailtoaster] last account access

2009-02-24 Thread Phil
As I read through the script, it looks like you can have it just email a
report without deleting?  Then go back and manually do the cleanup?

>
> Very good this is exactly what I need
>
> Thanks
> q
>
>
> 
>
> From: PakOgah [mailto:pako...@pala.bo-tak.info]
> Sent: Mon 2/23/2009 11:30 PM
> To: qmailtoaster-list@qmailtoaster.com
> Subject: Re: [qmailtoaster] last account access
>
>
>
> Kyle Quillen wrote:
>>
>> -Original Message-
>> From: PakOgah [mailto:pako...@pala.bo-tak.info]
>> Sent: Mon 2/23/2009 11:26 AM
>> To: qmailtoaster-list@qmailtoaster.com
>> Subject: Re: [qmailtoaster] last account access
>>
>> Jake Vickers wrote:
>>
>>> Phil Leinhauser wrote:
>>>
 Very cool.  Thanks!

 -Original Message-
 From: Catalin LEANCA [mailto:catal...@rotld.ro] Sent: Sunday,
 February 22, 2009 5:09 PM
 To: qmailtoaster-list@qmailtoaster.com
 Subject: Re: [qmailtoaster] last account access

 Hello

 # /home/vpopmail/bin/vuserinfo email_address

 Catalin L.

 Phil Leinhauser wrote:


> Is there something to look at that would tell the last time an
> account was accessed?  I may have a bunch of accounts that are long
> forgotten about.
>
>
>
>>> If you look way back in the archives, someone wrote a script that
>>> deleted "forgotten" accounts after x number of days as well. May come
>>> in handy.
>>>
>>>
>>>
>> Jake, it was me :D
>> already on wiki long time ago
>> http://wiki.qmailtoaster.com/index.php/Automatic_account_expirations
>> hopefully useful
>> cheers
>>
>>
>>
>> So this script is still a good one?  Does the script also delete the
>> users directory?
>>
>> Thanks
>> Q
>>
>>
> Yap, it's still good, I am still using it as I am a lazy admin :D
> and of course it's also delete the users' dir.
>
> QMAILDEL="/home/vpopmail/bin/vdeluser"
> ...
> ...
> $QMAILDEL $email
>
>
>
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
>
>
>
>
> -
> To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
> For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com



RE: [qmailtoaster] last account access

2009-02-24 Thread Kyle Quillen
 
Very good this is exactly what I need 
 
Thanks 
q

 


From: PakOgah [mailto:pako...@pala.bo-tak.info]
Sent: Mon 2/23/2009 11:30 PM
To: qmailtoaster-list@qmailtoaster.com
Subject: Re: [qmailtoaster] last account access



Kyle Quillen wrote:
>
> -Original Message-
> From: PakOgah [mailto:pako...@pala.bo-tak.info]
> Sent: Mon 2/23/2009 11:26 AM
> To: qmailtoaster-list@qmailtoaster.com
> Subject: Re: [qmailtoaster] last account access
> 
> Jake Vickers wrote:
>  
>> Phil Leinhauser wrote:
>>
>>> Very cool.  Thanks!
>>>
>>> -Original Message-
>>> From: Catalin LEANCA [mailto:catal...@rotld.ro] Sent: Sunday,
>>> February 22, 2009 5:09 PM
>>> To: qmailtoaster-list@qmailtoaster.com
>>> Subject: Re: [qmailtoaster] last account access
>>>
>>> Hello
>>>
>>> # /home/vpopmail/bin/vuserinfo email_address
>>>
>>> Catalin L.
>>>
>>> Phil Leinhauser wrote:
>>> 
>>>  
 Is there something to look at that would tell the last time an
 account was accessed?  I may have a bunch of accounts that are long
 forgotten about.



>> If you look way back in the archives, someone wrote a script that
>> deleted "forgotten" accounts after x number of days as well. May come
>> in handy.
>>
>>
>>
> Jake, it was me :D
> already on wiki long time ago
> http://wiki.qmailtoaster.com/index.php/Automatic_account_expirations
> hopefully useful
> cheers
>
>
>
> So this script is still a good one?  Does the script also delete the users 
> directory?
>
> Thanks
> Q
>
>  
Yap, it's still good, I am still using it as I am a lazy admin :D
and of course it's also delete the users' dir.

QMAILDEL="/home/vpopmail/bin/vdeluser"
...
...
$QMAILDEL $email



-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




-
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com