I setup SquirrelMail 1.4.2 on my Slackware 9.1 server last night (w/ Apache 1.3.28, PHP 4.3.3, UW IMAP 2002e). Everything seems to be working fine -- with one not-so-small problem -- I can't send any mail from SM.
I believe the root of the problem is that I'm forced to use SMTP to send email and the SMTP server is on a different machine with a different user name & password (and it's out of my control to change). Unfortunately sendmail is also not an option for me. I used conf.pl to setup the correct SMTP server & authentication type (login), but I don't see any way to configure a different user name and password for the server. Any attempt to compose & send email from SM results in a "535 Authentication failed" error. I tried with both IE 6 on WinXP and Mozilla 1.5 on Linux. With other mail clients (Outlook for example) I can setup different login credentials for the outgoing mail server and everything works. I've read through FAQs, google'd for answers, and searched the mailing list archives. I saw someone else posted the exact same problem, but there was no reply or solution. I even partied on the compose.php script try to force use of a different user & password, but that doesn't work either - although I think it should be possible. Maybe I made a stupid mistake. Here's the change I tried: Before: $user = $username; $pass = OneTimePadDecrypt($key, $onetimepad); After: $user = "xxxxxxx"; $pass = "yyyyyyy"; xxxxxx and yyyyyy are my SMTP server user name and password in plain text. Then the code goes on to call $deliver->initStream(....). So, my questions are... 1) Is there someway to configure SM to use a different user name & password for SMTP? If so, how? 2) Is there anything obviously wrong with my compose.php hack that's preventing it from working? I know this wouldn't be acceptable for most installations, but it would/should work for my home office network. I turned on SMTP tracing from Outlook and verified that the server really is using AUTH LOGIN for authentication. 3) Is there a way to have SM optionally prompt for different user name & password when sending to a SMTP server? I'd rather not have to type in a user & pw every time I click on the Send button, but it would be better then not sending at all. 4) Is there any other way to make this work? I also looked at the vlogin plug-in -- it allows some per user settings (like SMTP server name and authentication type) but not a different set of server credentials. Thanks in advance, Jim ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click -- 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