SeLLeRoNe
Super Moderator
1. but the limit to set in /etc/virtual/limit is per day or per month?
2. Ive found where is displayed, thanks
Regards
2. Ive found where is displayed, thanks
Regards
Hello,
I've instead just added extra code to this feature:
http://www.directadmin.com/features.php?id=1121
where it also sends all Admins a message.
It can be shut off it anyone doesn't want to know of clients who exceed the limit.
John
The /etc/virtual/limit should be easy enough to add to the Admin Settings. I'll also add a field at the User Level settings to allow an override, which would create the /etc/virtual/limit_user. I'm not sure if this should be a package option, or just a setting (would be a lot more work to add another package option into the skins)
John
In order for this new mail_task.queue to be filled, a new exim.pl is required:
wget -O /etc/exim.pl http://files.directadmin.com/services/exim.pl
>ls -l limit*
-rwxr-xr-x 1 mail mail 4 25 feb 12:29 limit
-rwxr-xr-x 1 mail mail 5 24 feb 17:18 limit_dndonline
-rwxr-xr-x 1 mail mail 5 24 feb 16:06 limit_giorgia
-rwxr-xr-x 1 mail mail 6 24 feb 09:35 limit_mhorpheox
-rwxr-xr-x 1 mail mail 5 24 feb 16:06 limit_nonpresent
>cat limit*
250
5000
5000
50000
5000
Warning: %s emails have just sent by %s. Sender %s sent %lld. authenticated_id=%s sent %lld. host=%s sent %lld. %lld emails came from %s
2011-03-01 09:25:50 failed to expand condition "${perl{check_limits}}" for lookuphost router: Undefined subroutine &main::check_limits called.
2011-03-01 09:25:52 failed to expand condition "${perl{save_virtual_user}}" for virtual_user router: Undefined subroutine &main::save_virtual_user called.