Thanks for all May be my isp provider blocked outbound connections to port 25/tcp, I ask them to fix this problem, and it's working now, I want to send mail via port 587 when it happens again, Thanks again TOM
2013/11/26 Wietse Venema <wie...@porcupine.org> > higuita: > > Hi > > > > On Tue, Nov 26, 2013 at 11:14:30AM +0100, Benny Pedersen wrote: > > > china is known for blocking port 25 :/ > > (...)> > > > depending of your isp, there is not much other ways to solve then hope > > > > You might want to try to relay all emails to your ISP mail server, > > by using the relayhost = [hostname_or_ip_for_the_isp_mail_server] > > And if their port 25 is blocked, too, try port 587 (submission): > > relayhost = [hostname_or_ip_for_the_isp_mail_server]:587 > > See higuita's comments below for authentication. > > See also: http://www.postfix.org/SOHO_README.html#client_sasl_enable > > Wietse > > > If your ISP require authentication, you need to enable the smtp > SASL > > auth for that host: > > > > smtp_sasl_auth_enable = yes > > smtp_sasl_password_maps = hash:/etc/postfix/client_sasl > > > > > > where the client_sasl have: > > > > hostname_or_ip_for_the_isp_mail_server username:password > > > > > > (dont forget to postmap the /etc/postfix/client_sasl) > > > > good luck > > higuita > > >