Re: Dovecot under Linux with mail-extension and case insesitiv

2015-08-06 Thread Linda A. Walsh

Sascha wrote:

Hello,

i use doevecot 2.2.18 current. My Problem is with email-extension and
case sensitiv folders.
  

I've had similar problems.  As I run Win-7 against a Samba-linux server.
Win-7 does case-preserving+case-ignore -- samba does case Mangling -- it 
seems
to uppercase machine names & lowercase user names... causes alot of 
chaos


I'm only 1-user, so I changed my /etc/passwd file to have 2-3 names for
each   user-id I wanted to show up:
root:x:0:0:root:/root:/bin/bash
Bliss\root:x:0:0:root:/root:/bin/bash
BLISS\root:x:0:0:root:/root:/bin/bash

At times/over the years, I've had Samba give me each variation at least
once. But it's not just samba... different brands of 'ssh' will pass
different things -- some just 'user', some Domain\User, some 
Domain/User(cygwin).  Since most of my personal users are all lower

case, they don't usually need special attention, but in home directories
under 'Bliss', have a symlink BLISS->Bliss.  On some shares also needed
another symlink bliss->Bliss.  (ARR)...(BTW - Bliss was meant as
"irony"... so symlinks might help but will look ugly)...it can get
worse -- in user/group names, sometimes spaces are removed..
'Power Users' => powerusers.. ARG!!!

But when I've talked to dovecot... I always have just needed the
user name (no Domain)... Maybe your email software has some setting
to tell it to "play nice"?

Sorry for the "bad idea for large-scale implementation, but it was
easiest to do for a few users..(home network)...

BTW... some file systems are moving toward ignoring case...
xfs has had a case-ignore option but only works in ascii range.
Heard apple' implemented case-preserve+ignore on theirs,
and seem to remember reading somthing about Solaris(Sun/Oracle)'
ZFS getting a case-ignore+preserve option.

Good luck!



Example:
user+extenstion will be delivered to the user and subfolder extenstion
so this is okay.
but user+extenstion will not be delivert to the user and exiting
subfolder Extenstion so that is not okay.
The mail will be also delivered in the subfolder extension. The exiting
Folder Extension will not used.

Give's a way to tell dovecot, use the extension as a Folder, if a
exiting folder with Upper/Lower Cases will be detect and use the right
folder to delivery?

 -- Regards Sascha

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

  


Re: Dovecot under Linux with mail-extension and case insesitiv

2015-07-30 Thread Steffen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Sascha wrote:
> Am 30.07.2015 um 08:52 schrieb Jost Krieger:
>> On Wed Jul 29 22:42:32 2015, Sascha wrote:
>> 
>>> i use doevecot 2.2.18 current. My Problem is with
>>> email-extension and case sensitiv folders.
>>> 
>>> Example: user+extenstion will be delivered to the user and
>>> subfolder extenstion so this is okay. but user+extenstion will
>>> not be delivert to the user and exiting subfolder Extenstion so
>>> that is not okay. The mail will be also delivered in the
>>> subfolder extension. The exiting Folder Extension will not
>>> used.
>>> 
>>> Give's a way to tell dovecot, use the extension as a Folder, if
>>> a exiting folder with Upper/Lower Cases will be detect and use
>>> the right folder to delivery?
>> 
>> Unfortunately you didn't tell us which part of dovecot is doing
>> the delivery and which structure your folders are. That could be
>> lda, lmtp or even your MTA. But I am quite sure that you can't
>> match existing folders case-insensistively, except if you are
>> working on a case-insensitive filesystem *and* not using dbox. In
>> this case it shouldn't depend on the delivery method.
>> 
>> Yours Jost Krieger
> Current the delivery will be made with lda from postfix.

Do you use the -m option of the Dovecot LDA?
http://wiki2.dovecot.org/LDA/Postfix

you could lower-case (or mangle the case) of its argument.
I guess to detect the case of an already existing foldern would be a
real work, but you could lower case it.

- -- 
Steffen
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)

