Hey guys,

I've been trying to get OpenSMTPD to work well with virtual users for a while, 
finally got it to work. I wrote a HOWTO for anybody who's interested. It uses 
text based files but good for small installations, I currently use this for a 
small PHPList server I manage, much less hassle than configuring it with 
Postfix. The configuration stores plain text passwords in salt but can easily 
be changed to store hashes

https://blog.al-shami.net/2015/01/howto-small-mail-server-with-salt-dovecot-and-opensmtpd/

But I did find 2 issues, not sure if they are bugs or intended:

1- When a user tries to authenticate the first time OpenSMTPD is started, the 
log shows the following error
Authentication temporarily failed for user user@domain on session
Then things work properly

2- For the password file, if there are any blank lines OpenSMTPD just exists 
with the following in the log
fatal: table-proc: exiting

Hope it helps somebody, and any comments are highly appreciated :)

Reply via email to