Skip to content

Squirrelmail with Dovecot SMTP Auth

by karlkatzke on May 29th, 2008

I forgot to mention something in yesterday’s post about configuring Postfix with Dovecot and turning on smtp authentication.

When you’re configuring Squirrelmail, you need to make sure that it does smtp authentication. It doesn’t seem that the version that comes with any way to that that *I* could easily find. However, when you set up your config_local.php in squirrelmail (which with the RPM installs in /etc/squirrelmail/config_local.php), set up a user for smtp auth with it’s own password… example:

$smtp_sitewide_user = 'smtpauth@katzke.net';
$smtp_sidewide_pass = 'somepassword';

… and now Squirrelmail will be able to authenticate to send email!

Alternately, you could set email sent from localhost to always be allowed without having to authenticate, but this will still work if your mail server and webmail server are on different machines.

From → howto, sysadmin

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS