Disregard.

On Wed, 22 Oct 2008, Duane Hill wrote:

I've been able to get a simple content filter running using the example from (http://www.postfix.org/FILTER_README.html). However, am having problems getting it to run configured as shown under the advanced content filter section. I'm not seeing something right. The error shown in the logs is:

Oct 22 19:44:40 duane postfix/smtp[52112]: D769D2E01A: to=<[EMAIL PROTECTED]>, relay=192.168.1.10[192.168.1.10]:10025, delay=429, delays=129/0.03/300/0, dsn=4.4.2, status=deferred (conversation with 192.168.1.10[192.168.1.10] timed out while receiving the initial server greeting) Oct 22 19:44:40 duane postfix/smtp[52117]: 117B42E059: to=<[EMAIL PROTECTED]>, orig_to=<10026>, relay=192.168.1.10[192.168.1.10]:10025, delay=301, delays=0.73/0.02/300/0, dsn=4.4.2, status=deferred (conversation with 192.168.1.10[192.168.1.10] timed out while receiving the initial server greeting) Oct 22 19:44:40 duane postfix/smtp[52117]: 117B42E059: to=<[EMAIL PROTECTED]>, orig_to=<192.168.1.10>, relay=192.168.1.10[192.168.1.10]:10025, delay=301, delays=0.73/0.02/300/0, dsn=4.4.2,status=deferred (conversation with 192.168.1.10[192.168.1.10] timed out while receiving the initial server greeting)

# postconf -n
alias_database = $alias_maps
alias_maps = hash:/usr/local/etc/postfix/aliases
biff = no
body_checks = pcre:/usr/local/etc/postfix/body_checks
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = msgcolor:192.168.1.10:10025
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
disable_vrfy_command = yes
header_checks = pcre:/usr/local/etc/postfix/header_checks
html_directory = no
inet_interfaces = 192.168.1.10
mail_owner = postfix
mailbox_size_limit = 0
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 262144000
mime_header_checks = pcre:/usr/local/etc/postfix/mime_header_checks
mydestination = $myhostname
mydomain = $myhostname
mynetworks = 192.168.1.10
nested_header_checks =
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
receive_override_options = no_address_mappings
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_client_port_logging = yes
smtpd_helo_required = yes
strict_rfc821_envelopes = yes
unknown_address_reject_code = 550
unknown_client_reject_code = 550
unknown_hostname_reject_code = 550
unverified_recipient_reject_code = 550
unverified_sender_reject_code = 550

duane# egrep '^[^#]' master.cf
smtp       inet  n       -       n       -       -       smtpd
msgcolor   unix  -       -       n       -       10      smtp
 -o smtp_send_xforward_command=yes
 -o disable_mime_output_conversion=yes
 -o smtp_generic_maps=
192.168.1.10:10025 inet n n      n       -       10      spawn
user=filter argv=/usr/local/etc/postfix/filter/msgcolor.sh 192.168.1.10 10026
192.168.1.10:10026 inet n -      n       -       10      smtpd
 -o content_filter=
-o receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_milters
 -o smtpd_helo_restrictions=
 -o smtpd_client_restrictions=
 -o smtpd_sender_restrictions=
 -o smtpd_recipient_restrictions=permit_mynetworks,reject
 -o mynetworks=192.168.1.0/24
 -o smtpd_authorized_xforward_hosts=192.168.1.0/24
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
       -o smtp_fallback_relay=
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache

-d

Reply via email to