LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-17-2017, 03:38 AM   #1
fahasida
LQ Newbie
 
Registered: Jul 2015
Posts: 1

Rep: Reputation: Disabled
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}
 
Old 07-17-2017, 07:20 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,175

Rep: Reputation: 8062Reputation: 8062Reputation: 8062Reputation: 8062Reputation: 8062Reputation: 8062Reputation: 8062Reputation: 8062Reputation: 8062Reputation: 8062Reputation: 8062
Quote:
Originally Posted by fahasida View Post
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix throwing error /etc/init.d/postfix: line 73: [: =: unary operator expected Mackhand Linux - General 6 03-14-2015 12:55 PM
Postfix Relay Getting Spammed Bad -- But no open relay... ihod2008 Linux - Server 1 07-26-2008 08:24 PM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM
postfix content_filter msound Linux - General 5 12-01-2005 05:03 AM
HELP postfix transport error HELP Sammy2ooo Linux - Networking 1 08-26-2004 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration