>There are no docs with the qmail-remote_authenticated_smtp.patch file. >so I'm not sure that I only have to patch qmail-remote. Also how exactly >do I define username and password - i assume into control/smtproutes ? The patch did not work "out-of-the-box" for me. I had to change the line str_diffn(smtptext.s+i+4,"AUTH=LOGIN\n",11)); to str_diffn(smtptext.s+i+4,"AUTH=LOGIN",10)); first (my mailserver sends "250-AUTH=LOGIN CRAM-MD5 PLAIN" after "HELO", no "\n" after "LOGIN"). Then you have to base64-encode the username and password. I've used the tools from http://www.fourmilab.ch/webtools/base64/ : $ echo -n "uSErnAMe" | base64 -e dVNFcm5BTWUK $ echo -n "p4SSword" | base64 -e cDRTU3dvcmQK Make sure not to forget "-n" ! Put the encoded strings into the control/smtproutes file (seperated by ' '): :my.mail.server.com dVNFcm5BTWUK cDRTU3dvcmQK -hajo
