On 10/20/2017 04:50 PM, j.emerlik wrote:> I understand that Dovecot SASL does not support the Post-Login scripts.Yea, perhaps not. The concept it follows for POP3/IMAP is a wrapper for the executable launched to perform the actual service, and there is no such service when dovecot is only a SASL auth server for an external program. On the other hand a postfix policy server can let you record a lot of detail about SMTP activity: messages sent, sender/recipient addresses, and client addresses of course. I might be able to help with putting such a script together, time permitting :-)
Which one policy server are you using ? Someone from that list : http://www.postfix.org/addon.html 2017-10-20 16:53 GMT+02:00 Gedalya <gedalya at gedalya.net>:> On 10/20/2017 04:50 PM, j.emerlik wrote: > > I understand that Dovecot SASL does not support the Post-Login scripts. >> > Yea, perhaps not. The concept it follows for POP3/IMAP is a wrapper for > the executable launched to perform the actual service, and there is no such > service when dovecot is only a SASL auth server for an external program. > > On the other hand a postfix policy server can let you record a lot of > detail about SMTP activity: messages sent, sender/recipient addresses, and > client addresses of course. > > I might be able to help with putting such a script together, time > permitting :-) >
No, it's entirely my own. If all you want to do is write client IP addresses to a database then your script will probably fit in 20 lines of code or so. On 10/20/2017 05:04 PM, j.emerlik wrote:> Which one policy server are you using ? > Someone from that list : http://www.postfix.org/addon.html > > 2017-10-20 16:53 GMT+02:00 Gedalya <gedalya at gedalya.net>: > >> On 10/20/2017 04:50 PM, j.emerlik wrote: >> >> I understand that Dovecot SASL does not support the Post-Login scripts. >> Yea, perhaps not. The concept it follows for POP3/IMAP is a wrapper for >> the executable launched to perform the actual service, and there is no such >> service when dovecot is only a SASL auth server for an external program. >> >> On the other hand a postfix policy server can let you record a lot of >> detail about SMTP activity: messages sent, sender/recipient addresses, and >> client addresses of course. >> >> I might be able to help with putting such a script together, time >> permitting :-) >>