phalaaxx / milter

A golang library for milter support
BSD 2-Clause "Simplified" License
46 stars 22 forks source link

Add SMFIC_ABORT and SMFIC_QUIT callbacks #22

Closed croessner closed 3 years ago

croessner commented 3 years ago

For some milters it is important to have a callback for SMFIC_ABORT and/or SMFIC_QUIT. Example: To check which callbacks had run, you can evaluate this at Qui() and do things like updating a database or logging information, etc.