Mr Jones,
Thanks for the quick reply. I have read the MILTER_README, but it's
just not clicking yet for me.
I have tried putting smtpd_milters = inet:localhost:10025 in the main.cf
file but in the logs I then get a connection refused for the port. From
what I have read from other content filter setups, you need to add
something like this to the master.cf:
127.0.0.1:10025 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes
-o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_bind_address=127.0.0.1
I have not tried putting anything in the master.cf file yet since most
of what I have found only mentions putting something in the main.cf. I
have not tried using the path for a Unix socket.
Phil Colvin
On 12/10/2010 16:01, Noel Jones wrote:
On 12/10/2010 2:39 PM, Philip A Colvin wrote:
--------------------------------------------------------------
I could really use some help with getting MIMEDefang working
with Postfix. I know from reading many, many posts and web
site How To's it can be done. I have read through the Postfix
guides on implementing milters, but just can't seem to figure
out what needs to be done. I'm still pretty new to Linux so
I'll apologize now for asking what is I'm sure a simple question.
What I'm specifically looking for are the settings needed in
the Postfix main.cf and master.cf files to work with MIMEDefang.
I have Postfix installed and working fine. I also have
MIMEDefang installed and running fine, just not communicating
with Postfix properly.
If anyone can give me some help for guidance, I would greatly
appreciate it.
P. Colvin
I haven't used MIMEDefang, but I can give you general milter tips.
Carefully read
http://www.postfix.org/MILTER_README.html
Then add to your main.cf something like the below.
# for a milter listening on TCP port 2270
smtpd_milters = inet:127.0.0.1:2270
# for a milter listening on a unix socket
smtpd_milters = unix:/path/to/socket
If you have more than one milter, define them in the order you want
them used.
smtpd_milters = unix:/path/to/socket, inet:127.0.0.1:2270
Come back with details if you have a more specific question.
-- Noel Jones
====================================================
*** INTERNET EMAIL CONFIDENTIALITY NOTICE ***
The information transmitted in this email is intended only for the person or
entity to whom it is addressed
and may contain confidential and/or privileged material. Any review, retransmission, dissemination, copying
of this communication, or other use of, or taking of any action in reliance upon this information by persons
or entities other than the intended recipient's is strictly prohibited. If you
received this message in error,
please contact the sender immediately by reply email .