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 ;).

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.

> 
> > And for best results I would really like this to happen specifically
> > for this server.
> 
> You may want to use a transport map for this.
> 
> /etc/postfix/master.cf
>     slow_rcpt      unix  -       -       n       -       -       smtp
>       -o smtp_rcpt_timeout=1000s
> 
> /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      slow_rcpt:
> 
> 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

-- 
Arthur Titeica
PharmEc Software

Reply via email to