this is a patch on qmail patched with qmail-ldap-1.03-20010301.patch.
we needed this patch because the isocor package allowed login id's
like userid%domainname@mailserver, and qmail-popup couldn't handle
those .. since we switched to qmail-ldap we had not experienced
any more stability problems.

greetings,

Lucio Jankok

this is the diff file against an umodified qmail-popup.c

173a174,175
>   int r=0;
>   char *s = arg;
176a179,193
> 
>   /* Some pop3-users use the following syntax: <userid>%<domainname>@<mailserver> */
>   /* Change this to: <userid>@<domainname> */
> 
>   while (*s && r < 2)
>   {
>     if (*s == '@' || *s == '%')
>      {
>        r++;
>        *s= '@';
>      }
>   s++;
>   }
>   if(r == 2)
>      *--s='\0';

Reply via email to