ispCP - Board - Support
ispcp-dovecot-mngr bug - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: ispcp-dovecot-mngr bug (/thread-6078.html)

Pages: 1 2


ispcp-dovecot-mngr bug - biologist - 03-15-2009 11:53 PM

Yesterday, I put ispCP into productive. It's working fine so far, but today I recognized, there a problem with dovecot and usernames, that contain an underscore-character. So finally I figured out, that isp-dovocot-mngr is the problem, as there's an regexp for the username, that doesn't include underscore. As it's possible to create mailadresses via ispCP that contain underscores, this is (imho) a bug (that can be easily fixed).


RE: ispcp-dovecot-mngr bug - ephigenie - 03-16-2009 01:24 AM

hi,

please open a ticket if not done already in our tracker.

thank you!.


RE: ispcp-dovecot-mngr bug - biologist - 03-16-2009 04:04 AM

(03-16-2009 01:24 AM)ephigenie Wrote:  hi,

please open a ticket if not done already in our tracker.

thank you!.
I tried so..... but "Submission rejected as potential spam".


RE: ispcp-dovecot-mngr bug - sci2tech - 03-16-2009 07:03 AM

Dovecot is not officially supported by ISPCP. ispcp-dovecot-mngr is provided for people that want to use dovecot, but they do this on there own risk. Do not open a ticket because it will be closed. Anyway, I remember that a similar conversation, and in that thread i did provide a way to fix that problem. Please search the forum.


RE: ispcp-dovecot-mngr bug - biologist - 03-16-2009 07:08 AM

(03-16-2009 07:03 AM)sci2tech Wrote:  Dovecot is not officially supported by ISPCP. ispcp-dovecot-mngr is provided for people that want to use dovecot, but they do this on there own risk. Do not open a ticket because it will be closed. Anyway, I remember that a similar conversation, and in that thread i did provide a way to fix that problem. Please search the forum.
Ok, I wasn't sure if I downloaded this file extra. I already fixed the problem by myself. So I'm not gonna open a ticket.


RE: ispcp-dovecot-mngr bug - pgentoo - 03-16-2009 09:59 AM

Anyone have an updated regex to fix this?


RE: ispcp-dovecot-mngr bug - biologist - 03-16-2009 10:02 AM

(03-16-2009 09:59 AM)pgentoo Wrote:  Anyone have an updated regex to fix this?
Just substitute in ispcp-dovecot-mngr:

if ($username =~ /^(([a-z0-9\-]+\.?)+)@(([a-z0-9\-]+\.?)+)$/) {

with

if ($username =~ /^(([a-z0-9\-_]+\.?)+)@(([a-z0-9\-]+\.?)+)$/) {


That's all.


RE: ispcp-dovecot-mngr bug - BeNe - 03-16-2009 06:48 PM

So we should update the Wiki and put all forum entry´s clean in there.
At this time you must use the wiki AND search in the Forum to get Dovecot running. Sad

Greez BeNe


RE: ispcp-dovecot-mngr bug - aseques - 03-17-2009 12:09 AM

(03-16-2009 06:48 PM)BeNe Wrote:  So we should update the Wiki and put all forum entry´s clean in there.
At this time you must use the wiki AND search in the Forum to get Dovecot running. Sad

Greez BeNe

Hey, I am the "self-assigned" responsable for the dovecot wiki, the problem with the wiki is that you cannot upload files at this time.
It seemed to me that pasting the whole content of the manager was a bit to much for a wiki page.
I someone fixes the wiki problems, I'll be happy to update the information ...
Of course, if anyone wants to do it by himself I'll be glad to give him/her a big hug Tongue
Well, I created a new thread here -> http://www.isp-control.net/forum/thread-6088-post-49018.html
With the modified ispcp-dovecot-mngr attached and modified the information from the wiki to point to it.
This way at least there will be a updateable source for the script (updateable for me at least).
If you have any more modifications for the scrip, you can send them to me and I'll try to have it updated.

Cheers


RE: ispcp-dovecot-mngr bug - b2ag - 05-11-2011 09:41 AM

(03-17-2009 12:09 AM)aseques Wrote:  Hey, I am the "self-assigned" responsable for the dovecot wiki, the problem with the wiki is that you cannot upload files at this time.

Whats wrong with using http://pastebin.com/ or some other but similar service instead of forcing user to register before they can download absolute essential script for "howto:mail:replace_courier_with_dovecot_plus_database_quota"???
*facepalm*