I dont want systems users
El mar 12, 2015 6:43 PM, "Edgar Pettijohn III" <ed...@pettijohn-web.com>
escribió:

>
> On Mar 11, 2015, at 8:09 PM, Seth wrote:
>
> > On Wed, 11 Mar 2015 13:11:16 -0700, Gonzalo <tengoandr...@gmail.com>
> 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 misc@opensmtpd.org
> > To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
> >
>
>
> The format of your "usarios" table is incorrect I believe.  It should be a
> mapping of an email address to a system user.  Mine looks like so:
>
> # /etc/mail/vusers
> us...@domain.tld  _vmail
>
> Then your dovecot userdb needs to look something like this:
>
> user1:{BLF-CRYPT}"password hash":5000:5000::/var/vmail/%d/%n
>
>
>
> --
> You received this mail because you are subscribed to misc@opensmtpd.org
> To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
>
>

Reply via email to