Eu farei o meu melhor para lhe dar algumas idéias, coisas para tentar ...
Talvez referir-se à porta numericamente em vez de ao nome do serviço ajudará
De link
Service name
The service name syntax depends on the service type as described
next.
Service type
Specify one of the following service types:
inet The service listens on a TCP/IP socket and is accessible
via the network.
The service name is specified as host:port, denoting the
host and port on which new connections should be
accepted. The host part (and colon) may be omitted.
Either host or port may be given in symbolic form (host
or service name) or in numeric form (IP address or port
number). Host information may be enclosed inside "[]";
this form is necessary only with IPv6 addresses.
Examples: a service named 127.0.0.1:smtp or ::1:smtp
receives mail via the loopback interface only; and a ser-
vice named 10025 accepts connections on TCP port 10025
via all interfaces configured with the inet_interfaces
parameter.
Portanto, crie uma seção como esta
465 inet n - y - - smtpd
-o syslog_name=postfix/smtps
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
-o smtpd_reject_unlisted_recipient=no
-o smtpd_client_restrictions=$mua_client_restrictions
-o smtpd_helo_restrictions=$mua_helo_restrictions
-o smtpd_sender_restrictions=$mua_sender_restrictions
-o smtpd_recipient_restrictions=
-o smtpd_relay_restrictions=permit_sasl_authenticated,reject
Eu adicionei esta linha ao meu servidor Postfix para ver o que aconteceria e funcionaria. Você já tentou sem todas as opções?
smtps inet n - y - - smtpd
Você pode verificar quais portas o Postfix está realmente ouvindo com lsof
( urd
é porta 465
como definido em /etc/services
)
$ lsof -iTCP -sTCP:LISTEN | grep master
master 10387 root 12u IPv4 1303420 0t0 TCP *:smtp (LISTEN)
master 10387 root 13u IPv6 1303421 0t0 TCP *:smtp (LISTEN)
master 10387 root 17u IPv4 1303426 0t0 TCP *:urd (LISTEN)
master 10387 root 18u IPv6 1303427 0t0 TCP *:urd (LISTEN)
Checkout esta opção. Pode estar causando a rejeição de conexões.
-o smtpd_client_restrictions
De link
smtpd_client_restrictions (default: empty) Optional restrictions that the Postfix SMTP server applies in the context of a client connection request. See SMTPD_ACCESS_README, section "Delayed evaluation of SMTP access restriction lists" for a discussion of evaluation context and time.
The default is to allow all connection requests.
Specify a list of restrictions, separated by commas and/or whitespace. Continue long lines by starting the next line with whitespace. Restrictions are applied in the order as specified; the first restriction that matches wins.
Se nada disso ajudar, você pode postar seu log do Postfix quando ele for iniciado?