how to work with milter modify sendmail configuration add milter (can add multiple milters in order) fill in struct for callbacks set to function pointer or NULL create functions all return PASS, FAIL, or REJECT connect to domain or inet socket call smfi_main() threaded application/library