SquirrelMail and hmailserver

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
DJ Danni
New user
New user
Posts: 4
Joined: 2010-06-10 00:35

SquirrelMail and hmailserver

Postby DJ Danni » 2010-06-10 00:37

hi. I am using hmailserver and SquirrelMail as client. I can get email from otheres but when i try to send somone i get this error:
ERROR:
Message not sent. Server replied:

Authentication required
530 SMTP authentication is required.
Can some one help me?

Bill48105
Developer
Developer
Posts: 6171
Joined: 2010-04-24 23:16
Location: Michigan, USA

Re: SquirrelMail and hmailserver

Postby Bill48105 » 2010-06-10 00:45

Hi,
You need to either configure squirrelmail to login to send or else add the IP of that host to an IP Range in hmail without Require Authentication options checked. Be careful setting/changing IP ranges though as you don't want to open yourself up to open relaying by spammers so best option is to always have people login to send in their clients.
http://www.hmailserver.com/documentatio ... ce_iprange

Should note you want to be careful with hmail's autoban option with webmail:
http://www.hmailserver.com/documentatio ... ce_autoban
Bill
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
hMailServer build LIVE on my servers: 5.4-B2014050402
Latest test builds: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420

DJ Danni
New user
New user
Posts: 4
Joined: 2010-06-10 00:35

Re: SquirrelMail and hmailserver

Postby DJ Danni » 2010-06-10 00:57

ok how can i do that? Sorry i am not good in English. Can you add me on MSN and help me? studio@toppfm.is is my MSN

Bill48105
Developer
Developer
Posts: 6171
Joined: 2010-04-24 23:16
Location: Michigan, USA

Re: SquirrelMail and hmailserver

Postby Bill48105 » 2010-06-10 01:08

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.html

Code: Select all

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.html

Code: Select all

#
/**
#
 * 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 = '';
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
hMailServer build LIVE on my servers: 5.4-B2014050402
Latest test builds: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420

DJ Danni
New user
New user
Posts: 4
Joined: 2010-06-10 00:35

Re: SquirrelMail and hmailserver

Postby DJ Danni » 2010-06-10 01:15

ok now i get error.
Object not found!

The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster.
Error 404
www.djdanni.com
06/09/10 23:15:19
Apache/2.2.0 (Win32) PHP/5.1.2 mod_ssl/2.2.0 OpenSSL/0.9.8a

Wuy?

Bill48105
Developer
Developer
Posts: 6171
Joined: 2010-04-24 23:16
Location: Michigan, USA

Re: SquirrelMail and hmailserver

Postby Bill48105 » 2010-06-10 01:27

What did you change? (Don't post actual password)
*** ABSENT FROM hMail! Those in IRC know how to find me if urgent. ***
hMailServer build LIVE on my servers: 5.4-B2014050402
Latest test builds: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420

DJ Danni
New user
New user
Posts: 4
Joined: 2010-06-10 00:35

Re: SquirrelMail and hmailserver

Postby DJ Danni » 2010-06-10 01:36

Code: Select all

/**
 * SMTP authentication mechanism
 *
 * auth_mech can be either 'none', 'login','plain', 'cram-md5', or 'digest-md5'
 * @global string $smtp_auth_mech
 */
$smtp_auth_mech = 'login';

/**
 * Custom SMTP Authentication Username
 *
 * IMAP username is used if variable is set to an empty string. Variable is included in
 * the main configuration file only in 1.4.11+ and 1.5.2+.
 * @global string $smtp_sitewide_user
 * @since 1.4.11
 */
$smtp_sitewide_user = 'djdanni@djdanni.com';

/**
 * Custom SMTP Authentication Password
 *
 * IMAP password is used if variable is set to an empty string.  Variable is included in
 * the main configuration file in 1.4.11+ and 1.5.2+
 * @global string $smtp_sitewide_pass
 * @since 1.4.11
 */
$smtp_sitewide_pass = '******';

Here is my Config
My domain is
http://www.djdanni.com

^DooM^
Site Admin
Posts: 13853
Joined: 2005-07-29 16:18
Location: UK

Re: SquirrelMail and hmailserver

Postby ^DooM^ » 2010-06-10 01:52

As I said on IRC, You will need to contact Squirrelmail support. This is not the Squirrelmail support forum. This is hMailserver support.
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Return to “General discussions”



Who is online

Users browsing this forum: No registered users and 2 guests