Yup.

table dominios                          file:/etc/mail/dominios
table usuarios                          passwd:/etc/dovecot/users.db
table aliases                           db:/etc/mail/aliases.db

expire 4h

pki foobar.com.ar certificate              "/etc/ssl/
foobar.com.ar/foobar.crt"
pki mx.foobar.com.ar certificate           "/etc/ssl/
foobar.com.ar/foobar.crt"
pki foobar.com.ar key                      "/etc/ssl/
foobar.com.ar/foobar.key"
pki mx.foobar.com.ar key                   "/etc/ssl/
foobar.com.ar/foobar.key"
pki foobar.com.ar dhparams                 "/etc/ssl/
foobar.com.ar/dhparam.pem"
pki mx.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 2525 tls-require pki foobar.com.ar auth <usuarios>
hostname foobar.com.ar

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 via smtp://127.0.0.1:10028


And dovecot conf:

# 2.2.10:
/etc/dovecot/dovecot.conf
[11/949]
# OS: OpenBSD 5.6 amd64
debug_log_path = /var/log/dovecot-debug.log
default_internal_user = vmail
first_valid_uid = 1000
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep tb-lsub-flags
log_path = /var/log/dovecot
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags
copy include variables body enotify environm
ent mailbox date ihave
mbox_write_locks = fcntl
mmap_disable = yes
namespace {
  inbox = yes
  location = maildir:/var/www/datos/correos/%n:LAYOUT=fs
  prefix =
  separator = /
}
passdb {
  args = username_format=%n /etc/dovecot/users.db
  driver = passwd-file
}
plugin {
  auth_debug = yes
  auth_verbose = yes
  log_path = /var/log/dovecot.log
  mail_debug = yes
  sieve = /var/www/datos/correos/%n/%n.sieve
  sieve_global_dir = /var/sieve
  sieve_global_path = /var/sieve/global-default.sieve
}
protocols = imap sieve
service auth {
  unix_listener auth-userdb {
    group = vmail
    mode = 0777
    user = vmail
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  inet_listener sieve_deprecated {
    port = 2000
  }
}
ssl_cert = </etc/ssl/dovecotcert.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
  args = uid=vmail gid=vmail home=/etc/dovecot
  driver = static
}
protocol lda {
  info_log_path = /var/log/dovecot-deliver.log
  log_path = /var/log/dovecot-deliver-errors.log
  mail_plugins = " sieve"
  postmaster_address = [email protected]
}



2015-01-14 9:08 GMT-03:00 Denis Fondras <[email protected]>:

> Can you give us a peek at your smtpd.conf file ?
>
> --
> You received this mail because you are subscribed to [email protected]
> To unsubscribe, send a mail to: [email protected]
>
>

Reply via email to