edit /swatch/bin/am_disk.pl and find
SendEmail::sendEmail($email, 'admin', '[[base-disk.userOverQuota]]',
'[[base-disk.overQuotaMsg]]');
you can add whatever you want to it line like hostname(), etc
Paul Aviles
----- Original Message -----=20
From: Jim Scott=20
To: coba-e (at mark) bluequartz.org=20
Sent: Wednesday, July 12, 2006 12:32 PM
Subject: [coba-e:06003] User Quota Warning needs more information
Currently when a user is over quota on a server a warning email gets =
sent out to us. However it does not provide enough information to know =
anything other then the username.
Would be nice to know what site the user is associated with.
Current message format:
From: admin
Subject: Quota Warning
Body: The following user(s) have exceeded their quota: tracys.
In our case we also have serveal servers. As you can see from above =
there is nothing indentifying the server, the domain the user is part =
of.
So what I have to do each time is look at the headers of the message =
to see what server generated it. Then I have to go to the server via SSH =
and find out what domain they are part of. Then go into the web =
interface to rectify the issue.
We are completly migrated off our old raq servers and I tried to look =
for an old quota message but could not find one. However I am almost =
positive the old quota warnings gave all the informaiton needed.
How can I modify the message sent out or get this changed?
6005_2.html (attatchment)