Send an alert on master user login
Andre Rodier
andre at rodier.me
Thu Oct 9 12:07:36 UTC 2014
On 09/10/14 13:04, Andre Rodier wrote:
> Hello Again,
>
> It's more complex than I thought to do this with fail2ban, especially
> when using the web mail.
>
> So, I am asking again, if anyone knows how to run a custom script every
> time master user is used, I would be happy.
>
> I already have a post login script, but I don't find any variable in the
> environment that tell me if it's a master user login or not.
>
> Thanks.
>
> On 09/10/14 10:36, Andre Rodier wrote:
>> Hello,
>>
>> I want to know if there is an option in Dovecot to send an alert, or run
>> a script when someone is using the master user facility.
>>
>> I can do something myself with fail2ban, but maybe there is an option in
>> Dovecot?
>>
>> Thanks.
>> André.
Hi again,
I found the variable passed to the script that refers to master user.
It's 'MASTER_USER'
Thanks.
More information about the dovecot
mailing list