iQEVAwUBVbqAxXz1H7kL/d9rAQLsPAf/TksyXg7xcd/dfs2vvyYLOpEdstDPFP8/
apJ3GsZ24XO0Waw+VqPH/v3JDQVV4Z4pXqArag8w6Xql2Afy9+wilkl24VKYKJLH
9MEnK224b/FUjFZDD/+9wnxfhHzMf0C1y+ml20+Wp4Syhg8A0NeF8fow1DBGHLfT
IX+NYA7KhSCk4I3WpAY7b9gs40uP6+49e18xTe/z7906JnM+2TaOnZaMc4+32915
knMaRVx+3o39X0cr9WMAki+wGtXmWEfb0u3no8HDEGjP3HIii7WqUI7OL5E1YvPb
rFn/L3DWXZ3IILYCbkAwVeFnkEHZDIrNGLGtYriMFWs740RYYqrupw==
=naMD
-END PGP SIGNATURE-


Re: Dovecot under Linux with mail-extension and case insesitiv

2015-07-30 Thread Sascha
Am 30.07.2015 um 08:37 schrieb Steffen Kaiser:
> On Wed, 29 Jul 2015, Sascha wrote:
>
> > Example:
> > user+extenstion will be delivered to the user and subfolder extenstion
> > so this is okay.
> > but user+extenstion will not be delivert to the user and exiting
> > subfolder Extenstion so that is not okay.
> > The mail will be also delivered in the subfolder extension. The exiting
> > Folder Extension will not used.
>
> > Give's a way to tell dovecot, use the extension as a Folder, if a
> > exiting folder with Upper/Lower Cases will be detect and use the right
> > folder to delivery?
>
> you want:
>
> user+extension &
> user+Extension &
> user+eXtension &
> user+eXtENSioN a.s.o
>
> to be filed into the existing extension folder of the user, or into
> Extension, if that one exists already, or ... .
>
> No, there is not natively (currently).
>
> However, there might be tricks with Sieve and external programs, so
> that you can use "fileinto". I guess you need to reprase your subject
> line, in order to trigger Stephan's interest. :-)
>
> -- Steffen Kaiser
Hello Steffen,

yes, this is was i mean and my hope was, i need no sieve Script. My
current mailserver dbmail can this but has 2 bugs without fixes as the
last year. One horde with activesync give me on move/delete message an
error in ios client and the second is 7bit encoded mails will me show in
horde an mobile devices as attachment. On mobile devices i can't read
the message.
Now i will convert to other mailserver and i have tryed dovecot. At the
moment everything shows good for me but this one are current stop me to
convert the server at the moment.

If you have a good solution, with possible autodetect exiting folder, i
will be very happy.

Thanks,
Regards Sascha

> > --- > Diese E-Mail wurde von Avast Antivirus-Software auf Viren
geprüft. > https://www.avast.com/antivirus >


-- 
--
Regards Sascha




---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


Re: Dovecot under Linux with mail-extension and case insesitiv

2015-07-30 Thread Sascha
Am 30.07.2015 um 08:52 schrieb Jost Krieger:
> On Wed Jul 29 22:42:32 2015, Sascha wrote:
>
>> i use doevecot 2.2.18 current. My Problem is with email-extension and
>> case sensitiv folders.
>>
>> Example:
>> user+extenstion will be delivered to the user and subfolder extenstion
>> so this is okay.
>> but user+extenstion will not be delivert to the user and exiting
>> subfolder Extenstion so that is not okay.
>> The mail will be also delivered in the subfolder extension. The exiting
>> Folder Extension will not used.
>>
>> Give's a way to tell dovecot, use the extension as a Folder, if a
>> exiting folder with Upper/Lower Cases will be detect and use the right
>> folder to delivery?
>
> Unfortunately you didn't tell us which part of dovecot is doing the
> delivery and which structure your folders are. That could be lda, lmtp
> or even your MTA. But I am quite sure that you can't match existing
> folders case-insensistively, except if you are working on a
> case-insensitive filesystem *and* not using dbox. In this case it
> shouldn't depend on the delivery method.
>
> Yours
> Jost Krieger
Current the delivery will be made with lda from postfix.
With a case-insensitive filesystem i would try but my vserver
installation has a kernel without fuse modul and ciopfs need this. This
is also not possible for me.
Another idea was to change the dovecot code to detect the right
upper/lower Case names from folder, but on update this will be override,
so i'dont wont it.
I will use the MailDir format not dbox.

Thanks,
Regards Sascha

--
--
Regards Sascha



---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


Re: Dovecot under Linux with mail-extension and case insesitiv

