Hi all,
I was trying to use the mailsource mechanism with ldapaliasd, and I found that the filtering doesn't seem to work. I think the reason is around line 302 in ldapaliasd.c.
The code
else if (*sourcefield) strcat(filter, "(!(source=*))");
should be changed to
else if (*sourcefield) { strcat(filter, "(!("); strcat(filter, sourcefield); strcat(filter, "=*))"); }
so that we get all aliases which have no "sourcefield" set, as desired.
If you explicitly enable source-based aliasing, all your aliases must have the source field defined.
------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
