sburnay
(usa Ubuntu)
Enviado em 12/09/2011 - 13:26h
Olá a todos!
Muito obrigado por me receberem nesta comunidade.
Tenho um servidor CentOS 5.6 no qual corre um mail-relay (e outros tantos serviços).
O problema neste momento é que encontro frequentemente nos logs do postfix (/var/log/maillog) tentativas de envio de mails para email@example.com.
>>>>>>>>>>>>>>>>>>> Podem ver um exemplo dos logs de /var/log/maillog:
Sep 12 00:23:07 MY-MACHINE postfix/qmgr[2826]: C67FBC50055: from=<root@MY-DOMAIN>, size=310, nrcpt=1 (queue active)
Sep 12 00:23:07 MY-MACHINE postfix/smtp[23211]: connect to example.com[192.0.43.10]: Connection refused (port 25)
Sep 12 00:23:07 MY-MACHINE postfix/smtp[23211]: C67FBC50055: to=<email@example.com>, relay=none, delay=206413, delays=206413/0.01/0.17/0, dsn=4.4.1, status=deferred (connect to example.com[192.0.43.10]: Connection refused)
Sep 12 01:29:47 MY-MACHINE postfix/qmgr[2826]: C67FBC50055: from=<root@MY-DOMAIN>, size=310, nrcpt=1 (queue active)
>>>>>>>>>>>>>>>>>>>>>>>>>> configurações de 'posconf -n'
-l (lock types)] [-m (map types)] [-n (non-defaults)] [-v] [name...]
[root@MY-MACHINE ~]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
maps_rbl_domains = dnsbl.njabl.org bl.spamcop.net dnsbl.njabl.org
masquerade_domains = $mydomain
mydestination = MY-MACHINE.$mydomain
mydomain = MY-DOMAIN
myhostname = MY-MACHINE.MY-DOMAIN
mynetworks = 172.20.0.0/16
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
relay_domains = MY-DOMAIN
relay_recipient_maps =
relayhost =
sample_directory = /usr/share/doc/postfix-2.3.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtpd_client_restrictions = reject_rbl_client bl.spamcop.net reject_rhsbl_client dnsbl.njabl.org
smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination reject_rhsbl_recipient bl.spamcop.net check_recipient_access hash:/etc/postfix/access
smtpd_sender_restrictions = permit_mynetworks reject_rhsbl_sender dnsbl.njabl.org
unknown_local_recipient_reject_code = 550