Skip to content

Best way to drop an outbound email #3267

Closed Answered by msimerson
lnedry asked this question in Q&A
Discussion options

You must be logged in to vote
  • A1: Off the top of my head, create a plugin that listens on queue and queue_outbound and returns OK for messages that match your criteria.
  • A2: In #3265, I have implemented a check that requires the Envelope Sender domain to match the domain used during SMTP AUTH. Use a test like that to prevent emails from non-local domains being accepted in the first place.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by msimerson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants