On 8/8/07, Marco De Vitis <starless@xxxxxxx> wrote: > Hi, > I'm using Squirrelmail 1.4.9a on Debian Etch, it works fine except for > the SMTP part. > > I need to send mail through a different machine, which is the SMTP > server for my LAN; it uses Postfix, and is configured with > authentication and SSL on port 465; it can accept only two special > username/password pairs, representing two user classes in the LAN, so > the SMTP username to be used is *different* from the one used to login > to the webmail; e.g. an user logs as "mickey" in Squirrelmail, but when > he sends mail the SMTP AUTH phase should use username "donald". > > This SMTP server works great from any mail client, but not from > Squirrelmail. > > I used the following in Squirrelmail's config.php: > > $useSendmail = false; > $smtpServerAddress = 'LAN.server.IP.address'; > $smtpPort = 465; > $smtp_sitewide_user = 'xxxxxxxxx'; > $smtp_sitewide_pass = 'yyyyyyyyy'; > $smtp_auth_mech = 'login'; (also tried "plain") > $use_smtp_tls = true; > > By analyzing the Postfix debug log, I can see that Squirrelmail still > sends to the SMTP server the username and password used to login in the > webmail, as if I didn't enter the smtp_sitewide settings. > > What am I missing? Don't quote me, but I think some changes to this code have been made since 1.4.9. Please try 1.4.10, or 1.4.11SVN. Looking at 1.4.11, I don't see any problems. Looking at 1.4.9, I don't see any reference to the sitewide user settings in the code whatsoever. I think you need to upgrade. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users