I simply use the file type. For example: table credentials file:/etc/mail/credentials.
I do it this way because it is the simplest form. All I have in the credentials file is username:password. Use smtpctl encrypt to generate the encrypted password for the user. Finally, use smtpctl update table credentials to tell smtpd about the changes. On Sun, Aug 26, 2018, 11:35 PM Antonino Sidoti wrote: > Hi, > > When using a credentials table (man table), what table type do I use with > regards to using the table in a smtpd.conf configuration? > > I have created this table in my smtpd.conf but I am not sure it is > correct? > > table passwd file:/etc/mail/passwd > > Though I have seen a sample configuration from another site using a > different table type; > > table passwd passwd:/etc/mail/passwd > > Reading the man page, it does not make any reference to the table type > using ‘passwd’. It only talks about ‘file’ and ‘db’. > > Nino
