Aw: Re: Cannot deliver to shared folders with spaces - Kolab on Debian10

[email protected]
Newsgroups gmane.comp.kde.devel.kroupware
Message-ID <trinity-02bab5e8-5d70-47d7-9f43-c659738b69bc-1590426417073__2119.44714408077$1590426768$gmane$org@3c-app-webde-bap04>
Hi Daniel,

- postfix/lmtp should be ok since all other mail delivery works
- virtual_alias_maps_sharedfolders.cf is untouched
- physical folders are created correctly with spaces in the cyrus dir

New folder created in webadmin:
Folder Name: Another TestFolder
Email Address: [email protected]
Target IMAP Folder: shared/Another [email protected]

Resulting physical folder:
.../domain/o/ourdomain.com/a/shared/Another TestFolder

LDAP entry:
cn=Another TestFolder,ou=Shared Folders,dc=ourdomain,dc=com
cn: Another TestFolder
mail: [email protected]
kolabTargetFolder: shared/Another [email protected]
objectClass: kolabsharedfolder
objectClass: mailrecipient
objectClass: top
kolabFolderType: mail
acl: anyone, all

This looks all good to me. Sending mail to that folder still gives a 550 Error.
If I rename the mailbox using kolab cmdline and replace spaces with underscores and edit the ldap entry accordingly, then mail delivery works.

So somehow the space breaks something but I dont now what...

Thx
  Bob


> Gesendet: Montag, 25. Mai 2020 um 12:22 Uhr
> Von: "Daniel Hoffend" <[email protected]>
> An: [email protected]
> Cc: [email protected]
> Betreff: Re: Cannot deliver to shared folders with spaces - Kolab on Debian10
> Hi Bob
> 
> There're some things to look for:
> 
> 1) Is the postfix/lmtp configuration okay. But afaik since it hasn't
> changed in the setup-kolab templates it should be okay.
> 2) The shared mailbox name (kolabTargetFolder) usually gets
> autogenerated based on the Folder name (cn). kolabd then creates this
> shared mailbox. When the shared mailbox template defintion doesn't
> include the autogenerated kolabtargetfolder attribute kolabd
> autogenerated the shared mailbox (maybe without spaces).
> 3) The next thing to look for is the postfix alias map
> (virtual_alias_maps_sharedfolders.cf) if things have changed.
> 
> Can you please provide me some details (cn, kolabtargetfolder,
> sharedfolder template settings, etc) about how you created the mailbox
> and how your ldap entry looks like? I would like to reproduce it and see
> where things goes wrong.
> 
> --
> Regards
> Daniel
> 
> 
> Am 2020-05-24 15:50, schrieb [email protected]:
> >  
> > Hi all,
> >
> > as the title says: We are running Kolab on a Debian10 system and have
> > problems delivering mails to shared folders which have spaces in their
> > names. This happens with existing and newly created shared folders.
> > Our old system on CentOS never had a problem with this.
> >
> > this works:
> > shared+shared/Customers/BigBlueCompany/[email protected]
> >
> > this results in 550-Mailbox unknown:
> > shared+shared/Customers/Big Blue Company/[email protected]
> >
> > The problem seems to be the local mail transport from postfix to cyrus
> > via lmtp. I have compared the logs and the only difference I see is
> > the quoting of the folder name when spaces are present. Taken from the
> > lmtp transfer:
> >
> > no spaces:
> > <[email protected]> SIZE=4902
> > <shared+shared/Customers/BigBlueCompany/[email protected]>
> > DATA
> > 250 2.1.0 ok
> > 250 2.1.5 ok
> > 354 go ahead
> >
> > spaces:
> > <[email protected]> SIZE=4912
> > <"shared+shared/Customers/Big Blue Company/Orders"@ourdomain.com>
> > DATA
> > Mailbox does not exist
> > 250 2.1.0 ok
> > 550-Mailbox unknown. Either there is no mailbox associated with this
> > 550-name or you do not have authorization to see it.
> > 550 5.1.1 User unknown
> >
> > AFAIK the quoting is expected behaviour and should work?
> >
> > Could anybody running on Debian10 try to reproduce this?
> > If it's not an OS problem any hints on how to solve this would be
> > appreciated.
> >
> > Thank you
> >
> > Bob
> >
> > _______________________________________________
> > users mailing list
> > [email protected]
> > https://lists.kolab.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.