Sorry for top post my mua sucks. What OS? You will need opensntpd-extras for passwd table.
Do you want the local users to have to log in to the server to check their mail? Seems cumbersome to me. Aliases file root: larry postmaster: root larry: [email protected] This will eventually make its way to dovecot maildir. You don't have "listen on" lines shown. I'm guessing you left them off but just checking. > > On Oct 21, 2017 at 10:12 AM, <Doug Moss> wrote: > > > I would like opinions on recommended configuration of opensmtpd in scenario > with local users via mbox, virtual users on top level domain via lmtp/maildir > and the edge case of delivering from top level domain to local user mbox. > Details: server with node name www.example.org local users (root), larry, > lisa virtual users , delivered by lmtp to maildir (dovecot) openbsd setup: > /etc/mail/aliases: postmaster root /etc/root/.forward to local user larry > configuration of /etc/mail/smtpd.conf: table aliases file:/etc/mail/aliases > table public_users file:/etc/mail/public_users accept from any for domain > "example.org" virtual deliver to lmtp "/var/dovecot/lmtp" rcpt-to accept for > local alias deliver to mbox accept from local for any relay With this > configuration: from local node, or gets delivered to larry mbox external > won't get delivered at all If I put account postmaster into > /etc/mail/public_users then will go to a lmtp maildir for a virtual > postmaster I would prefer for to get delivered to local user root (then .forward to local user larry mbox) I guess there are many options: - don't bother with postmaster - do the virtual postmaster (with now a separate password, and via IMAP) - insist people send to My essential question: Is there a good way to have go to a local user mbox? Also: documentation of 'passwd' table > > > > > > On www.opensmtpd.org/faq/example1.html there is the line table passwd > passwd:/etc/mail/passwd but in man.openbsd.org/smtpd.conf and > man.openbsd.org/table there is no documentation of the format/details of > 'passwd' table/file dovecot expects a file with similar format to /etc/passwd > file (separated by colons, man.openbsd.org/passwd.5 ) Perhaps it should be > made explicit in man.openbsd.org/table or man.openbsd.org/smtpd.conf that the > 'type' of table may be 'passwd' in addition to 'db' and 'file' and specify > that it is the same file format as /etc/passwd -- You received this mail > because you are subscribed to [email protected] To unsubscribe, send a mail > to: [email protected] >
