View previous topic :: View next topic |
Author |
Message |
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Thu Nov 16, 2006 6:04 am Post subject: H mail server setup *SOLVED* Looking for webmail system |
|
|
I just spent the past 30 mins trying to set up hmail server, i think i got it working but im not sure, i wanted to know if someone could e-mail me at webmaster@hctech.no-ip.org (im changing the hctech.no-ip.org part soon as i get my domain registered) _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Last edited by hc2995 on Fri Nov 17, 2006 3:11 am; edited 2 times in total |
|
Back to top |
|
|
PaulK -
Joined: 26 Apr 2006 Posts: 132 Location: London, UK
|
Posted: Thu Nov 16, 2006 2:09 pm Post subject: |
|
|
Message Sent :)
I use hamilserver, let me know if I can help
Paul _________________
|
|
Back to top |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Thu Nov 16, 2006 5:36 pm Post subject: |
|
|
ok, im at school ATM, when i get home ill check _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
|
loloyd -
Joined: 03 Mar 2006 Posts: 435 Location: Philippines
|
Posted: Thu Nov 16, 2006 6:20 pm Post subject: |
|
|
tip: you can also use a 3rd party email service provider like webmails hotmail, yahoo and gmail in your attempt to see if you can actually receive email from the 'outside'. _________________
http://home.loloyd.com/ is online if the logo graphic at left is showing. |
|
Back to top |
|
|
PsyDonia -
Joined: 07 Oct 2006 Posts: 28 Location: Sweden STHLM
|
Posted: Thu Nov 16, 2006 6:42 pm Post subject: |
|
|
i´m also using hmail.
its an very good and amazing mailserver.
I have 10 domains on it and work good. |
|
Back to top |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Thu Nov 16, 2006 9:03 pm Post subject: |
|
|
E-mail from PaulK:
Quote: |
Hello mate
You were asking for test messages, here's one from London
I use hmailserver, and found it easy enough, if you need help you can IM me
AOL: paulkinghamuk
MSN: paul@viahome.co.uk
Yahoo: pkingham
Regards
PaulK
|
Ok i got this message, BUT HERES THE THING, i have it set up for SMTP but i think i did it wrong, i tried to send and e-mail and got an SMTP error, i think i may have screwed up the relayer, what is a relayer and how do i find mine? _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Thu Nov 16, 2006 9:17 pm Post subject: |
|
|
Did you enable SMTP Authentication in your client? If not, theres your problem. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Thu Nov 16, 2006 9:22 pm Post subject: |
|
|
yes, same problem. How do i turn the authentication off? _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Thu Nov 16, 2006 9:28 pm Post subject: |
|
|
hc2995 wrote: | yes, same problem. How do i turn the authentication off? |
You can't. You have to use it. At least I haven't found any option to turn it off. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Thu Nov 16, 2006 9:48 pm Post subject: |
|
|
ok im using Thunderbird, i turned authentication on, i enter my password but i still get the errors.....
Ok this time i got it to work (dont know how) but after 5 mins i get this back:
Quote: |
Your message did not reach some or all of the intended recipients.
Sent: Thu, 16 Nov 2006 15:50:20 -0500
Subject: Test e-mail
The following recipient(s) could not be reached:
hc2995@comcast.net
Error type: SMTP
Error Description: The mail server software tried to deliver e-mail to the local machine even though the recipient was not defined on the local server. Please check the DNS configuration for the recipient domain.
MailDaemon
hMailServer
|
It says to a local machine but i want it to connect to the outside not just the LAN _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
Posted: Thu Nov 16, 2006 9:57 pm Post subject: |
|
|
inside hmailserver control panel in the navigation list to left go: Advanced >> IP Ranges "double click" now go to my computer and under Require Authentication for deliveries
uncheck, to local accounts and to remote accounts.
thats if they are checked.
now go to Internet which is underneath my computer in the list to left and do same in there but make sure external to external accounts under Allow deliveries from is unchecked otherwise anyone can use the mailserver to send mail.
i use that setup above as i'm the only one using the webmail.
If you are planning to use it to host accounts for other people to use then checkout hmailservers support forum or help files. _________________ http://www.jibba-jabba.net | http://www.mosthauntedforum.com
Last edited by jibbajabba on Thu Nov 16, 2006 10:02 pm; edited 1 time in total |
|
Back to top |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Thu Nov 16, 2006 9:59 pm Post subject: |
|
|
ok i got it to work, it DOES send, but when i try to send to my e-mail (from comcast) i get this message:
Quote: |
Message: 550 68.55.75.14 blocked by ldap:ou=rblmx,dc=comcast,dc=net -> Comcast.net subscribers are not permitted to directly connect to this mail server. If you are a Comcast Commercial Services customer and need support, please contact support_biz@cable.comcast.com.
|
Im not worried, this just means that it DID send (or tried to):D
EDIT: Does anyone know any good web mail scripts? Something so i can check/send e-mails from something like http://my.domain.name.com/mail _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
|
Back to top |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Fri Nov 17, 2006 3:10 am Post subject: |
|
|
Ok ill check them out :D _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
|
jibbajabba -
Joined: 06 Sep 2005 Posts: 241 Location: England, Doncaster
|
Posted: Fri Nov 17, 2006 7:08 pm Post subject: |
|
|
here is a script what lets users add there own email account if you use hmailserver.
This script is updated to use hmailserver 4.3 although it works on my older version 4.1
The script is for a single domain.
The red writing is what you need to edit or can edit.
<?php
//MySQL Information:
$mysql_host = "localhost"; //Host Name
$mysql_user = "mysql user name"; //Username
$mysql_pass = "mysql pass here"; //Password
$mysql_db = "hmailserver database name"; //Database
//General Configuration:
$form_title = "Signup"; //Name for this form
$account_max = "10000000"; //Maximum size per account (1000000 = 1MB -> Do not uses spaces or commas!)
$admin_notify = 1; //1 = yes & 0 = no
$admin_email = "admin@domain.com"; //Administrators email to send notifications)
$admin_default_activate = 1; //1 = yes & 0 = no -> If no, the administrator has to authorise the account
$encryption = 2; //Password encryption level
$url = $_SERVER["HTTP_HOST"];
$domain = $_SERVER["HTTP_HOST"];
if (substr($domain,0,4) == "www.")
{
$domain = strstr($domain, ".");
$domain = substr($domain, 1);
}
// Protect the Database and MD5 the password.
$strName = addslashes( $_POST['name'] );
$strUser = addslashes( $_POST['user'] );
$strDomain = addslashes( $_POST['domain'] );
$strPass1 = addslashes( $_POST['pass1'] );
$strMD5Pass = md5( $strPass1 );
error_reporting(E_ALL ^ E_NOTICE);
//Next two lines connect to database using information from above.
$open = mysql_connect($mysql_host, $mysql_user, $mysql_pass);
$select = mysql_select_db($mysql_db);
IF (!$open || !$select)
{
echo "Unable to open database, contact your administrator!";
}
ELSE
{
echo "<font size=\"+2\">$form_title</font><br><br>"; //Display form title from above
//Decide On What Path To Take
SWITCH ($_GET['mode'])
{
CASE "do":
//#### PAGE IF FORM FILLED OUT ####//
$q=mysql_query("SELECT * FROM `hm_domains` WHERE `domainid` = '{$strDomain}' LIMIT 1"); //Load Domain Into memory (internal use)
WHILE ($v=mysql_fetch_array($q))
{
$temp_domain = $v['1'];
} //Apply information
$q2=mysql_query("SELECT * FROM `hm_accounts` WHERE `accountaddress` = '{$strUser}@$temp_domain' LIMIT 1"); //Check if account exists
$v2=mysql_num_rows($q2); //Gets number of accounts that exist with that profile (should be less than or equal to one)
IF ($v2 == 1)
{
echo "A user with this username already exists! <a href=\"javascript:history.go(-1)\">Go Back</a>";
}
ELSE
{
IF (!$_POST['pass1'] || !$_POST['pass2'])
{
echo "You did not enter both passwords! <a href=\"javascript:history.go(-1)\">Go Back</a>";
}
ELSEIF ($_POST['pass1'] <> $_POST['pass2'])
{
echo "Your passwords do not match! <a href=\"javascript:history.go(-1)\">Go Back</a>";
}
ELSE
{
$q3=mysql_query("INSERT INTO `hm_accounts` (`accountdomainid`,`accountaddress`,`accountpassword`,`accountactive`,`accountisad`,`accountmaxsize`,`accountpwencryption`) VALUES ('$strDomain','$strUser@$temp_domain','$strMD5Pass','$admin_default_activate','0','$account_max','$encryption')") or die(mysql_error());
}
}
IF ($q3)
{
IF ($admin_default_activate == 0)
{
echo "Your account has been created <b>however requires administrator activation.</b> You should receive a message soon regarding this.";
}
ELSE
{
echo "Your account has been created and is ready for use!<br><br>Username: $strUser@$temp_domain<br><br>Webmail: <a href=\"$serv_webmail/webmail\">www.$temp_domain/webmail</a><br>POP3: mail.$temp_domain<br>IMAP: mail.$temp_domain<br><br>SMTP: mail.$temp_domain";
$subject = "Welcome To My Website";
$message = "This is confirmation that your account has been created.";
mail("{$_POST['user']}@$temp_domain", $subject, $message); //Send welcome message
}
}
ELSE
{
echo "Database error, unable to add account. Please contact your administrator!";
}
IF ($admin_default_activate == 0 && $admin_notify == 0)
{
$admin_mail_subject = "Account Requires Activation!";
$admin_mail_message = "{$_POST['user']}@$temp_domain has been created by {$_POST['name']} and needs to be activated!";
mail($admin_email, $admin_mail_subject, $admin_mail_message);
}
ELSEIF ($admin_default_activate == 1 && $admin_notify == 1)
{
$admin_mail_subject = "New Account Created!";
$admin_mail_message = "{$_POST['user']}@$temp_domain has been created by {$_POST['name']}!";
mail($admin_email, $admin_mail_subject, $admin_mail_message);
}
ELSEIF ($admin_default_activate == 1 && $admin_notify == 1)
{
$admin_mail_subject = "New Account Created!";
$admin_mail_message = "{$_POST['user']}@$temp_domain has been created by {$_POST['name']}!";
mail($admin_email, $admin_mail_subject, $admin_mail_message);
}
ELSEIF ($admin_default_activate == 0 && $admin_notify == 1)
{
$admin_mail_subject = "New Account Created!";
$admin_mail_message = "{$_POST['user']}@$temp_domain has been created by {$_POST['name']}!";
mail($admin_email, $admin_mail_subject, $admin_mail_message);
}
break;
DEFAULT:
}
}
//#### MAIN PAGE IF FORM NOT FILLED OUT ####//
echo "
<form action=\"signup.php?mode=do\" method=\"POST\">
Your Name: <input type=\"text\" name=\"name\" size=\"21\"><br>
E-Mail: <input type=\"text\" name=\"user\" size=\"21\"> @ <select name=\"domain\">
";
$q2=mysql_query("SELECT * FROM `hm_domains` WHERE `domainactive` = '1' ORDER BY `domainname` DESC"); //Load avaliable domains into memory
WHILE ($v2=mysql_fetch_array($q2)) //Display avaliable domains
{
echo "<option value=\"{$v2['0']}\">$domain</option>";
}
echo "
</select><br>
Password: <input type=\"password\" name=\"pass1\" size=\"21\"><br>
Password: <input type=\"password\" name=\"pass2\" size=\"21\"> (For Confirmation)<br><br>
<input type=\"submit\" value=\"Create Account\">
</form>
";
?>
It is very important that you change signup.php to what you have named your page. for example: emailform.php
<form action=\"emailform.php?mode=do\" method=\"POST\"> _________________ http://www.jibba-jabba.net | http://www.mosthauntedforum.com |
|
Back to top |
|
|
Firefly -
Joined: 31 Mar 2006 Posts: 69
|
Posted: Sat Nov 25, 2006 6:32 am Post subject: |
|
|
Windows XP.
Need information, require a mail server, for phpBB.
Looking for something easy, to set up and configure.
I have search the forum for a long time and this is the closest post about mail servers. I have found.
Suggestions is requested, and thank you.
Hopefully I can get the phpBB, working again.
:? |
|
Back to top |
|
|
David Ranieri -
Joined: 28 Jan 2007 Posts: 8
|
Posted: Tue Feb 13, 2007 6:19 am Post subject: |
|
|
hc2995 wrote: | ok i got it to work, it DOES send, but when i try to send to my e-mail (from comcast) i get this message:
Quote: |
Message: 550 68.55.75.14 blocked by ldap:ou=rblmx,dc=comcast,dc=net -> Comcast.net subscribers are not permitted to directly connect to this mail server. If you are a Comcast Commercial Services customer and need support, please contact support_biz@cable.comcast.com.
|
Im not worried, this just means that it DID send (or tried to):D
EDIT: Does anyone know any good web mail scripts? Something so i can check/send e-mails from something like http://my.domain.name.com/mail |
If you need help let me know I got this to work both sending and recieving emails and I am on comcast. Lots of reading and understanding IP, networking and such. _________________ Thank You,
David Ranieri |
|
Back to top |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Tue Feb 13, 2007 1:33 pm Post subject: |
|
|
Wow this is a really old post, i have found a work around by interfacing with another server (which acts like a proxy) then sending it through that server. _________________ Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P |
|
Back to top |
|
|
David Ranieri -
Joined: 28 Jan 2007 Posts: 8
|
Posted: Tue Feb 13, 2007 3:32 pm Post subject: |
|
|
My apologies for it being an old post I am new to forums but seen that there was a work around. I personally don't like them but thats cool.
If you have not read the docs or it was the old docs for hmail. Go have a look at relaying that was what was happening to me. You see port twenty five on comcast is not blocked. However when trying to use thier smtp mail server to send mail it will not allow it. Thats the error message you got. If you setup relaying it will work fine. *S* still use mail.yourdomain.xxx whatever on both pop and smtp servers in your outlook or what ever mail client you use. *S* sorry I am a day late and a dollar short. _________________ Thank You,
David Ranieri |
|
Back to top |
|
|
|