Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Qmail install on Centos5 has CRAM-MD5 installed.

I want to use this to an authenticated SMTP relay.

Where do I specify the username and password details for QMail?

share|improve this question
up vote 2 down vote accepted

Assuming you have installed the relative qmail-remote-ath patch (you can find it here) you should add in the file /var/qmail/control/smtproutes username password

where is the IP for your SMTP relay

share|improve this answer
Every time I read "Qmail" and "patch" as a solution for "configure" then I start to shiver... – mailq Jan 10 '12 at 21:19
Well he is asking about functionality that does not exist in the 'vanilla' QMail. For better or worse the way QMail was lisenced you were not allowed to apply patches and then redistribute it like other OSS software. Ofcourse there existed netqmail that did this or JMS combined patch that both added tones of functionality. Since the original question does not specify if he was using the original or had applied patches I had to point it out for clarity – thanosk Jan 11 '12 at 5:56
It was not intended to offense you. My intention was to offense Qmail. I don't like Qmail (and sendmail). – mailq Jan 11 '12 at 19:24
Was not offended at all. Sorry if my response sounded as if I was. But in general I find that people don't really know much about QMail and was trying to clarify some things. Personally I love QMail but I agree on Sendmail ;-) – thanosk Jan 11 '12 at 19:38
mailq, I agree :-) thanks guys, I'm no stranger to Linux, but maintaining patched versions of programs on this server is not something I'm wanting to do. I think I'll go with a different solution. I haven't patched it incidentally, just vanilla Centos5 packages, but when I EHLO it reports CRAM-MD5 so I figured there must be a way to configure it. – William Denniss Jan 12 '12 at 8:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.