Koozali.org: home of the SME Server

Need smtp authentification

hd_mueller

Need smtp authentification
« on: September 15, 2002, 11:41:25 AM »
Need smtp authentification

Julian Luton

Re: Need smtp authentification
« Reply #1 on: October 04, 2002, 06:15:02 PM »
amen to that

Scott Smith

Re: Need smtp authentification
« Reply #2 on: October 04, 2002, 07:29:24 PM »
Would that be SMTP AUTH LOGIN or one of the other forms of SMTP authentication? And are you wanting SMTP authentication for the sending of messages from SME through your ISP's relay server? Or are you wanting SMTP authentication so your remote users can relay through SME?

"Need smtp authentication" is a very non-specific request.

Scott Smith

Re: Need smtp authentification
« Reply #3 on: October 04, 2002, 07:32:17 PM »
BTW, I have SME 5.1.2 doing SMTP AUTH LOGIN when accessing the ISP's SMTP smarthost. It wasn't difficult.

The problem is, to do it you have to patch qmail. And according to the license for qmail, you cannot distribute patched versions of qmail. So you'd need to distrubute the sources, which implies having the compiler environment, and so forth. In other words, it is not a simple thing to accomplish, but for non-technical reasons.

Julian Luton

Re: Need smtp authentification
« Reply #4 on: October 04, 2002, 08:14:06 PM »
specifically mean't either smpt auth or preferably pop before smtp under 5.5 or better

i know people have done good work enabling ssl smtp auth under 5.5 however support for this is limited on the apple mac front and it also means that you have to import ssl certificates for all your clients which is a pain and whenever there is a major ssl upgrade the certificates change and needs re-importing

Ronald Tanis

Re: Need smtp authentification
« Reply #5 on: October 07, 2002, 06:12:55 PM »
U can try this, http://www.pagefault.org/e-smith/contrib/index.html

It works fine for me

suc6

Ronald Tanis

Bill Talcott

Re: Need smtp authentification
« Reply #6 on: October 10, 2002, 12:19:06 AM »
Scott Smith wrote:
>
> BTW, I have SME 5.1.2 doing SMTP AUTH LOGIN when accessing
> the ISP's SMTP smarthost. It wasn't difficult.
>
> The problem is, to do it you have to patch qmail. And
> according to the license for qmail, you cannot distribute
> patched versions of qmail. So you'd need to distrubute the
> sources, which implies having the compiler environment, and
> so forth. In other words, it is not a simple thing to
> accomplish, but for non-technical reasons.

Got a link to more info on this?

Bill Talcott

Re: Need smtp authentification
« Reply #7 on: October 10, 2002, 12:29:47 AM »
Ok, I found http://members.elysium.pl/brush/qmail-smtpd-auth/ after a little searching. I also found http://www.cyberphoria.org/?display=projects_qmail_smtp_auth_send_patch which describes how to install a modified version of it (for SMTP AUTH with your ISP rather than from remote users).

Do you have, or could you make, a guide on what needs to be done to a vanilla SME to make it work? I've got a test server set up with the devtools, and would like to try this...

Scott

Re: Need smtp authentification
« Reply #8 on: October 10, 2002, 05:54:14 PM »
I don't have any kind of guide. Didn't really think one was necessary. Here's the gist of it.

1. Install the development environment (compiler) on SME. (Search the forums as this has been explained multiple times.)

2. Obtain the patch(es), read the docs that come with them, and follow their directions.

If you want to integrate the patches into SME, you may have to develop a custom template. For example, the smtp auth send patch needs a qmail control file called smtproutes_users (ie, /var/qmail/control/smtproutes_users.) You can just create the file, or you can make a template, create new email properties in the necessary databases, develop new admin console screens, etc. How far you want to go with it is up to you.

I work in a cookie cutter environment, so I don't really need the template. You'll have to decide how much (or little) you need to do.

Scott

Scott

Re: Need smtp authentification
« Reply #9 on: October 10, 2002, 05:56:12 PM »
BTW, read the qmail license. Even if you create the patched qmail, you cannot distribute the resulting binaries. Unless you get permission from the author, and good luck with that. Without a compiler native on SME, doing anything custom with qmail is a PITA.

Scott

Bill Talcott

Re: Need smtp authentification
« Reply #10 on: October 10, 2002, 06:55:58 PM »
I only plan to make it on my test SME, and move it over to the real one when it works. I'm not worried about distribution stuff.

I've read the instructions, but they're really not aimed at a newbie like me. I don't know where the qmail files are. I don't know where and/or how qmail-smtpd is started. I don't if the external checkpassword stuff is needed.

I don't know much. =) I was hoping this was something I could figure out, so I could create a HowTo for other clueless people to follow. If it's reasonably easy with the devtools installed, I know a lot of people would like this...