DOMAIN ALIAS (2)

2007-10-26 Thread carlos . garcia
Hello again!!!

Yesterday I wrote


Hello
I´m trying to do domain aliasing.
my domain is example.com but example.net, example, org too.
I want that  example.XXX -- redirects to example.com
How can I do this?


There are  two problems.

First: I wrote it yesterday.   (forward domain aliasing) (smtp)
Second: It´s the main problem. I want that some user can be authenticated 
both [EMAIL PROTECTED] and [EMAIL PROTECTED] I known I can use 
mailAlternateAddress directive of courier-imap and qmail-ldap, but It´s a 
bit boring. When I used qmail-vpopmail I had to do ln -s example.com 
example.net in the domains directory and It was all.


Solution with  qmail-vpopmail for the second part of the problem

1) Add example.net to rcphosts qmail control file.
2) ln -s example.com example.net in domains directory


Solution with  qmail-ldap - courier-imap  for the second part of the 
problem

1)  Add example.net to rcphosts qmail control file.
2) In virtualdomains  qmail control file add: example.net:user
3) In qmail alias directory you must create   .qmail-user-default  == | 
/var/qmail/bin/forward [EMAIL PROTECTED]
4) Patch courier-authlib in order to LDAP_FILTER can be the same of qmail
 
((objectClass=qmailUser)(|([EMAIL PROTECTED])([EMAIL PROTECTED])))
5) You must add all mailAlternateAddress for each user like domains you 
have. This is:
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
.

Thanks and sorry for my bad english.


















-

Carlos García Gómez
Sistemas de Información y Comunicaciones
Fundación Integra. http://www.f-integra.org

Teléfono: +34 968 355161
Fax:  +34 968 355131
Correo:   [EMAIL PROTECTED]

--

Bug in imap_auth.c

2007-10-26 Thread Minsoul Michel
Hi,

There is a bug in the file imap_auth.c from qmail-ldap-20060201.
When clustering is enabled (QLDAP_CLUSTER) and IMAP session forwarding
is used, the password is not correctly escaped in the auth_forward function
preventing the user from doing a successful login if its password contains
characters (like '}', '', ...) which must be escaped.

A patch for imap_auth.c is provided hereafter.

-
Michel MINSOUL
SEGI, University of Liege
B26 - Sart Tilman
B-4000 Liege (Belgium)
VOICE: +32 4 3664977
FAX:   +32 4 3662920
mailto: [EMAIL PROTECTED] (with x=Michel.Minsoul y=ulg.ac.be)

auth_imap.c.patch
Description: Binary data


linuxbug.org

2007-10-26 Thread satish patel
find my new website http://www.linuxbug.org
   
   


$ cat ~/satish/url.txt  

http://www.linuxbug.org
_

   
-
 Forgot the famous last words? Access your message archive online. Click here.