[xmail] Re: XMail quota monitor

2004-04-29 Thread Shawn Anderson
Check out:

http://xmail.eye-catcher.com/Community/Downloads/General/60.aspx

Shawn 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Fred
Sent: Thursday, April 29, 2004 4:28 PM
To: [EMAIL PROTECTED]
Subject: [xmail] XMail quota monitor


Hi, maybe someone already written a script that does what i need, if yes
please post the url. I need something that will monitor all the mailboxes of
my xmail server to make sure the sum of all messages in each mbox isn't
bigger than specified in user.tab. If bigger, the script would send an email
to me so I can contact the user before he starts crying a river.

fred

-
To unsubscribe from this list: send the line unsubscribe xmail in the body
of a message to [EMAIL PROTECTED] For general help: send the line
help in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: XMail quota monitor

2004-04-29 Thread Fred

Thanks for the reply Shawn, this is exactly what i need but unfortunately
the script does not work :(

I tried it on a redhat-8.0 box and on a FreeBSD-4.8 box, both are running
perl-5.8.0.

Do you know what is going on here:

[EMAIL PROTECTED] bin]# ./xmailquotamonitor.pl 
../xmailquotamonitor.pl: line 35: use: command not found
../xmailquotamonitor.pl: line 36: use: command not found
../xmailquotamonitor.pl: line 43: =: command not found
../xmailquotamonitor.pl: line 44: =: command not found
../xmailquotamonitor.pl: line 45: =: command not found
../xmailquotamonitor.pl: line 48: =: command not found
../xmailquotamonitor.pl: line 50: =: command not found
../xmailquotamonitor.pl: line 53: =: command not found
../xmailquotamonitor.pl: line 56: =: command not found
../xmailquotamonitor.pl: line 57: =: command not found
../xmailquotamonitor.pl: line 58: =: command not found
../xmailquotamonitor.pl: line 59: =: command not found
../xmailquotamonitor.pl: line 63: =: command not found
../xmailquotamonitor.pl: line 71: =: command not found
../xmailquotamonitor.pl: line 72: .=: command not found
../xmailquotamonitor.pl: line 73: .=: command not found
../xmailquotamonitor.pl: line 74: .=: command not found
../xmailquotamonitor.pl: line 75: .=: command not found
../xmailquotamonitor.pl: line 76: .=: command not found
../xmailquotamonitor.pl: line 77: .=: command not found
../xmailquotamonitor.pl: line 78: .=: command not found
../xmailquotamonitor.pl: line 79: .=: command not found
../xmailquotamonitor.pl: line 80: .=: command not found
../xmailquotamonitor.pl: line 81: .=: command not found
../xmailquotamonitor.pl: line 82: .=: command not found
../xmailquotamonitor.pl: line 83: .=: command not found
../xmailquotamonitor.pl: line 84: .=: command not found
../xmailquotamonitor.pl: line 87: =: command not found
../xmailquotamonitor.pl: line 89: my: command not found
../xmailquotamonitor.pl: line 90: my: command not found
../xmailquotamonitor.pl: line 92: my: command not found
../xmailquotamonitor.pl: line 95: my: command not found
../xmailquotamonitor.pl: line 96: my: command not found
../xmailquotamonitor.pl: line 98: chomp: command not found
../xmailquotamonitor.pl: line 104: syntax error near unexpected token `0,'
../xmailquotamonitor.pl: line 104: `Output (0, XMQuotaMonitor);'
[EMAIL PROTECTED] bin]#


fred

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Shawn Anderson
Sent: 29 avril, 2004 16:36
To: [EMAIL PROTECTED]
Subject: [xmail] Re: XMail quota monitor

Check out:

http://xmail.eye-catcher.com/Community/Downloads/General/60.aspx

Shawn 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Fred
Sent: Thursday, April 29, 2004 4:28 PM
To: [EMAIL PROTECTED]
Subject: [xmail] XMail quota monitor


Hi, maybe someone already written a script that does what i need, if yes
please post the url. I need something that will monitor all the mailboxes of
my xmail server to make sure the sum of all messages in each mbox isn't
bigger than specified in user.tab. If bigger, the script would send an email
to me so I can contact the user before he starts crying a river.

fred

