I would like to modify the auth library in courier-imap, I am a real newbie to C, but what I want to do is get the DNS domain name of what was used to connected to the server (like they connected to mail.something.com), and append that to their login name, if they did not specify their full email, so if they type in 'someuser' for login name, it automitacally makes it 'someuser@something.com', but if they use 'someuser@anotherhost.com', it does not do this. Please help, I need to do this for the dumb customers, they are kiling me....
B
B