On Sat, 21 May 2016 13:32:40 -0500
Edgar Pettijohn <[email protected]> wrote:
> On 05/20/16 13:26, Olivier Brunel wrote:
> > Hello,
> >
> > I'm new to OpenSMTPD and while this looks really good so far, and
> > with a configuration that can be both simple yet powerful/flexible
> > at once, even after reading the man pages I still find myself with
> > a few questions I can't answer, so I'm hoping I can get some help.
> >
> > * To make sure: whenever a mapping is used (virtual domains/users,
> > aliases...) it always means there *needs* to be a match, and if
> > not the rule "fails" and smtpd will move on to the next rule,
> > rejecting the message if no other (matching) rule is found --
> > correct? For some cases the doc clearly states so, but not for
> > others, so I'm unsure if that's just implied as well, or what's the
> > behavior then?
> When a message comes in it checks each rule from top to bottom until
> it finds a match. First match wins.
Right, I just wanted to be sure a match is always needed, since it
is only stated some of the time.
> > Here's what I'm thinking of using:
> > table users { bob = 8:12:/var/mail, alice = 8:12:/var/mail }
> > accept from any for domain "foo.com" userbase <users> \
> > deliver to maildir
> > "/var/mail/foo.com/%{rcpt.user}"
>
> That looks good. The userinfo table maps to a system user/group is 8
> and 12 what you want? Sounds like they may have more permissions on
> the system than you would want virtual users to have.
It is, though I'll indeed probably create a new user/group dedicated to
that, to be safe(r).
Thanks,
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]