I am running a clean install of OpenBSD snapshot and I wanted to try out
OpenSMTPD as a replacement for Postfix.

However, I have run into a problem when smtpd is trying to deliver mail.

>From /var/log/maillog:

  stat=Error ("cannot cd to maildir: No such file or directory")

In smtpd.conf:

listen on re0 port 25 hostname foo.com
table vdoms             "/etc/smtpd/vdoms"
table vusers            "/etc/smtpd/vusers"
accept from any for domain <vdoms> virtual <vusers> deliver to maildir
accept from any for any relay

This is just for testing purpose so far.

As I have understood it smtpd should create the Maildir directory itself
right?

I have even tried to create it manually and asign ownership to the user,
and I have tried chmod 777, but I get the same error.

What am I missing?

Reply via email to