[Postfix-BR] problema com submission port
Gonçalo Duarte
pingu22 em gmail.com
Domingo Maio 25 10:27:19 BRT 2008
Ola,
o meu problema é que não estou a conseguir assinar os meus mails com
dkimproxy. O que acontece é que não consigo configurar o postfix para enviar
mail pela porta 587 (submission).
Já uma vez tentei resolver e não se chegou a conclusão nenhuma.
Deixo aqui o meu master.cf para ver se alguém pode ajudar.
*# Postfix master process configuration file. For details on the format
**# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
#smtp inet n - n - - smtpd*
*#DKIMPROXY CONFIGURAÇÃO IN
#
# Before-filter SMTP server. Receive mail from the network and
# pass it to the content filter on localhost port 10025.
#*
smtp inet n - n - - smtpd
-o smtpd_proxy_filter=127.0.0.1:10025
-o smtpd_client_connection_count_limit=10
*# After-filter SMTP server. Receive mail from the content filter on
# localhost port 10026.
#*
127.0.0.1:10026 inet n - n - - smtpd
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_data_restrictions=
-o mynetworks=127.0.0.0/8
-o receive_override_options=no_unknown_recipient_checks
*#/DKIMPROXY CONFIGURAÇÃO IN
#DKIMPROXY CONFIGURAÇÃO OUT
#
# modify the default submission service to specify a content filter
# and restrict it to local clients and SASL authenticated clients only
#*
587 inet n - y - - smtpd
-o smtpd_etrn_restrictions=reject
-o smtpd_sasl_auth_enable=yes
-o content_filter=dksign:[127.0.0.1]:10027
-o receive_override_options=no_address_mappings
-o
smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,reject
*#
# specify the location of the DomainKeys signing filter
#*
dksign unix - - n - 10 smtp
-o smtp_send_xforward_command=yes
-o smtp_discard_ehlo_keywords=8bitmime
*#
# service for accepting messages FROM the DomainKeys signing filter
#*
127.0.0.1:10028 inet n - n - 10 smtpd
-o content_filter=
-o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
*#/DKIMPROXY CONFIGURAÇÃO OUT
*pickup fifo n - n 60 1 pickup
-o content_filter=dksign:127.0.0.1:10027
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
*#qmgr fifo n - n 300 1 oqmgr*
tlsmgr unix - - n 1000? 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
*# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
*
relay unix - - n - - smtp
-o fallback_relay=
*# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5*
showq unix n - n - - showq
error unix - - n - - error
retry unix - - n - - error
discard unix - - n - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
procmail unix - n n - 4 pipe
flags=DRhu user=procmail argv=/usr/bin/procmail -a ${recipient}
Ele nunca envia pela porta 587.
Não sei se é necessário configurar alguma coisa no main.cf também.
Agradeço se alguém puder ajudar.
--
Gonçalo Duarte
-----------------------
A humanidade está a perder os seus maiores génios...Aristóteles faleceu...
Newton bateu as botas... Einstein morreu... e eu não me estou a sentir lá
muito bem...
Mais detalhes sobre a lista de discussão Postfix-BR