On 01/16/2015 06:59 AM, Markus Quaritsch wrote:
> Hi Anthony,
>
> On 16/01/15 06:23, P.V.Anthony wrote:
>
>> Current problem.
>> Some users accounts has been compromised (I assume) and sending spam.
>> The quota feature has been very helpful in limiting the outgoing emails
>> to 50 emails an hour. Checked the mail queue and noticed many emails
>> have the "From" not from the users domain.
>>
>> Is there a way to prevent sending out emails which are not the same as
>> the login username? Currently all login username are the full email
>> address.
> I had the same problem. What I do is simply limit the number of mails
> sent per authenticated user. Basically I have the same setup as Simon
> described some time ago (see attached mail from the list).
>
> In addition I have a cron-job that checks if a user is close to the
> maximum quota and sends me a mail if so. I can then take the according
> actions, i.e., block the user if its obviously spam. I can provide you
> the script/query if needed - nothing fancy.
>

Would be nice to include the script in a contrib/ directory :D

-N

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users_lists.policyd.org

Reply via email to