Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: SquirrelMail and hmailserver
PostPosted: 2010-06-10 00:37 
New user
New user

Joined: 2010-06-10 00:35
Posts: 4
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?


Top
 Profile  
 
 Post subject: Re: SquirrelMail and hmailserver
PostPosted: 2010-06-10 00:45 
Developer

Joined: 2010-04-24 23:16
Posts: 5785
Location: Michigan, USA
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

_________________
hMailServer build LIVE on my servers: 5.4-B2014011501
Latest test builds: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420
Urgent? Bored? JOIN US ON IRC!
DOGE ME: DSqtEcqP3Qv6Tj2XrGNpDmEUkSBcpBsuWk


Top
 Profile  
 
 Post subject: Re: SquirrelMail and hmailserver
PostPosted: 2010-06-10 00:57 
New user
New user

Joined: 2010-06-10 00:35
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: SquirrelMail and hmailserver
PostPosted: 2010-06-10 01:08 
Developer

Joined: 2010-04-24 23:16
Posts: 5785
Location: Michigan, USA
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:
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:
#
/**
#
* 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 = '';

_________________
hMailServer build LIVE on my servers: 5.4-B2014011501
Latest test builds: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420
Urgent? Bored? JOIN US ON IRC!
DOGE ME: DSqtEcqP3Qv6Tj2XrGNpDmEUkSBcpBsuWk


Top
 Profile  
 
 Post subject: Re: SquirrelMail and hmailserver
PostPosted: 2010-06-10 01:15 
New user
New user

Joined: 2010-06-10 00:35
Posts: 4
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?


Top
 Profile  
 
 Post subject: Re: SquirrelMail and hmailserver
PostPosted: 2010-06-10 01:27 
Developer

Joined: 2010-04-24 23:16
Posts: 5785
Location: Michigan, USA
What did you change? (Don't post actual password)

_________________
hMailServer build LIVE on my servers: 5.4-B2014011501
Latest test builds: http://www.hmailserver.com/forum/viewtopic.php?f=10&t=21420
Urgent? Bored? JOIN US ON IRC!
DOGE ME: DSqtEcqP3Qv6Tj2XrGNpDmEUkSBcpBsuWk


Top
 Profile  
 
 Post subject: Re: SquirrelMail and hmailserver
PostPosted: 2010-06-10 01:36 
New user
New user

Joined: 2010-06-10 00:35
Posts: 4
Code:
/**
* 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


Top
 Profile  
 
 Post subject: Re: SquirrelMail and hmailserver
PostPosted: 2010-06-10 01:52 
Site Admin
User avatar

Joined: 2005-07-29 16:18
Posts: 13792
Location: UK
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! ヅ


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 7 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group