-
To unsubscribe from this list: send the line unsubscribe xmail in the body
of a message to [EMAIL PROTECTED] For general help: send the line
help in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: XMail quota monitor

2004-04-29 Thread Shawn Anderson
Hmm, I only tested it on perl-5.6.x

When I get a chance I'll try to test it on v5.8.

Shawn

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Fred
Sent: Thursday, April 29, 2004 5:02 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: XMail quota monitor


Thanks for the reply Shawn, this is exactly what i need but unfortunately
the script does not work :(

I tried it on a redhat-8.0 box and on a FreeBSD-4.8 box, both are running
perl-5.8.0.

Do you know what is going on here:

[EMAIL PROTECTED] bin]# ./xmailquotamonitor.pl
.../xmailquotamonitor.pl: line 35: use: command not found
.../xmailquotamonitor.pl: line 36: use: command not found
.../xmailquotamonitor.pl: line 43: =: command not found
.../xmailquotamonitor.pl: line 44: =: command not found
.../xmailquotamonitor.pl: line 45: =: command not found
.../xmailquotamonitor.pl: line 48: =: command not found
.../xmailquotamonitor.pl: line 50: =: command not found
.../xmailquotamonitor.pl: line 53: =: command not found
.../xmailquotamonitor.pl: line 56: =: command not found
.../xmailquotamonitor.pl: line 57: =: command not found
.../xmailquotamonitor.pl: line 58: =: command not found
.../xmailquotamonitor.pl: line 59: =: command not found
.../xmailquotamonitor.pl: line 63: =: command not found
.../xmailquotamonitor.pl: line 71: =: command not found
.../xmailquotamonitor.pl: line 72: .=: command not found
.../xmailquotamonitor.pl: line 73: .=: command not found
.../xmailquotamonitor.pl: line 74: .=: command not found
.../xmailquotamonitor.pl: line 75: .=: command not found
.../xmailquotamonitor.pl: line 76: .=: command not found
.../xmailquotamonitor.pl: line 77: .=: command not found
.../xmailquotamonitor.pl: line 78: .=: command not found
.../xmailquotamonitor.pl: line 79: .=: command not found
.../xmailquotamonitor.pl: line 80: .=: command not found
.../xmailquotamonitor.pl: line 81: .=: command not found
.../xmailquotamonitor.pl: line 82: .=: command not found
.../xmailquotamonitor.pl: line 83: .=: command not found
.../xmailquotamonitor.pl: line 84: .=: command not found
.../xmailquotamonitor.pl: line 87: =: command not found
.../xmailquotamonitor.pl: line 89: my: command not found
.../xmailquotamonitor.pl: line 90: my: command not found
.../xmailquotamonitor.pl: line 92: my: command not found
.../xmailquotamonitor.pl: line 95: my: command not found
.../xmailquotamonitor.pl: line 96: my: command not found
.../xmailquotamonitor.pl: line 98: chomp: command not found
.../xmailquotamonitor.pl: line 104: syntax error near unexpected token `0,'
.../xmailquotamonitor.pl: line 104: `Output (0, XMQuotaMonitor);'
[EMAIL PROTECTED] bin]#


fred

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Shawn Anderson
Sent: 29 avril, 2004 16:36
To: [EMAIL PROTECTED]
Subject: [xmail] Re: XMail quota monitor

Check out:

http://xmail.eye-catcher.com/Community/Downloads/General/60.aspx

Shawn 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Fred
Sent: Thursday, April 29, 2004 4:28 PM
To: [EMAIL PROTECTED]
Subject: [xmail] XMail quota monitor


Hi, maybe someone already written a script that does what i need, if yes
please post the url. I need something that will monitor all the mailboxes of
my xmail server to make sure the sum of all messages in each mbox isn't
bigger than specified in user.tab. If bigger, the script would send an email
to me so I can contact the user before he starts crying a river.

fred

-
To unsubscribe from this list: send the line unsubscribe xmail in the body
of a message to [EMAIL PROTECTED] For general help: send the line
help in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: XMail quota monitor

2004-04-29 Thread Achim Schmidt
- option 1:
  fix line 1 of the script: 
  #/usr/bin/perl 
   becomes
  #!/usr/bin/perl

- option 2:
  run $ perl xmailquotamonitor.pl 


