On Sat, Oct 10, 2015 at 11:30 AM, Viktor Dukhovni <
postfix-us...@dukhovni.org> wrote:

> On Sat, Oct 10, 2015 at 10:53:12AM -0500, Dan Lists wrote:
>
> >  Out: 451 4.3.0 Error: queue file write error
> >
> > And here are the log entries:
> >
> > Oct 10 09:13:26 myserver postfix/smtpd[18826]: connect from
> > avas10tiga.indosat.net.id[219.83.54.103]
> > Oct 10 09:13:34 myserver policyd: rcpt=18817141, greylist=update,
> > host=219.83.54.103 (avas10tiga.indosat.net.id), from=
> 2...@heathfield.co.nz,
> > to=u...@myserver.net, size=2873224
> > Oct 10 09:13:34 myserver postfix/smtpd[18826]: 89C476DF8C3: client=
> > avas10tiga.indosat.net.id[219.83.54.103]
> > Oct 10 09:13:37 myserver postfix/cleanup[18080]: 89C476DF8C3:
> > message-id=<32609497.1081444484811317.JavaMail.defaultUser@defaultHost>
> > Oct 10 09:13:37 myserver postfix/cleanup[18080]: 89C476DF8C3: warning:
> > header Subject: CONFIDENTAIL: CLAIM YOUR PRIZE from
> > avas10tiga.indosat.net.id[219.83.54.103]; from=<2...@heathfield.co.nz>
> to=<
> > u...@myserver.net> proto=ESMTP helo=<avas10tiga.indosat.net.id>
> > Oct 10 09:23:10 myserver postfix/smtpd[18826]: disconnect from
> > avas10tiga.indosat.net.id[219.83.54.103]
>
> Sorry that can't be all that's in the logs, look at your syslog
> configuration and check any additional log files.
>
> --
>         Viktor.
>

I did eventually manage to find something in the logs:

Oct 10 09:13:39 nook postfix/cleanup[18080]: fatal: pcre map
/usr/local/etc/postfix/body_checks, line 17: matched text exceeds buffer
limit

We handle around 1 million messages per day, so it can be hard to find an
entry that is not associated with the client IP, queue id, message id,
sender, or recipient.

Why didn't smtpd log the 451 error?   This is the first time I have ever
seen smtpd not log the final outcome.

Is there a way to increase the buffer limit?   Is there a way to get
postfix to reject these in a way that generates a log entry associated with
the queue id?

Thanks,

Dan

Reply via email to