Re: [exim] log smtp auth

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Peter Bowyer
Ημερομηνία:  
Προς: exim users
Αντικείμενο: Re: [exim] log smtp auth
On 18/02/06, alexis <alzrck@???> wrote:
> Is there any way to log the smtp authentications attempts and results,
> and better, into a sql table?
> In order to implement the "n days of inactivity blocks your account"
> or stuff like that?


You could implement much of this in a separate log-scraping model -
look for the 'A=login:xxxx' records in <= lines. (Adjust for your auth
mechnanism), and update a column in MySQL for each user spotted.

Then use this column in your auth query.

Peter

--
Peter Bowyer
Email: peter@???
Tel: +44 1296 768003
VoIP: sip:peter@???
VoIP: *5048707000@???
FWD: **275*5048707000
VoipTalk: **473*5048707000