Two changes, the major one allows meta chars in the destination address so when you are using an smtp relay you can get the relay's name from ndb ($smtp). The second is more parochial and controlled by a #ifdef :-). We require authentication but do not support TLS encryption at work so allow this mode perhaps it should be a seperate command line option (-i insecure mode)? -Steve