What's the difference between default_transport & content_filter in Postfix

cn flag

Postfix has two options which to me appear to do the same thing: default_transport and content_filter.

For example I have these this processes setup in

my_custom_smtp_client            unix  -       -       n       -       -    smtp 

I can then use either one of these options in a smtpd process and it achieves the same result:

-o content_filter=my_custom_smtp_client


-o default_transport=my_custom_smtp_client

Is it wrong? Or is it just best practice to use one over the other depending on the context or use case?

I sit in a Tesla and translated this thread with Ai:


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.