On Sun, Jan 31, 2021 at 04:24:28PM -0600, Chris Bennett wrote: > On Sun, Jan 31, 2021 at 03:51:01PM +0100, Pascal Huisman wrote: > > Which got me out of the mess. See man smtpd.conf > > It now switches to the user before delivering. So it's not vmail as > > directory owner, but the username who is directory owner. In the trace > > you can see the switch in user in the trace. > > > > My virtual user config: > > pascal:someencryptedpasswdhash:pascal:1000:1000:/home/pascal::userdb_ma > > il=maildir:/home/pascal/Maildir > > > > The example in smtpd.conf shows: > > action "outbound" relay host smtp+tls://[email protected] auth secrts > ^^^ > Having bob here completely confuses me. > I'm not using this method, but I have to ask the question: > What happens if you have two users, bob and jane? Or a hundred users?
You would need to create a credentials table mapping the label `bob' to his credentials. Along with your other 100 users. You would then need to have match rules to correspond to their action rules. I don't really see much need since you could just configure their mua's to do this. I think the majority of people use this so that their system mail reaches them. Such as the output from /etc/daily and the like. > It seems to me that there needs to be a table or something in > smtpd.conf. See table(5) under credential tables. > Could someone explain this example to me, please. > > I'd really like to remove my dunce cap on this one. > Thanks, > Chris Bennett > > > Edgar
