6 msgDSN relay host
1 msgRestrict sender and from to one domain on outbo...
10 msgOutbound postfix routing issue
25 msgProblem with Black List
3 msgLooking at new mail server layout
26 msgwhy every minute: 'reload configuration /etc/po...
2 msgmyhostname parameter
17 msgRBL problems with smarthost on private address ...
34 msgBackscatting filter?
3 msghow to setup postfix in 'deliver-only' mode?
7 msgSlow queue configuration
17 msgSome Windows SMTP Server have problems with STA...
5 msgFor each check_ns or each check_mx, the value i...
4 msgpostfix and spf
2 msgPassword Validation in postfix
4 msgcatching some spam with warn_if_reject and reje...
9 msgRFC: Check mail quota at a mail relay (backscat...
31 msgGPS vs GLD (greylisting)
3 msgUnmeant update from 2.2.10 to 2.5.1

mailq lockups
\ Joey (5 May 2008)
. \ Victor Duchovni (5 May 2008)
. \ Jan P. Kessler (5 May 2008)
. \ Noel Jones (5 May 2008)
. \ Ralf Hildebrandt (5 May 2008)
. . \ Joey (5 May 2008)
. . . \ Ralf Hildebrandt (5 May 2008)
. . . \ Victor Duchovni (5 May 2008)
. . . \ Noel Jones (5 May 2008)
. . . . \ Joey (6 May 2008)
. . . . . \ Victor Duchovni (6 May 2008)
. . . . . . \ Joey (6 May 2008)
. . . . . . . \ Victor Duchovni (6 May 2008)
. \ Joey (7 May 2008)
. . \ Victor Duchovni (7 May 2008)
. . . \ Joey (8 May 2008)
. . . . \ Victor Duchovni (8 May 2008)
. . . . . \ MacShane, Tracy (9 May 2008)
. . . . . \ Joey (9 May 2008)
. . . . . . \ (Wietse Venema) (9 May 2008)
. . . . . . . \ Joey (9 May 2008)
. . . . . . . . \ (Wietse Venema) (9 May 2008)
. . . . . . . . . \ Joey (13 May 2008)
. . . . . . . . . . \ Victor Duchovni (13 May 2008)
. . . . . . . . . . \ Victor Duchovni (13 May 2008)
. . . . . . . . . . . \ (Wietse Venema) (13 May 2008)
. . . . . . \ Victor Duchovni (9 May 2008)

Subject:RE: mailq lockups
Group:Postfix-users
From:Joey
Date:7 May 2008


 

> -----Original Message-----

> From: owner-postfix-users

> [mailto:owner-postfix-users]

> On Behalf Of Victor Duchovni

> Sent: Tuesday, May 06, 2008 1:29 PM

> To: postfix-users

> Subject: Re: mailq lockups

>

> On Tue, May 06, 2008 at 08:52:22AM -0400, Joey wrote:

>

> > > This is sadly useless. This would be a good time to report a

> > > complete "postconf -n".

>

> Other than some unnecessary duplication or tweaking of defaults,

> nothing too unusual there.

>

> > > Look at *your* connection table with

> > >

> > > # lsof tcp@remoteip:25

> > >

> > > for each connection in an "ESTABLISHED" state, and a corresponding
"smtp"

> > > process id, find the process start time (ps -o pid,stime,comm -p

> > > $pid) and check whether the process reported any previous

> > > deliveries between the start time and the present. The age of the

> > > connection (if not cached) is measured approximately from the

> > > later of the process start time and the last completed delivery
report.

> > >

> > > If no long-lived connections exist on the Linux end, find out why

> > > Exchange still believes there are unfinished connections (this is

> > > where packet captures and verbose logging are handy).

>

> So, have you made any progress on this front?



No progress yet...



>

> > Definitely exchange is keeping those connections open for an

> > excessive amount of time, and the postfix side does get dropped at some
point.

> > Even after the postfix side drops the connection, exchange still

> > shows them as open. It looks like postfix is dropping the

> > connection at about 10 minutes.

>

> And the logs for those events? If the non-refused connections

> consistently fail after ~10 minutes, that's the

> "smtp_data_done_timeout" which means Postfix sends "." and Exchange fails
to respond.

>

> - Understand Path MTU, and determine whether that's an issue

>

> - Understand what firewalls are between you and the servers in

> question.

>

> - Consider disabling PIPELINING to Exchange, because older versions

> (or broken firewalls) may mishandle "<CRLF>.<CRLF>QUIT<CRLF>".

>

> > On the exchange side those connections remain open and basically

> > don't close unless terminated.

>

> Exchange really should NOT be allowing client connections to sit idle

> for 12 hours tying up resources. What prehistoric version of the

> software are these sites running?



Running server 2003 & exchange 2003 nothing outdated there...



>

> > One thing I noticed is it appears that some messages make it through

> > without problem, while certain messages which look like they are

> > spam are the ones locking up. The exchange server has no anti-spam

> > applications or anti-virus so that's not what stopping it. This

> > seems to be true in all 3 servers this is happening in.

>

> Message size may have a lot to do with if the issue is path MTU.

> Message size also changes how packets are emitted, and may alter how

> PIPELINING interacts with Exchange.

>

> - Fix the firewalls if too much ICMP is blocked.

>

> - Fix the firewalls if they inspect SMTP and are confused by

> PIPELINING

>

> - Disable PIPELINING to Exchange (smtp_discard_ehlo_keywords)

> if Exchange PIPELINING is buggy.

>

Will try this now...



So create smtp_discard_ehlo_keyword_address_maps = hash:/etc/postfix/mapname



And in the mapname file put:

Client-domain.com pipelining



I only see the 3 options of: pipelining, starttls, auth in the doc I see,
should it bee nopipelining?





Thanks!






© 2004-2008 readlist.com