Monday, April 11, 2022

Re: OpenSMTPD + Dovecot + Dkimsign configuration?

Hi,

I'm a novice in the subject, but:

>>> [...] if it were possible to use only OSMTPD
>>> with virtual users + Dkimsign?
>>>
>>> Please tell me what i might read.

Some links that were useful to me (included for info; maybe not 100%
on topic):
- https://prefetch.eu/blog/2020/email-server/
- https://poolp.org/posts/2019-09-14/setting-up-a-mail-server-with-
opensmtpd-dovecot-and-rspamd/


I'd _guess_ dovecot doesn't play any role before the messages are saved
on the filesystem.


> In this case, i supossed that using a virtual-users file could work.

I believe the relevant lines in smtpd.conf are:

table virtuals file:/etc/mail/virtuals

action "inbound" maildir
"/var/vmail/example.com/%{dest.user:lowercase}" virtual <virtuals>

^ The last one's actually a single line, split to fit email.

Diego

No comments:

Post a Comment