18/12/2007, 18:04
|
| | | Fecha de Ingreso: marzo-2005
Mensajes: 59
Antigüedad: 19 años, 7 meses Puntos: 1 | |
Re: Postfix+Open relay Si tiene autenticacion SASL.
smtpd.conf
Código:
pwcheck_method: auxprop
auxprop_plugin: sql
sql_engine: pgsql
mech_list: plain LOGIN
sql_hostnames: localhost
sql_user: XXuser
sql_passwd: XXpass
sql_database: mail
sql_select: SELECT password FROM mailbox WHERE username = '%u@%r'
Te adjunto un postconf -n, tal vez existe algun error ahi..
Código:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
disable_vrfy_command = yes
inet_interfaces = all
inet_protocols = all
invalid_hostname_reject_code = 554
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
multi_recipient_bounce_reject_code = 554
mydestination = dataserv.cl, localhost, localhost.localdomain
myhostname = serverdlj.dataserv.cl
mynetworks = 127.0.0.0/8, 192.168.0.0/24
myorigin = /etc/mailname
non_fqdn_reject_code = 554
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
recipient_delimiter = +
relay_domains_reject_code = 554
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_invalid_hostname, permit
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_invalid_hostname, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_rbl_client multi.uribl.com, reject_rbl_client dsn.rfc-ignorant.org, reject_rbl_client dul.dnsbl.sorbs.net, reject_rbl_client list.dsbl.org, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rbl_client dnsbl.sorbs.net, reject_rbl_client cbl.abuseat.org, reject_rbl_client combined.rbl.msrbl.net, reject_rbl_client rabl.nuclearelephant.com, check_policy_service inet:127.0.0.1:60000, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
strict_rfc821_envelopes = yes
transport_maps = proxy:pgsql:/etc/postfix/pgsql/pgsql-virtual_transports.cf
unknown_address_reject_code = 554
unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 554
unknown_relay_recipient_reject_code = 554
unknown_virtual_alias_reject_code = 554
unknown_virtual_mailbox_reject_code = 554
unverified_recipient_reject_code = 554
unverified_sender_reject_code = 554
virtual_alias_domains =
virtual_alias_maps = proxy:pgsql:/etc/postfix/pgsql/pgsql-virtual_forwardings.cf, proxy:pgsql:/etc/postfix/pgsql/pgsql-virtual_email2email.cf
virtual_mailbox_base = /
virtual_mailbox_domains = proxy:pgsql:/etc/postfix/pgsql/pgsql-virtual_domains.cf
virtual_mailbox_maps = proxy:pgsql:/etc/postfix/pgsql/pgsql-virtual_mailboxes.cf
Ojala puedas darme una mano, gracias. |