LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   disclaimer addition on PostFix (relay server) error comes fatal: /etc/postfix/master.cf: line 12: bad transport type: content_filter=dfilt: (https://www.linuxquestions.org/questions/linux-newbie-8/disclaimer-addition-on-postfix-relay-server-error-comes-fatal-etc-postfix-master-cf-line-12-bad-transport-type-content_filter%3Ddfilt-4175610006/)

fahasida 07-17-2017 03:38 AM

disclaimer addition on PostFix (relay server) error comes fatal: /etc/postfix/master.cf: line 12: bad transport type: content_filter=dfilt:
 
getting error
fatal: /etc/postfix/master.cf: line 12: bad transport type: content_filter=dfilt:

my master.cf is
smtp inet n - n - - smtpd
-o content_filter=dfilt:
dfilt unix – n n – – pipe
flags=Rq user=filter argv=/etc/postfix/disclaimer -f ${sender} — ${recipient}

TB0ne 07-17-2017 07:20 AM

Quote:

Originally Posted by fahasida (Post 5735927)
getting error
fatal: /etc/postfix/master.cf: line 12: bad transport type: content_filter=dfilt:

my master.cf is
smtp inet n - n - - smtpd
-o content_filter=dfilt:
dfilt unix – n n – – pipe
flags=Rq user=filter argv=/etc/postfix/disclaimer -f ${sender} — ${recipient}

You need to read the "Question Guidelines" link in my posting signature. Without details, no one will be able to help you. You don't tell us what version/distro of Linux you're using, version of postfix, whether this is a new problem/installation, etc. Also, the error is clearly saying that there is an error on line 12 in your master.cf file...but what you've posted doesn't have 12 lines.

Regardless, there are two things to check. First, is there a space at the beginning of the dfilt line??. Postfix treats space as line continuation so that would cause a problem. Second thing: did you actually create that user filter you're referencing? Have you read through the Postfix documentation?


All times are GMT -5. The time now is 10:53 AM.