2015-07-29 Thread Jost Krieger
On Wed Jul 29 22:42:32 2015, Sascha wrote:
 
> i use doevecot 2.2.18 current. My Problem is with email-extension and
> case sensitiv folders.
> 
> Example:
> user+extenstion will be delivered to the user and subfolder extenstion
> so this is okay.
> but user+extenstion will not be delivert to the user and exiting
> subfolder Extenstion so that is not okay.
> The mail will be also delivered in the subfolder extension. The exiting
> Folder Extension will not used.
> 
> Give's a way to tell dovecot, use the extension as a Folder, if a
> exiting folder with Upper/Lower Cases will be detect and use the right
> folder to delivery?
 
Unfortunately you didn't tell us which part of dovecot is doing the
delivery and which structure your folders are. That could be lda, lmtp
or even your MTA. But I am quite sure that you can't match existing
folders case-insensistively, except if you are working on a
case-insensitive filesystem *and* not using dbox. In this case it
shouldn't depend on the delivery method.

Yours
Jost Krieger
-- 
| jost.krieger+...@ruhr-uni-bochum.de  Please help stamp out spam! |
| Postmaster, JAPH, resident answer machineat RUB Comp. Center |
| Sincere words are not sweet, sweet words are not sincere.|
|  Lao Tse, Tao Te King 81 |


smime.p7s
Description: S/MIME cryptographic signature


Re: Dovecot under Linux with mail-extension and case insesitiv

2015-07-29 Thread Steffen Kaiser

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 29 Jul 2015, Sascha wrote:


Example:
user+extenstion will be delivered to the user and subfolder extenstion
so this is okay.
but user+extenstion will not be delivert to the user and exiting
subfolder Extenstion so that is not okay.
The mail will be also delivered in the subfolder extension. The exiting
Folder Extension will not used.

Give's a way to tell dovecot, use the extension as a Folder, if a
exiting folder with Upper/Lower Cases will be detect and use the right
folder to delivery?


you want:

user+extension &
user+Extension &
user+eXtension &
user+eXtENSioN a.s.o

to be filed into the existing extension folder of the user, or into 
Extension, if that one exists already, or ... .


No, there is not natively (currently).

However, there might be tricks with Sieve and external programs, so that 
you can use "fileinto". I guess you need to reprase your subject line, in 
order to trigger Stephan's interest. :-)


- -- 
Steffen Kaiser

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQEVAwUBVbnGP3z1H7kL/d9rAQLaEwf8D2fb9wi15i3RaDhm5/eJ6Q/tpPCKZR0l
IKCh3YtBR2mrsYHBhgpC1glLk0hR+wyCod8ESYlcUkAio/HdHUN9dGxJ+0EkaJ9q
/I8Ay+CjTsvAtt9aTDoxpmLVsZTJY6ZJ0Wuly9UcE2H6QtRsxoPvVl15LuSQybNp
NlyrPoEeu90R/9eCxoBSwIu/qGx3f7pTMnH7oLpN46YEqbjDUewH5IF2naqeFIx3
luEk5yFiKRZz8zJBBWdJ0sHnDoO0qjnJ9du5V+oD4MTx2xb25c3ZEGcp9WliFsY2
rFia2ll3LN9REIXSeLcJV9vztr3UDDbUUzj7mtPPAg4KURgG7Qzi8A==
=XkXl
-END PGP SIGNATURE-


Re: Dovecot under Linux with mail-extension and case insesitiv

2015-07-29 Thread Peter Chiochetti

Am 2015-07-29 um 22:42 schrieb Sascha:

Hello,

i use doevecot 2.2.18 current. My Problem is with email-extension and
case sensitiv folders.

Example:
user+extenstion will be delivered to the user and subfolder extenstion
so this is okay.
but user+extenstion will not be delivert to the user and exiting
subfolder Extenstion so that is not okay.
The mail will be also delivered in the subfolder extension. The exiting
Folder Extension will not used.

Give's a way to tell dovecot, use the extension as a Folder, if a
exiting folder with Upper/Lower Cases will be detect and use the right
folder to delivery?


Speaking German natively, I think I have an advantage of understanding 
against native English speakers, still I have a hard time making sense 
of your mail. That said:


I successfully use sieve to deliver/sort addresses with a "detail", (the 
part after the plus (+) sign) into different folders.


Maybe that helps you, or others?

--
peter