Error: Mailbox Spam: Failed to autocreate mailbox: Mailbox can't be created

2024-06-09 Thread Jordan Rosenthal via dovecot
Hi, I am getting the error "Error: Mailbox Spam: Failed to autocreate mailbox: Mailbox can't be created" and cannot figure out what is causing it.  It seems like some sort of permissions issue, but nothing I have tried seems to fix the problem. I was running my setup for many

Re: Mailbox can't be created

2015-09-05 Thread Timo Sirainen
> On 03 Sep 2015, at 23:10, Paulo Matos wrote: > > On 29/08/15 11:31, Timo Sirainen wrote: >> On 27 Aug 2015, at 12:07, Paulo Matos wrote: >>> >>> Aug 27 10:02:29 lda(): Info: >>> msgid=: save failed >>> to open mailbox PreINBOX: Mailbox c

Re: Mailbox can't be created

2015-09-03 Thread Paulo Matos
On 29/08/15 11:31, Timo Sirainen wrote: On 27 Aug 2015, at 12:07, Paulo Matos wrote: Aug 27 10:02:29 lda(): Info: msgid=: save failed to open mailbox PreINBOX: Mailbox can't be created I have no idea how you could get that error message. Looking at the code I don't see any wa

Re: Mailbox can't be created

2015-09-03 Thread Paulo Matos
On 27/08/15 18:55, Alexander Dalloz wrote: Am 27.08.2015 um 13:46 schrieb Paulo Matos: On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: Please check permissions as this sounds like a permissions issue m I am confused then. /home/vmail/Maildir is 700 for vmail:vmail. If dovecot-lda runs as vmail

Re: Mailbox can't be created

2015-08-29 Thread Timo Sirainen
On 27 Aug 2015, at 12:07, Paulo Matos wrote: > > Aug 27 10:02:29 lda(): Info: > msgid=: save failed > to open mailbox PreINBOX: Mailbox can't be created I have no idea how you could get that error message. Looking at the code I don't see any way it could happen.. Thi

Re: Mailbox can't be created

2015-08-27 Thread Alexander Dalloz
Am 27.08.2015 um 13:46 schrieb Paulo Matos: On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: Please check permissions as this sounds like a permissions issue m I am confused then. /home/vmail/Maildir is 700 for vmail:vmail. If dovecot-lda runs as vmail then there's no problem, if it runs as root

Re: Mailbox can't be created

2015-08-27 Thread Paulo Matos
On 27/08/15 13:07, Muzaffer Tolga Ozses wrote: Make it 755 and be done with it. Unfortunately that doesn't work either. I still get that dovecot can't create mailbox. :-/

Re: Mailbox can't be created

2015-08-27 Thread Paulo Matos
dovecot-lda is being executed as vmail so it shouldn't be a problem in theory. On 27/08/2015 13:03, Muzaffer Tolga Ozses wrote: > Having said that, /home/vmail should be owned by vmail, however dovecot-lda > should have write access so 700 is a bad idea. > On 27/08/2015 3:00 PM, "Muzaffer

Re: Mailbox can't be created

2015-08-27 Thread Paulo Matos
On 27/08/15 13:00, Muzaffer Tolga Ozses wrote: ps aux | grep lda Strange... postfix 1315 0.0 0.1 121220 7472 ?S12:59 0:00 pipe -n dovecot -t unix flags=DRhu user=vmail vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -a ${recipient} -d ${user}@${nexthop} -m PreINBOX

Re: Mailbox can't be created

2015-08-27 Thread Muzaffer Tolga Ozses
Make it 755 and be done with it. On 27/08/2015 3:05 PM, "Paulo Matos" wrote: > On 27/08/15 12:46, Paulo Matos wrote: > >> On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: >> >>> Please check permissions as this sounds like a permissions issue m >>> >> >> I am confused then. /home/vmail/Maildir is 7

Re: Mailbox can't be created

2015-08-27 Thread Paulo Matos
On 27/08/15 12:46, Paulo Matos wrote: On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: Please check permissions as this sounds like a permissions issue m I am confused then. /home/vmail/Maildir is 700 for vmail:vmail. If dovecot-lda runs as vmail then there's no problem, if it runs as root it sh

Re: Mailbox can't be created

2015-08-27 Thread Muzaffer Tolga Ozses
Having said that, /home/vmail should be owned by vmail, however dovecot-lda should have write access so 700 is a bad idea. On 27/08/2015 3:00 PM, "Muzaffer Tolga Ozses" wrote: > ps aux | grep lda > On 27/08/2015 2:58 PM, "Paulo Matos" wrote: > >> On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: >>

Re: Mailbox can't be created

2015-08-27 Thread Muzaffer Tolga Ozses
ps aux | grep lda On 27/08/2015 2:58 PM, "Paulo Matos" wrote: > On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: > >> Please check permissions as this sounds like a permissions issue m >> > > I am confused then. /home/vmail/Maildir is 700 for vmail:vmail. If > dovecot-lda runs as vmail then there's

Re: Mailbox can't be created

2015-08-27 Thread Paulo Matos
On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: Please check permissions as this sounds like a permissions issue m I am confused then. /home/vmail/Maildir is 700 for vmail:vmail. If dovecot-lda runs as vmail then there's no problem, if it runs as root it shouldn't face problems either. How c

Re: Mailbox can't be created

2015-08-27 Thread Muzaffer Tolga Ozses
- pipe > flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f > ${sender} -a ${recipient} -d ${user}@${nexthop} -m PreINBOX > > And enabled lda_mailbox_autocreate. > > The message I have now it: > Aug 27 10:02:29 lda(): Info: > msgid=: save > faile

Mailbox can't be created

2015-08-27 Thread Paulo Matos
And enabled lda_mailbox_autocreate. The message I have now it: Aug 27 10:02:29 lda(): Info: msgid=: save failed to open mailbox PreINBOX: Mailbox can't be created Aug 27 10:02:29 lda(): Info: msgid=: saved mail to INBOX Why wouldn't dovecot itself be able to create mailboxes?