Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

xxx.xxx.xxx.xxx username password

where xxx.xxx.xxx.xxx is the IP for your SMTP relay

share|improve this answer
1  
Every time I read "Qmail" and "patch" as a solution for "configure" then I start to shiver... –  mailq Jan 10 '12 at 21:19
1  
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

 
discard

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.