>
>
> The issue im trying to avoid is that when postfix/submission accepts a
> message meant for another user on the same domain, it delivers it
> directly to maildir and does not put that message through the same
> filters, milters, policy servers as if the message was accepted by
> smtp:25.

You can try to share configuration between these two servers.
To share access lists and other database things you could use sql-based
solutions (like postgres) I think



> For one example if j...@example.com wants to blacklist
> j...@example.com it does no good as submission will drop jack's email
> right into jill's maildir anyways.
>

submission (smtpd) service doesn't drop it to the mailbox
Instead, it sends it to the cleanup, and then to the queue.
Qmgr takes it from there, consults trivial-rewrite (which returns local
transport because of mydestination) and gives it to the "local".
"local" puts it to the local mailbox.

If you want to intercept this process, you can
* Add smtp_* restriction to the "smtpd" submission service
* Add "error" transport to the transport table
etc

Reply via email to