Am Do, 2004-04-29 um 23.01 schrieb Fred:
 Thanks for the reply Shawn, this is exactly what i need but unfortunately
 the script does not work :(
 
 I tried it on a redhat-8.0 box and on a FreeBSD-4.8 box, both are running
 perl-5.8.0.
 
 Do you know what is going on here:
 
 [EMAIL PROTECTED] bin]# ./xmailquotamonitor.pl 
 ../xmailquotamonitor.pl: line 35: use: command not found
 ../xmailquotamonitor.pl: line 36: use: command not found
 ../xmailquotamonitor.pl: line 43: =: command not found
 ../xmailquotamonitor.pl: line 44: =: command not found
 ../xmailquotamonitor.pl: line 45: =: command not found
 ../xmailquotamonitor.pl: line 48: =: command not found
 ../xmailquotamonitor.pl: line 50: =: command not found
 ../xmailquotamonitor.pl: line 53: =: command not found
 ../xmailquotamonitor.pl: line 56: =: command not found
 ../xmailquotamonitor.pl: line 57: =: command not found
 ../xmailquotamonitor.pl: line 58: =: command not found
 ../xmailquotamonitor.pl: line 59: =: command not found
 ../xmailquotamonitor.pl: line 63: =: command not found
 ../xmailquotamonitor.pl: line 71: =: command not found
 ../xmailquotamonitor.pl: line 72: .=: command not found
 ../xmailquotamonitor.pl: line 73: .=: command not found
 ../xmailquotamonitor.pl: line 74: .=: command not found
 ../xmailquotamonitor.pl: line 75: .=: command not found
 ../xmailquotamonitor.pl: line 76: .=: command not found
 ../xmailquotamonitor.pl: line 77: .=: command not found
 ../xmailquotamonitor.pl: line 78: .=: command not found
 ../xmailquotamonitor.pl: line 79: .=: command not found
 ../xmailquotamonitor.pl: line 80: .=: command not found
 ../xmailquotamonitor.pl: line 81: .=: command not found
 ../xmailquotamonitor.pl: line 82: .=: command not found
 ../xmailquotamonitor.pl: line 83: .=: command not found
 ../xmailquotamonitor.pl: line 84: .=: command not found
 ../xmailquotamonitor.pl: line 87: =: command not found
 ../xmailquotamonitor.pl: line 89: my: command not found
 ../xmailquotamonitor.pl: line 90: my: command not found
 ../xmailquotamonitor.pl: line 92: my: command not found
 ../xmailquotamonitor.pl: line 95: my: command not found
 ../xmailquotamonitor.pl: line 96: my: command not found
 ../xmailquotamonitor.pl: line 98: chomp: command not found
 ../xmailquotamonitor.pl: line 104: syntax error near unexpected token `0,'
 ../xmailquotamonitor.pl: line 104: `Output (0, XMQuotaMonitor);'
 [EMAIL PROTECTED] bin]#
 
 
 fred
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Shawn Anderson
 Sent: 29 avril, 2004 16:36
 To: [EMAIL PROTECTED]
 Subject: [xmail] Re: XMail quota monitor
 
 Check out:
 
 http://xmail.eye-catcher.com/Community/Downloads/General/60.aspx
 
 Shawn 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Fred
 Sent: Thursday, April 29, 2004 4:28 PM
 To: [EMAIL PROTECTED]
 Subject: [xmail] XMail quota monitor
 
 
 Hi, maybe someone already written a script that does what i need, if yes
 please post the url. I need something that will monitor all the mailboxes of
 my xmail server to make sure the sum of all messages in each mbox isn't
 bigger than specified in user.tab. If bigger, the script would send an email
 to me so I can contact the user before he starts crying a river.
 
 fred
 
 -
 To unsubscribe from this list: send the line unsubscribe xmail in the body
 of a message to [EMAIL PROTECTED] For general help: send the line
 help in the body of a message to [EMAIL PROTECTED]
 
 
 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]
 
 -
 To unsubscribe from this list: send the line unsubscribe xmail in
 the body of a message to [EMAIL PROTECTED]
 For general help: send the line help in the body of a message to
 [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]



[xmail] Re: XMail quota monitor

