Milter
- Mail Filter API (Milter) allows third-party mail filtering on message
submission
- Filter is provided with requested information as it becomes available
- Connection information (remote hostname and address) (once per connection)
HELO/EHLO
parameter (once per connection)
- Mail sender (once per message)
- Mail recipient (once per recipient)
- Headers (once per header)
- Body (once per message)
- After each piece of information, the filter can respond with:
- Accept the connection or message
- Will not contact filter with further information for the current
connection or message
- Continue
- The information is ok, continue sending filter information
- Reject the connection, message, or recipient
- Discard the message or recipient
- After sendmail sends the end of message indicator, the filter can:
- Do any of the above responses
- Add recipient(s)
- Remove recipient(s)
- Add header(s)
- Replace the message body
Next
Prev