--On August 19, 2015 at 4:21:52 PM +0000 Viktor Dukhovni <[email protected]> wrote:

On Wed, Aug 19, 2015 at 10:49:35AM -0500, Paul Schmehl wrote:

After reinstalling, I had problems with policyd-weight.  I was seeing
these errors in the logs:

postfix/policyd-weight[17306]: warning: child: err: Undefined subroutine
&Net::DNS::Packet::dn_expand called at /u
sr/local/bin/policyd-weight line 3589, <GEN39> line 26.

You don't have Perl's Net::DNS, or you have an incompatible version.
install a compatible Net::DNS, or an updated policyd-weight or both.


I've removed and reinstalled NET:: DNS and policyd-weight several times. The error remains.

This morning I got up and checked on the server, and the queue was filled
up.  I'm seeing transport errors in the logs:  status=deferred (mail
transport unavailable)

WHICH TRANSPORT!!!  Why are you "summarizing" the log message?!?


I didn't think I was. That was the entire log message. That's why I'm confused. I don't even know where to start.

Aug 19 16:39:13 mail postfix/qmgr[35355]: warning: connect to transport private/filter: No such file or directory

Aug 19 16:40:56 mail postfix/error[35377]: 270572F7001: to=<[email protected]>, relay=none, delay=0.06, delays=0.03/0.01/0/0.03, dsn=4.3.0, status=deferred (mail transport unavailable)

# cat master.cf | grep -v '#'
smtps    inet  n       -       n       -       -       smtpd
 -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes

You should have more overrides above, to only accept mail from
authenticated users, and otherwise apply fewer restrictions.


I'm not sure what you mean here.

bsmtp     unix  -       n       n       -       -       pipe
 flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop
$recipient
 flags=Rq user=filter argv=/usr/local/bin/filter.sh -f ${sender} --
${recipient}

Something is mangled above, looks like a line is missing, that
startst the definition of the "filter" transport.

That's because the line about it was commented out and that one was indented. I have now commented it out as well.


    filter     unix  -       n       n       -       -       pipe
      flags=Rq user=filter
      argv=/usr/local/bin/filter.sh -f ${sender} -- ${recipient}

smtpd     pass  -       -       n       -       -       smtpd
  -o content_filter=filter:dummyr

Which is definitely needed.

I am lost and frustrated.  I went from a working install to a broken
install.  Any help spotting problems would be appreciated.

Post full log entries, not what you consider to be a sufficient
summary.

OK.  Will do.

Paul Schmehl ([email protected])
Independent Researcher

Reply via email to