I know that IMP does not work this way. However I would like to know if it would be posible with no too much effort to do an LDAP query to obtain the IMAP server varible instead of getting it from the configuration file. Where should I have to look up to achieve this? Please answer something, I will be very pleased Jorge