[postfix-es] Rv: SMTP AUTH & POSTFIX

Jazmin Gutierrez jaz_831004 en yahoo.com.mx
Mar Oct 27 00:20:53 CET 2009


Esta es la configuración de postfix:

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific:  Specifying a file name will cause the first
# line of that file to be used as the name.  The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = juntas
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = correo-dse.example.com, localhost.example.com, juntas.example.com
relayhost =
mynetworks = 127.0.0.0/8,192.168.166.0/24
#mailbox_transport = cyrus
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
smtpd_sasl_local_domain =
smtpd_sasl_auth_enable = yes
smtpd_sasl_application_name = smtpd
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_delay_reject = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_relay_domains
smtpd_tls_auth_only = no
smtp_tls_security_level = may
smtpd_tls_security_level = may
smtp_use_tls = yes
smtp_tls_note_starttls_offer = yes
smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
home_mailbox =
smtpd_sasl_type = cyrus
smtpd_sasl_path = smtpd
smtpd_sasl_authenticated_header = no
smtpd_sender_restrictions =
mailbox_command =
smtpd_tls_mandatory_protocols = SSLv3, TLSv1
smtpd_tls_mandatory_ciphers = medium

¿Necesitas ver algún otro archivo?

De antemano, gracias.


--- El lun 26-oct-09, Wilbert J. Rojas O. <sysadmin en ideay.net.ni> escribió:

De:: Wilbert J. Rojas O. <sysadmin en ideay.net.ni>
Asunto: Re: [postfix-es] Rv: SMTP AUTH & POSTFIX
A: "Jazmin Gutierrez" <jaz_831004 en yahoo.com.mx>
Cc: postfix-es-bounces+david=delpozo.org en lists.wl0.org, "Postfix" <postfix-es en lists.wl0.org>, david en delpozo.org
Fecha: lunes 26 de octubre de 2009, 16:10

Puedes pegar tu configuración que tienes para revisar , ??


Saludos.

================================
Ing. Wilbert José Rojas Ochoa.
Administrador de Sistemas
Ideay ~ Equipos y Sistemas.
Managua, Nicaragua.
Telf. +(505) 2277-4000 Ext: 115.
Fax   +(505) 2277-4411.
USA:  +(305) 735-8364.
Cel.  +(505) 8883-2877.
================================



Jazmin Gutierrez wrote:

> En las siguientes líneas se puede observar que ya tengo habilitado
> SMTP AUTH, y que funciona correctamente:
>
> abdell en hawking:~$ telnet x.x.x.x 25
>
> Trying 10.0.40.5...
>
> Connected to x.x.x.x.
>
> Escape character is '^]'.
>
> 220 +++++++++++++++++++++++++++++++++++++
>
> ehlo  ejemplo.org.mx
>
> 250-ejemplo.org.mx
>
> 250-PIPELINING
>
> 250-SIZE 20971520
>
> 250-VRFY
>
> 250-ETRN
>
> 250-STARTTLS
>
> 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
>
> 250-AUTH=DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
>
> 250-ENHANCEDSTATUSCODES
>
> 250 8BITMIME
>
> auth login
>
> 334 VXNlcm5hbWU6
>
> QWJsZDxsKnJ2aYo=
>
> 334 UGFzc3dvcmQ6
>
> eG9WNF0xcyChUG8H=
>
> 235 2.7.0 Authentication successful
>
> mail from: claudia en org.mx
>
> 250 2.1.0 Ok
>
> rcpt to: peter en org.mx
>
> 250 2.1.5 Ok
>
> data
>
> 354 End data with <CR><LF>.<CR><LF>
>
> subject: prueba 6:11
>
> from: victima en org.mx
>
> to: peter en org.mx
>
> hola, ¿recibiste este correo?
>
> .
>
> 250 2.0.0 Ok: queued as C921A4180CE
>
> quit
>
> 221 2.0.0 Bye
>
> Connection closed by foreign host.
>
>
> Sin embargo, si yo ejecuto la misma prueba omitiendo el comando auth
> login con el que me autentico, puedo enviar el correo sin problema,
> permitiendo la suplantación de identidad. ¿Hay alguna manera de
> impedir que el usuario envíe un correo sin antes haberse autenticado
> con dicho comando?
>
>
>
> --- El *sáb 24-oct-09, david en delpozo.org /<david en delpozo.org>/* escribió:
>
>
>     De:: david en delpozo.org <david en delpozo.org>
>     Asunto: Re: [postfix-es] Rv: SMTP AUTH & POSTFIX
>     A: "Jazmin Gutierrez" <jaz_831004 en yahoo.com.mx>,
>     postfix-es-bounces+david=delpozo.org en lists.wl0.org, "Postfix"
>     <postfix-es en lists.wl0.org>
>     Fecha: sábado 24 de octubre de 2009, 10:26
>
>     Si tienes bien configurado el SMTP AUTH el remitente tiene que
>     autenticarse para poder enviar.
>     Puedes dar mas datos de lo que te ocurre?
>
>
>     -----Original Message-----
>     From: Jazmin Gutierrez <jaz_831004 en yahoo.com.mx
>     </mc/compose?to=jaz_831004 en yahoo.com.mx>>
>     Date: Fri, 23 Oct 2009 16:00:27
>     To: <postfix-es en lists.wl0.org
>     </mc/compose?to=postfix-es en lists.wl0.org>>
>     Subject: [postfix-es] Rv: SMTP AUTH & POSTFIX
>
>     _______________________________________________
>     List de correo postfix-es para tratar temas del MTA postfix en español
>     postfix-es en lists.wl0.org </mc/compose?to=postfix-es en lists.wl0.org>
>     http://lists.wl0.org/mailman/listinfo/postfix-es
>     <http://lists.wl0.org/mailman/listinfo/postfix-es>
>
>
> ------------------------------------------------------------------------
>
> ¡Encuentra las mejores recetas
> con Yahoo! Cocina!
> http://mx.mujer.yahoo.com/cocina/
> ------------------------------------------------------------------------
>
> _______________________________________________
> List de correo postfix-es para tratar temas del MTA postfix en español
> postfix-es en lists.wl0.org
> http://lists.wl0.org/mailman/listinfo/postfix-es



      Encuentra las mejores recetas en Yahoo! Cocina.                       
http://mx.mujer.yahoo.com/cocina/
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.wl0.org/pipermail/postfix-es/attachments/20091026/cefecb68/attachment.html>


More information about the postfix-es mailing list