On 04/02/2012 21:29, Benny Pedersen wrote: > On Sat, 04 Feb 2012 06:15:54 +0100, Federico "Darkmagister" Pietta > wrote: > >> "else if", i've attached my patch, let me know > > please test that it does not break plus addressing > > [email protected] -> foo+bar+example.org > > success ? >
i can not test it, because the service that i use doesn't permit to use + in the username, but probably work, because the else if is after the if of @ this case: foo+bar+example.org doesn't work, i've made a new patch (attached) but i can not test it with user like foo+bar because i've write up i can not create this kind of user on my cpanel. the new patch work probably (please someone test it) but doesn't work if there are any domain like: dom+ain.org (i don't know if there are any domain that accept +) but this patch probably cover the most cases, and before this patch was not possible to use them at all > ps note that most mta will add localdomain to the last so it will end > as foo+bar+example.org@localdomain > > localdomain can be myorigin domain in postfix -- Federico Pietta "Darkmagister" http://www.darkmagister.org http://www.webosphone.it Linux Registered User: #425709 public gpg key: gpg --keyserver pgp.mit.edu --recv-key 65E45DEF --- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/b6/RxqX1if0/cpanel___support_new.diff Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
_______________________________________________ List info: http://lists.roundcube.net/dev/ BT/8f4f07cd
