I've been running courier for several years now. Thanks guys for the
awesome system!

The problem I am having right now is that I am unable to authenticate
from a shell, using SASL. I am sure, I am doing something wrong here.

I am running courier 0.58 on Fedora Core 4.
I require smtp authentication for all users, and that is working out
fine.
All of the users have pam accounts on the system, and pamauth is the
only thing I've got going on.

Here are key settings from esmtpd

AUTHREQUIRED=0
ESMTP_TLS_REQUIRED=0
TLS_PROTOCOL=SSL3

ESMTPAUTH='LOGIN PLAIN CRAM-MD5'
ESMTPAUTH_TLS="PLAIN LOGIN CRAM-MD5"

So what I am trying to do, is send mail from our webservers by doing the
following:
perl -MMIME::Lite -e '
        MIME::Lite->send(qw/smtp mail.domain.com Timeout  60 AuthUser
kate AuthPass pass/); 
        my $msg = new MIME::Lite(From => "[EMAIL PROTECTED]",
Subject=>"Hello world", To=>"[EMAIL PROTECTED]", Data=>"Rainbows!");
$msg->send;  '

MIME::Lite requires MIME::Base64 and Authen::SASL to do authentication.
It uses Net::SMTP to do the actual connecting.

The script above is telling MIME::Lite to use
 smtp on my mail server, authenticating as a specific user with a
password.


Is this enough information, or do I need to dig further?

Thanks for the help!
Kate


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to