Score:0

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.

https://www.postfix.org/postconf.5.html#default_transport https://www.postfix.org/postconf.5.html#content_filter

For example I have these this processes setup in master.cf

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

or

-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:

mangohost

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.