first of all the auth on imap I need to check out the dovecot conf, but still can recive mails from other domains, so the debug is:
smtpd -dv debug: init ssl-tree info: loading pki information for foobar.com.ar info: OpenSMTPD 5.4.3 starting debug: bounce warning after 4h debug: using "fs" queue backend debug: using "ramqueue" scheduler backend debug: using "ram" stat backend info: startup [debug mode] debug: parent_send_config_ruleset: reloading debug: parent_send_config: configuring pony process debug: parent_send_config: configuring ca process debug: init ssl-tree info: loading pki keys for foobar.com.ar debug: init private ssl-tree debug: ca_engine_init: using RSAX engine support debug: smtp: listen on xx.xx.xx.xx port 587 flags 0x469 pki "foobar.com.ar" debug: smtp: listen on xx.xx.xx.xx port 25 flags 0x401 pki "foobar.com.ar" debug: smtp: listen on xx.xx.xx.xx port 465 flags 0x402 pki "foobar.com.ar" debug: smtp: listen on 127.0.0.1 port 25 flags 0x400 pki "" debug: smtp: listen on IPv6:fe80::1%lo0 port 25 flags 0x400 pki "" debug: smtp: listen on IPv6:::1 port 25 flags 0x400 pki "" debug: pony: rsae_init debug: pony: rsae_init debug: queue: done loading queue into scheduler debug: smtp: will accept at most 499 clients debug: smtpd: scanning offline queue... debug: smtpd: offline scanning done debug: smtp: new client on listener: 0xc5844a16000 smtp-in: New session 3f681f0ab1024651 from host mail-lb0-f176.google.com [209.85.217.176] debug: lka: looking up pki "foobar.com.ar" debug: session_start_ssl: switching to SSL smtp-in: No PKI entry for requested SNI "mx.blo.com.ar"on session 3f681f0ab1024651 debug: pony: rsae_priv_enc debug: pony: rsae_init debug: pony: rsae_init debug: pony: rsae_pub_dec debug: pony: rsae_bn_mod_exp debug: pony: rsae_init debug: pony: rsae_pub_dec debug: pony: rsae_bn_mod_exp debug: pony: rsae_pub_dec debug: pony: rsae_bn_mod_exp smtp-in: Started TLS on session 3f681f0ab1024651: version=TLSv1/SSLv3, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128 smtp-in: Client certificate verification succeeded on session 3f681f0ab1024651 debug: smtp: SIZE in MAIL FROM command smtp-in: Failed command on session 3f681f0ab1024651: "RCPT TO:< [email protected]>" => 550 Invalid recipient smtp-in: Closing session 3f681f0ab1024651 debug: smtp: 0xc57d1a42000: deleting session: done debug: pony: rsae_finish debug: pony: rsae_finish debug: pony: rsae_finish --- x --- smtpd.conf table dominios file:/etc/mail/dominios table usuarios file:/etc/dovecot/users table usuariosv file:/etc/mail/usuariosv table aliases db:/etc/mail/aliases.db table spam file:/etc/mail/spam expire 4h pki foobar.com.ar certificate "/etc/mail/certs/foobar.crt" pki foobar.com.ar key "/etc/mail/certs/foobar.key" pki foobar.com.ar dhparams "/etc/ssl/ foobar.com.ar/dhparam.pem" listen on lo0 port 25 listen on egress secure pki foobar.com.ar hostname foobar.com.ar listen on egress port 587 tls-require pki foobar.com.ar auth <usuarios> reject from any sender <spam> for domain <dominios> accept for local alias <aliases> deliver to mda "/usr/local/libexec/dovecot/dovecot-lda -f %{sender}" accept from any for domain <dominios> alias <aliases> deliver to mda "/usr/local/libexec/dovecot/dovecot-lda -f %{sender}" accept from any for domain <dominios> virtual <usuariosv> deliver to mda "/usr/local/libexec/dovecot/dovecot-lda -f %{sender}" accept for any relay --- x --- cat /etc/mail/dominios hostname foobar.com.ar blo.com.ar cat /etc/dovecot/users bla bla:$2b$06$bhtDLFiYE/oe6giH1QvYWeY0xvL3ylAKmetPY7Awe9RdbjXKrhrC. blo blo:$2b$06$5tJB2XItT7Sq3FDLuv7tVep82OTdmAXE.i.5rOt7k5EOSBV1kU5Zq cat /etc/mail/usuariosv ## foobar [email protected] bla ## blo [email protected] blo 2015-03-11 22:09 GMT-03:00 Seth <[email protected]>: > On Wed, 11 Mar 2015 13:11:16 -0700, Gonzalo <[email protected]> > wrote: > > Hi Guys, >> >> I have this conf on OpenBSD 5.6 >> >> table dominios file:/etc/mail/dominios >> table usuarios file:/etc/dovecot/users >> table aliases db:/etc/mail/aliases.db >> table spam file:/etc/mail/spam >> >> expire 4h >> >> pki foobar.com.ar certificate "/etc/mail/certs/foobar.crt" >> pki foobar.com.ar key "/etc/mail/certs/foobar.key" >> pki foobar.com.ar dhparams "/etc/ssl/ >> foobar.com.ar/dhparam.pem" >> >> listen on lo0 port 25 >> listen on egress secure pki foobar.com.ar hostname foobar.com.ar >> #listen on egress port 587 tls-require pki foobar.com.ar auth <usuarios> >> hostname foobar.com.ar >> listen on egress port 587 tls-require pki foobar.com.ar auth <usuarios> >> >> reject from any sender <spam> for domain <dominios> >> >> accept for local alias <aliases> deliver to mda >> "/usr/local/libexec/dovecot/dovecot-lda -f %{sender}" >> accept from any for domain <dominios> alias <aliases> deliver to mda >> "/usr/local/libexec/dovecot/dovecot-lda -f %{sender}" >> accept from any for domain <dominios> deliver to mda >> "/usr/local/libexec/dovecot/dovecot-lda -f %{sender}" >> accept for any relay >> >> >> >> I can login and recive/send mails with foobar.com.ar (usr bla) but I >> can't >> with other domain in file:/etc/mail/dominios or file:/etc/dovecot/users >> >> file:/etc/dovecot/users >> bla bla:$2b$06$bhtDQvYWeY0xvL3ylAKmetPY7Awe9RdbjXKrhrC. >> blo blo:$2b$06t9bLmm.bkoK4A6tueb.eb0j2vivzV1pH7PrZoixwzBROTr0Gd6 >> >> file:/etc/mail/dominios >> hostname >> foobar.com.ar >> blo.com.ar >> >> >> Any idea, what I doind wrong here? >> > > What messages show up in the log when authentication fails? > > Have you tried running smtpd -dv in the terminal to watch the failures > take place? > > -- > You received this mail because you are subscribed to [email protected] > To unsubscribe, send a mail to: [email protected] > > -- Enviado desde mi tostadora de mano...
