I like to add virtual users (now have system users) like:

MTA: OpenSMTPD
LDA: Dovecot
IMAP: Dovecot
USR: Virtual
DOMAINS: Virtual

But I didn't found the right setup yet... any help would be nice :)



2015-01-11 0:40 GMT-03:00 Gonzalo Rodriguez <[email protected]>:

> I just swtich from Postfix + Dovecot to OpenSMTPd + Dovecot
>
> And here is my conf:
>
> table domain                            file:/etc/mail/domain
> table aliases                           db:/etc/mail/aliases.db
>
> expire 4h
>
> pki foobar.com certificate              "/etc/ssl/foobar.com/foobar.crt"
> pki foobar.com key                      "/etc/ssl/foobar.com/foobar.key"
> pki foobar.com dhparams                 "/etc/ssl/foobar.com/dhparam.pem"
>
> listen on lo0 port 25
> listen on egress port 25 tls pki foobar.com auth-optional
> listen on egress port 2525 tls-require pki foobar.com auth
> listen on lo0 port 10027 tag Signed
>
> accept for local alias <aliases> deliver to mda
> "/usr/local/libexec/dovecot/dovecot-lda -f %{sender} "
> accept from any for domain <domain> alias <aliases> deliver to mda
> "/usr/local/libexec/dovecot/dovecot-lda -f %{sender} "
> accept from any for domain <domain> deliver to mda
> "/usr/local/libexec/dovecot/dovecot-lda -f %{sender} "
> accept from local for any relay
> accept for any relay
>
>
> I also have spamd, this is under OpenBSD 5.6 -release.
>
> Any hint to make it better or secure?
>
> Thanks.
>

Reply via email to