necesito configurar postfix para que no entregue a internet (por lo general se hace lo contrario) solo que funcione como correo local (en una red de area local que si tiene salida a internet y la maquina que tiene el servidor de correo es la misma puerta de enlace a internet, pero el correo no deve salir a internet y no se como bloquear el correo para que no salga a internet mi configuracion de postfix es: (main.cf) queue_directory = /var/spool/postfix command_directory = /usr/sbin daemon_directory = /usr/lib/postfix mail_owner = postfix unknown_local_recipient_reject_code = 450 debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5 sendmail_path = /usr/sbin/sendmail newaliases_path = /usr/bin/newaliases local_transport = local mailq_path = /usr/bin/mailq setgid_group = maildrop html_directory = /usr/share/doc/packages/postfix/html manpage_directory = /usr/share/man sample_directory = /usr/share/doc/packages/postfix/samples readme_directory = /usr/share/doc/packages/postfix/README_FILES mynetworks = 127.0.0.0/8 mydomain = com myhostname = gelco-ox.com biff = no mail_spool_directory = /var/mail canonical_maps = hash:/etc/postfix/canonical virtual_maps = hash:/etc/postfix/virtual relocated_maps = hash:/etc/postfix/relocated transport_maps = hash:/etc/postfix/transport sender_canonical_maps = hash:/etc/postfix/sender_canonical masquerade_exceptions = root masquerade_classes = envelope_sender, header_sender, header_recipient program_directory = /usr/lib/postfix inet_interfaces = all masquerade_domains = mydestination = $myhostname, localhost.$mydomain defer_transports = #disable_dns_lookups = yes relayhost = smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_client_restrictions = permit_sasl_authenticated, reject smtpd_helo_required = yes smtpd_helo_restrictions = smtpd_data_restrictions = reject_unauth_pipelining, permit disable_vrfy_command = yes strict_rfc821_envelopes = no smtpd_use_tls = no smtp_use_tls = no mailbox_size_limit = 10240000 message_size_limit = 10240000 smtp_sasl_auth_enable = no smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_local_domain = $myhostname broken_sasl_auth_clients = yes maps_rbl_domains = relays.ordb.org, dnsbl.njabl.org smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination reject_non_fqdn_recipient, permit_mynetworks, permit_sasl_authenticated, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_hostname, reject_non_fqdn_hostname, reject_rbl_client relays.ordb.org, reject_rbl_client dnsbl.njabl.org, warn_if_reject reject_unknown_client, permit #mailbox_transport = lmtp:unix:/var/spool/postfix/public/lmtp mailbox_transport = lmtp:unix:public/lmtp mailbox_command = /usr/lib/cyrus/bin/deliver local_recipient_maps = debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id & sleep 5
2005/10/17, jvelez@dinanet.net.co:
necesito configurar postfix para que no entregue a internet (por lo general se hace lo contrario) solo que funcione como correo local (en una red de area local que si tiene salida a internet y la maquina que tiene el servidor de correo es la misma puerta de enlace a internet, pero el correo no deve salir a internet y no se como bloquear el correo para que no salga a internet
Utiliza una dirección ficiticia (tipo linux.local), desabilita las consultas DNS (disable_dns_lookup=yes) y no abras el puerto 25 de tu router.... y echa un vistazo a la documentación de Postfix por si quieres poner más restricciones: http://www.postfix.com/BASIC_CONFIGURATION_README.html Saludos, -- Camaleón
participants (2)
-
Camaleón
-
jvelez@dinanet.net.co