I am very sorry, please ignore the mails I have sent.

I have apprently been looking at the man page for FreeBSD smtpd and not
OpenBSD. In the FreeBSD version they have changed the format specifiers.



2014-04-14 7:04 GMT+02:00 Martin Braun <[email protected]>:

> Okay, I got the standard part working, but using format specifiers is
> definitely not working.
>
> Using this:
>
> accept from any for domain <vdoms> virtual <vusers> deliver to maildir
> "~/Maildir/%d/"
>
> Made it create the "Maildir" part in the user home, but instead of
> expanding the "%d" to the domain, it created a directory as "%d".
>
>
>
> 2014-04-14 6:29 GMT+02:00 Martin Braun <[email protected]>:
>
>> 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