Arthur Titeica:
[ Charset ISO-8859-1 unsupported, converting... ]
> On Thursday 21 April 2011 17:03:26 Wietse Venema wrote:
> > Arthur Titeica:
> > > Hello.
> > >
> > > I am having some problems sending mail to one of the Bluehost servers
> > > (box467.bluehost.com 74.220.219.67)
> > >
> > > Postfix logs that the conversation timed out while sending RCPT
> > > TO and indeed it takes some time until the server
> > > sends an OK after the RCPT TO (in a telnet session).
> > >
> > > The question on the Postfix side is: can I increase somehow this
> > > timeout period?
> >
> > Increase smtp_rcpt_timeout (default: 300s).
>
> Thanks for this. I couldn't find it on my own ;).
To see all timeout parameters:
$ postconf | grep timeout
> Since the timeout is quite big by default I can't imagine it will solve
> anything if I increase it but I'll give a try.
Another possibility is that the receiver has a broken implementation
of SMTP command pipelining.
Here, Postfix sends "MAIL FROM", "RCPT TO" and "DATA" commands
together, and some busted firewalls will screw it up.
To try that possibility
/etc/postfix/master.cf
really_busted unix - - n - - smtp
-o smtp_rcpt_timeout=1000s
-o smtp_discard_ehlo_keywords=pipelining
/etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transport
/etc/postfix/transport:
# Specify the recipient's domain name, not the MTA hostname.
bluehost.com really_busted:
Commands:
# postmap hash:/etc/postfix/transport
# postfix reload
Documentation:
http://www.postfix.org/postconf.5.html#smtp_rcpt_timeout
http://www.postfix.org/transport.5.html
http://www.postfix.org/master.5.html
Wietse