transport private/smtp: Connection refused

2011-12-21 Thread Alfredo Saldanha

Hi People,

I'm trying to configure a transport map to send emails to another 
server, but I got this error:
postfix-smtp/qmgr[29632]: warning: connect to transport private/smtp: 
Connection refused


in my master.cf:
587   inet  n   -   n   -   -   smtpd

in my postconf -n:
alias_maps = hash:/etc/aliases
allow_percent_hack = yes
bounce_queue_lifetime = 3d
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix-smtp/
daemon_directory = /usr/libexec/postfix
data_directory = /var/spool/postfix-smtp
debug_peer_level = 2
disable_mime_input_processing = yes
disable_vrfy_command = yes
inet_interfaces = 127.0.0.1, 200.xxx.xxx.xxx
mail_owner = postfix
mail_spool_directory = /var/mail
mailq_path = /usr/bin/mailq
maximal_queue_lifetime = 3d
message_size_limit = 20971520
mydomain = infolink.com.br
myhostname = emailbackup01.infolink.com.br
mynetworks = 127.0.0.1, 200.xxx.xxx.0/20, 200.xxx.xxx.xxx
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
notify_classes = resource,software
queue_directory = /var/spool/postfix-smtp
queue_run_delay = 300s
readme_directory = no
relay_domains = permit_mynetworks
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_data_done_timeout = 600s
smtp_data_init_timeout = 300s
smtp_data_xfer_timeout = 900s
smtpd_banner = $myhostname - ESMTP - MAILBKP
smtpd_discard_ehlo_keywords = silent-discard, dsn
smtpd_error_sleep_time = 60s
smtpd_hard_error_limit = 5
smtpd_helo_required = yes
smtpd_recipient_limit = 100
smtpd_recipient_restrictions = reject_non_fqdn_sender,
reject_non_fqdn_recipient,reject_unknown_sender_domain,
permit_mynetworks,reject_unauth_destination

smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_security_options = noanonymous
smtpd_sender_restrictions = permit_mynetworks
permit_sasl_authenticated

smtpd_soft_error_limit = 1
smtpd_timeout = 300s
strict_rfc821_envelopes = no
syslog_name = postfix-smtp
transport_maps = hash:/etc/postfix-smtp/transport_sgmail.map
unknown_address_reject_code = 550
unknown_client_reject_code = 550
unknown_hostname_reject_code = 550
unknown_local_recipient_reject_code = 550

My transport_sgmail.map standard:
domain.com.brsmtp:pop.domain.com.br:25

Thanks,

Junix


Re: transport private/smtp: Connection refused

2011-12-21 Thread Ralf Hildebrandt
* Alfredo Saldanha asalda...@corp.infolink.com.br:
 Hi People,
 
 I'm trying to configure a transport map to send emails to another
 server, but I got this error:
 postfix-smtp/qmgr[29632]: warning: connect to transport private/smtp:
 Connection refused
 
 in my master.cf:
 587   inet  n   -   n   -   -   smtpd

That's smtpd, not smtp.

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de



Re: transport private/smtp: Connection refused [solved]

2011-12-21 Thread Alfredo Saldanha

Hi,

I solved this problem!

I change the transport map:

from:
domain.com.brsmtp:pop.domain.com.br:25

to:
domain.com.br relay:pop.domain.com.br:25

Now it works well.

Thank you.


On 12/21/2011 06:15 PM, Ralf Hildebrandt wrote:

* Alfredo Saldanhaasalda...@corp.infolink.com.br:

Hi People,

I'm trying to configure a transport map to send emails to another
server, but I got this error:
postfix-smtp/qmgr[29632]: warning: connect to transport private/smtp:
Connection refused

in my master.cf:
587   inet  n   -   n   -   -   smtpd

That's smtpd, not smtp.