Hmmm. I don't believe 2) will work unless SASL has the liblogin
method to support method LOGIN. My version does not(1.5.15). Unless a
version of SM will be available to support PLAIN soon, I'll try
rewriting smtp.php to do so.
On Sat, 4 Jan 2003, Mike O'Rourke wrote:
In functions/smtp.php (version 1.2.8), line 596 in the sendSMTP function
says:
fputs($smtpConnection, "AUTH LOGIN\r\n")
Clearly, SM (at least version 1.2.8) is hard-coded to use AUTH LOGIN
(just line M$ Outlook Depress!!!!)
You could:
1) Change the SM code to use the PLAIN login in the SMTP conversation.
2) Change two lines in /etc/mail/sendmail.cf.
The first, which on you machine says something like:
C{TrustedAuthMecs}PLAIN
(yours may have more mechanisms, but PLAIN is all that there is in
common between sendmail.cf and SASL) needs to say:
C{TrustedAuthMecs}PLAIN LOGIN
Try sending from SM with just this change. I _think_ the next line is
used when Sendmail acts as a client; i.e. when it tries to login to
another SMTP server, and thus would not be applicable in your case.
The second is similar:
O AuthMechanisms=PLAIN
needs to say:
O AuthMechanisms=PLAIN LOGIN
Mike O'Rourke, O.P.
> Shelley Waltz said:
>> My Imap and Sendmail configurations are configured to support the SASL
>> "Plain" mechanism only. I am trying to implement SquirrelMail in a
>> secure Apache server to provide secure webmail.
>>
>> I can authenticate at the SquirrelMail login screen fine and read
>> mail without problem. When I try to send is where it fails and reports
>> ...
>>
>> ERROR
>>
>> Bad sequence of commands
>> Server replied: 503 5.3.3 AUTH mechanism LOGIN not
>> available
>
> I use postfix, not sendmail (thank goodness! :-), but my SM uses PLAIN
> AUTH when sending. The only clients I know that use LOGIN AUTH are MS
> clients.
>
> --
> PGP Fingerprint: 0AA8 DC47 CB63 AE3F C739 6BF9 9AB4 1EF6 5AA5 BCDF
> Member, LEAF Project <http://leaf.sourceforge.net>; AIM: MikeLeone
> Public Key - <http://www.mike-leone.com/~turgon/turgon-public-key.asc>;
> Registered Linux user# 201348
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> --
> squirrelmail-users mailing list
> List Address: [EMAIL PROTECTED]
> List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
> List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users