LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2003, 04:42 AM   #1
Psykoral
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20

Rep: Reputation: 0
Question SMTP Auth with qmail?!


Wow, ok am I just blind, or do you have to jump through flaming hoops into a vat of molten lava to get smtp to be verified by username and password rather then IP address?!?!

The tutorials I've read and followed have all been outrageous ways to get this to work. I've not gotten one to do it correctly. And even if I DO do it by IP, not only will most mail users with dhcp be screwed every other day, but it wont even send anything to any mail domain without being in the rcpthosts file

Does anyone have a, even close to somewhat simple, solution?

I've thought about it, and in theory I would think it'd be, not tooooooo difficult... I mean... I'm even going to try and write this myself...This is my theory, if anyone wants to add to it or help with it, I'm sure allot of you know more then I can imagine about the subject

This is of course, in everyday terms... I think I can write a script that will verify a users user&pass and be able to send out going mail....rename the qmail-smtp program to something like qmail-smtp-run and name this smtp auth script qmail-smtp. I mention doing it this way because I think it would be easiest... no other files to change, all programs are going to still call qmail-smtp, ya know? I know where the password program is... I can just call that, and then in the next command ask it if the password was correct. And if it was, write $domain from the senders intented addresse to the rcpthosts file real quick, then run ./qmail-smtp-run as normal. Since other things call smtp, don't require the password to be correct to run qmail-smtp-run, simply dont add the entry to rcpthosts if the password is in correct. The sender will just get the sysadmin message that it couldn't send because the domain wasn't in the rcpthosts file. That will hopefully avoid any mishaps... so I think the fucker should send the outgoing mail that way!!! lol sorry, the thing has been a pain in the neck for me

Is one already written?
 
Old 12-17-2003, 04:33 PM   #2
Psykoral
LQ Newbie
 
Registered: Jun 2003
Distribution: Mandrake 9.1
Posts: 20

Original Poster
Rep: Reputation: 0
Any help...? Anyone? *looks around*... *hears crickets*
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding SMTP AUTH to qmail Apollo77 Linux - Software 2 11-29-2004 05:59 PM
qmail-smtp-auth patch and vpopmail / vchkpw ? svartrev Linux - Software 1 05-19-2004 01:51 PM
qmail smtp auth maxut Linux - Software 1 03-04-2004 09:24 AM
qmail smtp-auth anyone? bueller? wayloud *BSD 3 02-01-2003 06:08 AM
qmail smtp-auth help wayloud General 0 01-31-2003 03:45 PM


All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration