I don't use squirrelmail but odds are you want:
$smtp_auth_mech = 'login';
And if above doesn't work *maybe*:
$smtp_sitewide_user =
'user@yourdomain.tld';
$smtp_sitewide_pass = 'userpass';
(Sounds like it should use IMAP login user/pass if those are left blank)
From:
http://squirrelmail.org/docs/admin/admin-5.htmlCode:
Using different username for SMTP relaying
If SMTP server uses different username and password for authentication, since 1.5.1 version SquirrelMail can use one username and password for entire SquirrelMail installation. They can be set in config/config_local.php $smtp_sitewide_user and $smtp_sitewide_pass configuration variables.
If you use older SquirrelMail version and want to use single user/password for SMTP authentication, you might have to install local SMTP server and set it as smart relay. See SMTP server's documentation about email relaying through other SMTP server.
From:
http://squirrelmail.org/docs/phpdoc/__f ... t.php.htmlCode:
#
/**
#
* Secure SMTP connection controls
#
*
#
* 0 - use plain text connection,
#
* 1 - use ssmtp (adds tls:// prefix to hostname),
#
* 2 - use SMTP STARTTLS extension (rfc2487).
#
*
#
* Was boolean before 1.5.1.
#
* @global integer $use_smtp_tls
#
* @since 1.4.0
#
*/
#
$use_smtp_tls = 0;
#
#
/**
#
* SMTP authentication mechanism
#
*
#
* auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
#
* @global string $smtp_auth_mech
#
*/
#
$smtp_auth_mech = 'none';
#
#
/**
#
* Custom SMTP authentication username
#
*
#
* IMAP username is used if variable is set to empty string.
#
* Variable is included in main configuration file only from 1.5.2 version.
#
* Older versions stored it in config_local.php.
#
* @global string $smtp_sitewide_user
#
* @since 1.5.0
#
*/
#
$smtp_sitewide_user = '';
#
#
/**
#
* Custom SMTP authentication password
#
*
#
* IMAP password is used if $smtp_sitewide_user global is set to empty string.
#
* Variable is included in main configuration file only from 1.5.2 version.
#
* Older versions stored it in config_local.php.
#
* @global string $smtp_sitewide_pass
#
* @since 1.5.0
#
*/
#
$smtp_sitewide_pass = '';