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.br smtp:pop.domain.com.br:25
Thanks,
Junix