2004-04-29 Thread Kirk Friggstad
Looks like that perl script was originally written for Windows - you're
going to need to change the first line:
#/usr/bin/perl
to
#!/usr/bin/perl
(note missing bang) - and verify the path to your copy of perl. You also
need to go through the script and update paths in the User Configurable
Settings block of code.

Hope that helps.

Kirk


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Fred
Sent: Thursday, April 29, 2004 3:02 PM
To: [EMAIL PROTECTED]
Subject: [xmail] Re: XMail quota monitor



Thanks for the reply Shawn, this is exactly what i need but unfortunately
the script does not work :(

I tried it on a redhat-8.0 box and on a FreeBSD-4.8 box, both are running
perl-5.8.0.

Do you know what is going on here:

[EMAIL PROTECTED] bin]# ./xmailquotamonitor.pl
.../xmailquotamonitor.pl: line 35: use: command not found
.../xmailquotamonitor.pl: line 36: use: command not found
.../xmailquotamonitor.pl: line 43: =: command not found
.../xmailquotamonitor.pl: line 44: =: command not found
.../xmailquotamonitor.pl: line 45: =: command not found
.../xmailquotamonitor.pl: line 48: =: command not found
.../xmailquotamonitor.pl: line 50: =: command not found
.../xmailquotamonitor.pl: line 53: =: command not found
.../xmailquotamonitor.pl: line 56: =: command not found
.../xmailquotamonitor.pl: line 57: =: command not found
.../xmailquotamonitor.pl: line 58: =: command not found
.../xmailquotamonitor.pl: line 59: =: command not found
.../xmailquotamonitor.pl: line 63: =: command not found
.../xmailquotamonitor.pl: line 71: =: command not found
.../xmailquotamonitor.pl: line 72: .=: command not found
.../xmailquotamonitor.pl: line 73: .=: command not found
.../xmailquotamonitor.pl: line 74: .=: command not found
.../xmailquotamonitor.pl: line 75: .=: command not found
.../xmailquotamonitor.pl: line 76: .=: command not found
.../xmailquotamonitor.pl: line 77: .=: command not found
.../xmailquotamonitor.pl: line 78: .=: command not found
.../xmailquotamonitor.pl: line 79: .=: command not found
.../xmailquotamonitor.pl: line 80: .=: command not found
.../xmailquotamonitor.pl: line 81: .=: command not found
.../xmailquotamonitor.pl: line 82: .=: command not found
.../xmailquotamonitor.pl: line 83: .=: command not found
.../xmailquotamonitor.pl: line 84: .=: command not found
.../xmailquotamonitor.pl: line 87: =: command not found
.../xmailquotamonitor.pl: line 89: my: command not found
.../xmailquotamonitor.pl: line 90: my: command not found
.../xmailquotamonitor.pl: line 92: my: command not found
.../xmailquotamonitor.pl: line 95: my: command not found
.../xmailquotamonitor.pl: line 96: my: command not found
.../xmailquotamonitor.pl: line 98: chomp: command not found
.../xmailquotamonitor.pl: line 104: syntax error near unexpected token `0,'
.../xmailquotamonitor.pl: line 104: `Output (0, XMQuotaMonitor);'
[EMAIL PROTECTED] bin]#


fred

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Shawn Anderson
Sent: 29 avril, 2004 16:36
To: [EMAIL PROTECTED]
Subject: [xmail] Re: XMail quota monitor

Check out:

http://xmail.eye-catcher.com/Community/Downloads/General/60.aspx

Shawn

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Fred
Sent: Thursday, April 29, 2004 4:28 PM
To: [EMAIL PROTECTED]
Subject: [xmail] XMail quota monitor


Hi, maybe someone already written a script that does what i need, if yes
please post the url. I need something that will monitor all the mailboxes of
my xmail server to make sure the sum of all messages in each mbox isn't
bigger than specified in user.tab. If bigger, the script would send an email
to me so I can contact the user before he starts crying a river.

fred

-
To unsubscribe from this list: send the line unsubscribe xmail in the body
of a message to [EMAIL PROTECTED] For general help: send the line
help in the body of a message to [EMAIL PROTECTED]


-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]

-
To unsubscribe from this list: send the line unsubscribe xmail in
the body of a message to [EMAIL PROTECTED]
For general help: send the line help in the body of a message to
[EMAIL PROTECTED]