Jump to content


Photo

Uebimiau-2.7.10-any


  • Faça o login para participar
39 replies to this topic

#16 triko

triko

    Turista

  • Usuários
  • 55 posts
  • Sexo:Não informado
  • Localidade:POA/RS

Posted 02/10/2006, 18:03

O meu continua dando erro...

Pega o meu codigo aí e veja se conesgue arrumar:

inc.php

<?
/************************************************************************
UebiMiau is a GPL'ed software developed by 

 - Aldoir Ventura - aldoir@users.sourceforge.net
 - http://uebimiau.sourceforge.net

Fell free to contact, send donations or anything to me :-)
São Paulo - Brasil
*************************************************************************/

@set_time_limit(0);
session_start();
session_name('sid');
$sid = session_id();

require("./inc/config.php");
require("./inc/class.uebimiau.php");
require("./inc/lib.php");

$temporary_directory = realpath($temporary_directory).'/';

define("SMARTY_DIR","./smarty/");
require_once(SMARTY_DIR."Smarty.class.php");
$smarty = new Smarty;
$smarty->compile_dir = $temporary_directory;
$smarty->security=true;
//$smarty->secure_dir=array("./");


$smarty->assign("umMenuTemplate",dirname($PATH_TRANSLATED).$menu_template);
//$smarty->debugging = false;
$smarty->assign("umLanguageFile",$selected_language.".txt");

$SS = New Session();
$SS->temp_folder 	= $temporary_directory;
$SS->sid 			= $sid;
$SS->timeout 		= $idle_timeout;

$sess = $SS->Load();


if(!array_key_exists("start", $sess )) $sess["start"] = time();
$start = $sess["start"];

$UM = new UebiMiau();

if(isset($f_pass) && strlen($f_pass) > 0) {

	switch(strtoupper($mail_server_type)) {

	case "DETECT":
		$f_server 	= strtolower(getenv("HTTP_HOST"));
		$f_server 	= str_replace($mail_detect_remove,"",$f_server);
		$f_server 	= $mail_detect_prefix.$f_server;

		if(ereg("(.*)@(.*)",$f_email,$regs)) {
			$f_user = $regs[1];
			$domain = $regs[2];
			if($mail_detect_login_type != "") $f_user = eregi_replace("%user%",$f_user,eregi_replace("%domain%",$domain,$mail_detect_login_type));
		}

		$f_protocol	= $mail_detect_protocol;
		$f_port		= $mail_detect_port;
		$f_prefix	= $mail_detect_folder_prefix;

		break;

	case "ONE-FOR-EACH": 
		$domain 		= $mail_servers[$six]["domain"];
		$f_email 		= $f_user."@".$domain;
		$f_server 		= $mail_servers[$six]["server"];
		$login_type 	= $mail_servers[$six]["login_type"];

		$f_protocol		= $mail_servers[$six]["protocol"];
		$f_port			= $mail_servers[$six]["port"];
		$f_prefix		= $mail_servers[$six]["folder_prefix"];

		if($login_type != "") $f_user = eregi_replace("%user%",$f_user,eregi_replace("%domain%",$domain,$login_type));
		break;

	case "ONE-FOR-ALL": 
		if(ereg("(.*)@(.*)",$f_email,$regs)) {
			$f_user = $regs[1];
			$domain = $regs[2];
			if($one_for_all_login_type != "") $f_user = eregi_replace("%user%",$f_user,eregi_replace("%domain%",$domain,$one_for_all_login_type));
		}
		$f_server = $default_mail_server;

		$f_protocol	= $default_protocol;
		if($f_protocol == "imap")
			$f_port		= "143";
		if($f_protocol == "pop3")
			$f_port		= "110";
		$f_prefix	= $default_folder_prefix;
		break;
	}

	$UM->mail_email 	= $sess["email"]			  = stripslashes($f_email);
	$UM->mail_user 		= $sess["user"]   			= stripslashes($f_user);
	$UM->mail_pass 		= $sess["pass"]   			= stripslashes($f_pass); 
	$UM->mail_server 	= $sess["server"] 			= stripslashes($f_server); 

	$UM->mail_port 		= $sess["port"] 			= intval($f_port); 
	$UM->mail_protocol	= $sess["protocol"] 		= strtolower($f_protocol); 
	$UM->mail_prefix	= $sess["folder_prefix"] 	= $f_prefix; 
	
	$sess['remote_ip'] = $_SERVER['REMOTE_ADDR'];
	
	$refr = 1;

} elseif (
	($sess["auth"] && intval((time()-$start)/60) < $idle_timeout)
	&& $require_same_ip && ($sess["remote_ip"] == $_SERVER['REMOTE_ADDR'])
	) {

	$UM->mail_user   	= $f_user		= $sess["user"];
	$UM->mail_pass   	= $f_pass		= $sess["pass"];
	$UM->mail_server 	= $f_server	  = $sess["server"];
	$UM->mail_email	  = $f_email   	= $sess["email"];

	$UM->mail_port 		= $f_port 		= $sess["port"]; 
	$UM->mail_protocol	= $f_protocol	= $sess["protocol"]; 
	$UM->mail_prefix	= $f_prefix 	= $sess["folder_prefix"]; 

} else {
	redirect("./index.php?tid=$tid&lid=$lid"); 
	exit; 
}
$sess["start"] = time();

$SS->Save($sess);

$userfolder = $temporary_directory.ereg_replace("[^a-z0-9\._-]","_",strtolower($f_user))."_".strtolower($f_server)."/";

$UM->debug				= $enable_debug;
$UM->use_html			= $allow_html;

$UM->user_folder 		= $userfolder;
$UM->temp_folder		= $temporary_directory;
$UM->timeout			= $idle_timeout;


$prefs = load_prefs();

$UM->timezone			= $prefs["timezone"];
$UM->charset			= $default_char_set;


/*
Don't remove the fallowing lines, or you will be problems with browser's cache 
*/

Header("Expires: Wed, 11 Nov 1998 11:11:11 GMT\r\n".
"Cache-Control: no-cache\r\n".
"Cache-Control: must-revalidate");

$nocache = "
<META HTTP-EQUIV=\"Cache-Control\" CONTENT=\"no-cache\">
<META HTTP-EQUIV=\"Expires\" CONTENT=\"-1\">";

// Sort rules

if(!isset($sortby) || !ereg("(subject|fromname|date|size)",$sortby)) {
	if(array_key_exists("sort-by",$prefs) && ereg("(subject|fromname|date|size)",$prefs["sort-by"]))
		$sortby = $prefs["sort-by"];
	else
		$sortby = $default_sortby;
} else {
	$need_save = true;
	$prefs["sort-by"] = $sortby;
}

if(!isset($sortorder) || !ereg("ASC|DESC",$sortorder)) {
	if(array_key_exists("sort-order",$prefs) && ereg("ASC|DESC",$prefs["sort-order"]))
		$sortorder = $prefs["sort-order"];
	else
		$sortorder = $default_sortorder;
} else {
	$need_save = true;
	$prefs["sort-order"] = $sortorder;
}

if(isset($need_save)) save_prefs($prefs);

if(is_array($sess["sysmap"])) 
	while(list($key, $value) = each($sess["sysmap"]))
		if(strtolower($folder) == $key)
			$folder = $value;

if(!isset($folder) || $folder == "" || strpos($folder,"..") !== false ) {
	$folder = $sess["sysmap"]["inbox"];

} elseif (!file_exists($userfolder.$folder)) { 
	redirect("./logout.php?tid=$tid&lid=$lid"); 
	exit; 
}

?>

config.php da pasta inc
<?
/************************************************************************
UebiMiau is a GPL'ed software developed by 

 - Aldoir Ventura - aldoir@users.sourceforge.net
 - http://uebimiau.sourceforge.net

Fell free to contact, send donations or anything to me :-)
São Paulo - Brasil
*************************************************************************/

########################################################################
#Defaults:
#1 - Yes/On/True
#0 - No/Off/False
# do not remove or change this

define('yes',1);
define('no',0);

$ALL_OK = false;

$themes 	= Array();
$languages 	= Array();

########################################################################
# _ Please attention _:
# The temporary files will be stored on this folder
# For security reasons, do not use web-shared folders

# ** The Web Server needs write-permission on this folder

# * Unix/Linux users use.
# /tmp/uebimiau
# * Win32 users
# c:/winnt/temp/uebimiau

# NEVER use backslashes (\). Always use forward slashes (/),
# for all operating systems, INCLUDING Windows
########################################################################

$temporary_directory = "database/";

########################################################################
# Your local SMTP Server (alias or IP) such as "smtp.yourdomain.com"
# eg. "server1;server2;server3"   -> specify main and backup server
########################################################################

$smtp_server = "localhost";  #YOU NEED CHANGE IT !!


########################################################################
# You should enable this option if you know what are doing
########################################################################
$allow_filters = no;


########################################################################
# The maximum size for stored files
# In order to keep you system fast, use values better than 5MB
# If you need disable it, set the value to 0 or leave it blank
########################################################################
$quota_limit = 0;  //  in KB, eg. 4096 Kb = 4MB


########################################################################
# Use SMTP password (AUTH LOGIN type)
########################################################################
$use_password_for_smtp	= yes;

########################################################################
# Redirect new users to the preferences page at first login
########################################################################
$check_first_login		= yes;

########################################################################
# Turn this option to 'yes' if you want allow users send messages using
# they 'Reply to' preference's option as your 'From' header, otherwise 
# the From field will be the email wich the users log in
########################################################################
$allow_modified_from	= yes;

########################################################################
# Language & themes settings
########################################################################

require("./inc/config.languages.php");

########################################################################
# Security related settings
########################################################################

require("./inc/config.security.php");


########################################################################
# Server type:
# allowed values:

# "DETECT" -------->	Guess the pop3 server. If you are running UM
# 					in a domain "www.company.com", the script will 
#					use "PREFIX.company.com" as your server. you 
#					can set the "PREFIX" in the var $mail_detect_prefix.
#					Also, the var $mail_detect_remove can be set
#					to "www.", then the script get rid the "www" and 
#					put the prefix, eg. pop3.company.com.br

#"ONE-FOR-EACH" -->	Each domain have your own mail server.
#					The script will load the list of domains/servers from
#					var $mail_servers.

#"ONE-FOR-ALL" --->	If you use this option, your users must supply the
#					full email address as username. You can set the mail
#					server in the var $default_mail_server
#					

# LOGIN_TYPE

# Note. You can supply the LOGIN_TYPE according to your MAIL SERVER.
# Eg. If your mail server requires usernames in user@domain.com, you must
# specify the LOGIN_TYPE as "%user%@%domain%". You can combine it according to 
# your server. eg.

# %user%
# %user%@%domain%
# %user%.%domain%
#
# PROTOCOL and PORT
# Choose "imap" as protocol to use the Internet Mail Access Protocol, 
# or "pop3" to use the Post Office Protocol.
# The default ports are:
# pop3 -> 110
# imap -> 143
# The imap is more fast, but all functions of UebiMiau works with POP3
########################################################################

########################################################################

$mail_server_type 	= "ONE-FOR-EACH";

########################################################################
# TYPE: DETECT
########################################################################

$mail_detect_remove 		= "www.";
$mail_detect_prefix 		= "mail.";
$mail_detect_login_type 	= "%user%@%domain%";
$mail_detect_protocol 		= "pop3";
$mail_detect_port 			= "110";
$mail_detect_folder_prefix 	= "";

########################################################################
# TYPE: ONE-FOR-EACH
# Each domain have your own mail server
########################################################################


$mail_servers[] = Array( //sample using POP3
	"domain" 		=> "cia2.com", 
	"server" 		=> "mail.cia2.com", 
	"login_type" 	=> "%user%@%domain%",
	"protocol"		=> "cia2.com",
	"port"			=> "143",
	"folder_prefix"	=> "" //not used for pop3
);


/*
$mail_servers[] = Array( //sample using IMAP
	"domain" 		=> "another-domain.com", 
	"server" 		=> "mail.another-domain.com", 
	"login_type" 	=> "%user%@%domain%",
	"protocol"		=> "imap",
	"port"			=> "143",
	"folder_prefix"	=> "INBOX."
);

*/

########################################################################
# TYPE: ONE-FOR-ALL
# the default mail server for all domains
########################################################################

$default_mail_server 	= "mail.YOUR-UNIQUE-SERVER.com.br";
$one_for_all_login_type	= "%user%@%domain%";
$default_protocol		= "pop3";
$default_port			= "110";
$default_folder_prefix	= "";


########################################################################
# Specify mail transport
# Allowed values:
# "smtp" 		- To use an external SMTP Server specified in $smtp_server
# "sendmail" 	- To server's sendmail-compatible MTA. If you need to change
#				  the path, look into /inc/class.phpmailer.php and search for
#				  var $Sendmail		  = "/usr/sbin/sendmail";
# "mail"		- To use default PHP's mail() function
########################################################################

$mailer_type		= "smtp";


########################################################################
# In some POP3 servers, if you send a "RETR" command, your
# message will be automatically deleted :(
# This option prevents this inconvenience
########################################################################

$mail_use_top = yes;

########################################################################
# Name and Version, it's used in many places, like as
# "X-Mailer" field, footer
########################################################################

$appversion = "2.7.9";
$appname = "UebiMiau";


########################################################################
# Add a "footer" to sent mails
########################################################################

$footer = "

________________________________________________
Message sent using $appname $appversion
";

########################################################################
# Enable debug :)
# no - disabled
# 1 or yes -> enabled with full results
# 2 -> enable with servers communications only
# ********************************************************/
$enable_debug = no;


########################################################################
# Order setting
########################################################################

$default_sortby = "date";
$default_sortorder = "DESC";

########################################################################
# Default preferences...
########################################################################

$default_preferences = Array(
	"send_to_trash_default" 	=> yes,		# send deleted messages to trash
	"st_only_ready_default" 	=> yes,		# only read messages, otherwise, delete it
	"save_to_sent_default"		=> yes,		# send sent messages to sent
	"empty_trash_default"		=> yes,		# empty trash on logout
	"sortby_default"			=> "date",	# alowed: "attach","subject","fromname","date","size"
	"sortorder_default"			=> "DESC",	# alowed: "ASC","DESC"
	"rpp_default"				=> 20,		# records per page (messages), alowed: 10,20,30,40,50,100,200
	"add_signature_default"		=> no,		# add the signature by default
	"signature_default"			=> "",		# a default signature for all users, use text only, with multiple lines if needed
	"timezone_default"			=> "+0000",	# timezone, format (+|-)HHMM (H=hours, M=minutes)
	"display_images_default"	=> yes,		# automatically show attached images in the body of message
	"editor_mode_default"		=> "html",	# use "html" or "text" to set default editor. "html" will be used only in IE5+ browsers
	"refresh_time_default"		=> 10		# after this time, the message list will be refreshed, in minutes
);
/*
don't touch here
*/
$ALL_OK = true;
?>

config.php pasta_temporária
<?
/************************************************************************
UebiMiau is a GPL'ed software developed by 

 - Aldoir Ventura - aldoir@users.sourceforge.net
 - http://uebimiau.sourceforge.net

Fell free to contact, send donations or anything to me :-)
São Paulo - Brasil
*************************************************************************/

########################################################################
#Defaults:
#1 - Yes/On/True
#0 - No/Off/False
# do not remove or change this

define('yes',1);
define('no',0);

$ALL_OK = false;

$themes 	= Array();
$languages 	= Array();

########################################################################
# _ Please attention _:
# The temporary files will be stored on this folder
# For security reasons, do not use web-shared folders

# ** The Web Server needs write-permission on this folder

# * Unix/Linux users use.
# /tmp/uebimiau
# * Win32 users
# c:/winnt/temp/uebimiau

# NEVER use backslashes (\). Always use forward slashes (/),
# for all operating systems, INCLUDING Windows
########################################################################

$temporary_directory = "email/";

########################################################################
# Your local SMTP Server (alias or IP) such as "smtp.yourdomain.com"
# eg. "server1;server2;server3"   -> specify main and backup server
########################################################################

$smtp_server = "mail.cia2.com";  #YOU NEED CHANGE IT !!


########################################################################
# You should enable this option if you know what are doing
########################################################################
$allow_filters = no;


########################################################################
# The maximum size for stored files
# In order to keep you system fast, use values better than 5MB
# If you need disable it, set the value to 0 or leave it blank
########################################################################
$quota_limit = 1000;  //  in KB, eg. 4096 Kb = 4MB


########################################################################
# Use SMTP password (AUTH LOGIN type)
########################################################################
$use_password_for_smtp	= yes;

########################################################################
# Redirect new users to the preferences page at first login
########################################################################
$check_first_login		= yes;

########################################################################
# Turn this option to 'yes' if you want allow users send messages using
# they 'Reply to' preference's option as your 'From' header, otherwise 
# the From field will be the email wich the users log in
########################################################################
$allow_modified_from	= yes;

########################################################################
# Language & themes settings
########################################################################

require("./inc/config.languages.php");

########################################################################
# Security related settings
########################################################################

require("./inc/config.security.php");


########################################################################
# Server type:
# allowed values:

# "DETECT" -------->	Guess the pop3 server. If you are running UM
# 					in a domain "www.company.com", the script will 
#					use "PREFIX.company.com" as your server. you 
#					can set the "PREFIX" in the var $mail_detect_prefix.
#					Also, the var $mail_detect_remove can be set
#					to "www.", then the script get rid the "www" and 
#					put the prefix, eg. pop3.company.com.br

#"ONE-FOR-EACH" -->	Each domain have your own mail server.
#					The script will load the list of domains/servers from
#					var $mail_servers.

#"ONE-FOR-ALL" --->	If you use this option, your users must supply the
#					full email address as username. You can set the mail
#					server in the var $default_mail_server
#					

# LOGIN_TYPE

# Note. You can supply the LOGIN_TYPE according to your MAIL SERVER.
# Eg. If your mail server requires usernames in user@domain.com, you must
# specify the LOGIN_TYPE as "%user%@%domain%". You can combine it according to 
# your server. eg.

# %user%
# %user%@%domain%
# %user%.%domain%
#
# PROTOCOL and PORT
# Choose "imap" as protocol to use the Internet Mail Access Protocol, 
# or "pop3" to use the Post Office Protocol.
# The default ports are:
# pop3 -> 110
# imap -> 143
# The imap is more fast, but all functions of UebiMiau works with POP3
########################################################################

########################################################################

$mail_server_type 	= "ONE-FOR-EACH";

########################################################################
# TYPE: DETECT
########################################################################

$mail_detect_remove 		= "www.";
$mail_detect_prefix 		= "mail.";
$mail_detect_login_type 	= "%user%@%domain%";
$mail_detect_protocol 		= "pop3";
$mail_detect_port 			= "110";
$mail_detect_folder_prefix 	= "";

########################################################################
# TYPE: ONE-FOR-EACH
# Each domain have your own mail server
########################################################################


$mail_servers[] = Array( //sample using POP3
	"domain" 		=> "cia2.com", 
	"server" 		=> "mail.cia2.com", 
	"login_type" 	=> "%user%@%domain%",
	"protocol"		=> "cia2.com",
	"port"			=> "143",
	"folder_prefix"	=> "INBOX." //not used for pop3
);


/*
$mail_servers[] = Array( //sample using IMAP
	"domain" 		=> "another-domain.com", 
	"server" 		=> "mail.another-domain.com", 
	"login_type" 	=> "%user%@%domain%",
	"protocol"		=> "imap",
	"port"			=> "143",
	"folder_prefix"	=> "INBOX."
);

*/

########################################################################
# TYPE: ONE-FOR-ALL
# the default mail server for all domains
########################################################################

$default_mail_server 	= "mail.cia2.com";
$one_for_all_login_type	= "%user%@%domain%";
$default_protocol		= "cia2.com";
$default_port			= "110";
$default_folder_prefix	= "xupa";


########################################################################
# Specify mail transport
# Allowed values:
# "smtp" 		- To use an external SMTP Server specified in $smtp_server
# "sendmail" 	- To server's sendmail-compatible MTA. If you need to change
#				  the path, look into /inc/class.phpmailer.php and search for
#				  var $Sendmail		  = "/usr/sbin/sendmail";
# "mail"		- To use default PHP's mail() function
########################################################################

$mailer_type		= "smtp";


########################################################################
# In some POP3 servers, if you send a "RETR" command, your
# message will be automatically deleted :(
# This option prevents this inconvenience
########################################################################

$mail_use_top = yes;

########################################################################
# Name and Version, it's used in many places, like as
# "X-Mailer" field, footer
########################################################################

$appversion = "2.7.9";
$appname = "UebiMiau";


########################################################################
# Add a "footer" to sent mails
########################################################################

$footer = "

________________________________________________
Message sent using $appname $appversion
";

########################################################################
# Enable debug :)
# no - disabled
# 1 or yes -> enabled with full results
# 2 -> enable with servers communications only
# ********************************************************/
$enable_debug = no;


########################################################################
# Order setting
########################################################################

$default_sortby = "date";
$default_sortorder = "DESC";

########################################################################
# Default preferences...
########################################################################

$default_preferences = Array(
	"send_to_trash_default" 	=> yes,		# send deleted messages to trash
	"st_only_ready_default" 	=> yes,		# only read messages, otherwise, delete it
	"save_to_sent_default"		=> yes,		# send sent messages to sent
	"empty_trash_default"		=> yes,		# empty trash on logout
	"sortby_default"			=> "date",	# alowed: "attach","subject","fromname","date","size"
	"sortorder_default"			=> "DESC",	# alowed: "ASC","DESC"
	"rpp_default"				=> 20,		# records per page (messages), alowed: 10,20,30,40,50,100,200
	"add_signature_default"		=> no,		# add the signature by default
	"signature_default"			=> "",		# a default signature for all users, use text only, with multiple lines if needed
	"timezone_default"			=> "+0000",	# timezone, format (+|-)HHMM (H=hours, M=minutes)
	"display_images_default"	=> yes,		# automatically show attached images in the body of message
	"editor_mode_default"		=> "html",	# use "html" or "text" to set default editor. "html" will be used only in IE5+ browsers
	"refresh_time_default"		=> 10		# after this time, the message list will be refreshed, in minutes
);
/*
don't touch here
*/
$ALL_OK = true;
?>

Ajuda aí please! (y)

Edição feita por: triko, 02/10/2006, 18:48.

http://www.triko.com.br

#17 Paulo Henrique

Paulo Henrique

    Novato no fórum

  • Usuários
  • 4 posts
  • Sexo:Não informado

Posted 25/10/2006, 19:08

Olá, eu andei tentando instalar também esta versão gratuita de webmail e não consegui, se quiser acesse: clique aqui e veja. Só estou com problema na questão daquela pasta temporária, quem já conseguiu colocar este webmail funcionando no servidor?

Alguém pode me ajudar?


Estou montando um site com serviços como o Yahoo e Buscapé, posso recompensar quem colocar este webmail funcionando no meu site.


#18 relpcam

relpcam

    Turista

  • Usuários
  • 48 posts
  • Sexo:Não informado

Posted 25/10/2006, 23:28

Olá, eu andei tentando instalar também esta versão gratuita de webmail e não consegui, se quiser acesse: clique aqui e veja. Só estou com problema na questão daquela pasta temporária, quem já conseguiu colocar este webmail funcionando no servidor?

Alguém pode me ajudar?


Estou montando um site com serviços como o Yahoo e Buscapé, posso recompensar quem colocar este webmail funcionando no meu site.



Olá brother.

Vou tentar te ajudar a configurar, não pela recompensa e sim com o intuito de ajudar.

Primeiramente, dentro da pasta onde vai estar o teu e-mail (Uebimiau) você cria uma pasta com o nome tmp nesta pasta você vai dar a permissão 777. Pronto, sua pasta temporária já foi criada.

Agora a configuração do teu config.php

O seu problema tá acontecendo somente para identificar a tua pasta temporária, pois então, coloque no código config.php em sua pasta temporária tmp/ pronto, somente isso.

Estou colocando aqui o código em do arquivo config.php mais ou menos configurado para a tua página.

Um grande abraço e espero ter ajudado

<?
/************************************************************************
UebiMiau is a GPL'ed software developed by 

 - Aldoir Ventura - aldoir@users.sourceforge.net
 - http://uebimiau.sourceforge.net

Fell free to contact, send donations or anything to me :-)
São Paulo - Brasil
*************************************************************************/

########################################################################
#Defaults:
#1 - Yes/On/True
#0 - No/Off/False
# do not remove or change this

define('yes',1);
define('no',0);

$ALL_OK = false;

$themes 	= Array();
$languages 	= Array();

########################################################################
# _ Please attention _:
# The temporary files will be stored on this folder
# For security reasons, do not use web-shared folders

# ** The Web Server needs write-permission on this folder

# * Unix/Linux users use.
# /tmp/uebimiau
# * Win32 users
# c:/winnt/temp/uebimiau

# NEVER use backslashes (\). Always use forward slashes (/),
# for all operating systems, INCLUDING Windows
########################################################################

$temporary_directory = "tmp/";

########################################################################
# Your local SMTP Server (alias or IP) such as "smtp.yourdomain.com"
# eg. "server1;server2;server3"   -> specify main and backup server
########################################################################

$smtp_server = "mail.amigosdaweb.com";  #YOU NEED CHANGE IT !!


########################################################################
# You should enable this option if you know what are doing
########################################################################
$allow_filters = no;


########################################################################
# The maximum size for stored files
# In order to keep you system fast, use values better than 5MB
# If you need disable it, set the value to 0 or leave it blank
########################################################################
$quota_limit = 1000;  //  in KB, eg. 4096 Kb = 4MB


########################################################################
# Use SMTP password (AUTH LOGIN type)
########################################################################
$use_password_for_smtp	= yes;

########################################################################
# Redirect new users to the preferences page at first login
########################################################################
$check_first_login		= yes;

########################################################################
# Turn this option to 'yes' if you want allow users send messages using
# they 'Reply to' preference's option as your 'From' header, otherwise 
# the From field will be the email wich the users log in
########################################################################
$allow_modified_from	= yes;

########################################################################
# Language & themes settings
########################################################################

require("./inc/config.languages.php");

########################################################################
# Security related settings
########################################################################

require("./inc/config.security.php");


########################################################################
# Server type:
# allowed values:

# "DETECT" -------->	Guess the pop3 server. If you are running UM
# 					in a domain "www.company.com", the script will 
#					use "PREFIX.company.com" as your server. you 
#					can set the "PREFIX" in the var $mail_detect_prefix.
#					Also, the var $mail_detect_remove can be set
#					to "www.", then the script get rid the "www" and 
#					put the prefix, eg. pop3.company.com.br

#"ONE-FOR-EACH" -->	Each domain have your own mail server.
#					The script will load the list of domains/servers from
#					var $mail_servers.

#"ONE-FOR-ALL" --->	If you use this option, your users must supply the
#					full email address as username. You can set the mail
#					server in the var $default_mail_server
#					

# LOGIN_TYPE

# Note. You can supply the LOGIN_TYPE according to your MAIL SERVER.
# Eg. If your mail server requires usernames in user@domain.com, you must
# specify the LOGIN_TYPE as "%user%@%domain%". You can combine it according to 
# your server. eg.

# %user%
# %user%@%domain%
# %user%.%domain%
#
# PROTOCOL and PORT
# Choose "imap" as protocol to use the Internet Mail Access Protocol, 
# or "pop3" to use the Post Office Protocol.
# The default ports are:
# pop3 -> 110
# imap -> 143
# The imap is more fast, but all functions of UebiMiau works with POP3
########################################################################

########################################################################

$mail_server_type 	= "ONE-FOR-EACH";

########################################################################
# TYPE: DETECT
########################################################################

$mail_detect_remove 		= "www.";
$mail_detect_prefix 		= "mail.";
$mail_detect_login_type 	= "%user%@%domain%";
$mail_detect_protocol 		= "pop3";
$mail_detect_port 			= "110";
$mail_detect_folder_prefix 	= "";

########################################################################
# TYPE: ONE-FOR-EACH
# Each domain have your own mail server
########################################################################


$mail_servers[] = Array( //sample using POP3
	"domain" 		=> "amigosdaweb.com", 
	"server" 		=> "mail.amigosdaweb.com", 
	"login_type" 	=> "%user%@%domain%",
	"protocol"		=> "POP3",
	"port"			=> "110",
	"folder_prefix"	=> ""
);


/*
$mail_servers[] = Array( //sample using IMAP
	"domain" 		=> "another-domain.com", 
	"server" 		=> "mail.another-domain.com", 
	"login_type" 	=> "%user%@%domain%",
	"protocol"		=> "imap",
	"port"			=> "143",
	"folder_prefix"	=> "INBOX."
);

*/

########################################################################
# TYPE: ONE-FOR-ALL
# the default mail server for all domains
########################################################################

$default_mail_server 	= "mail.YOUR-UNIQUE-SERVER.com.br";
$one_for_all_login_type	= "%user%@%domain%";
$default_protocol		= "pop3";
$default_port			= "110";
$default_folder_prefix	= "";


########################################################################
# Specify mail transport
# Allowed values:
# "smtp" 		- To use an external SMTP Server specified in $smtp_server
# "sendmail" 	- To server's sendmail-compatible MTA. If you need to change
#				  the path, look into /inc/class.phpmailer.php and search for
#				  var $Sendmail		  = "/usr/sbin/sendmail";
# "mail"		- To use default PHP's mail() function
########################################################################

$mailer_type		= "smtp";


########################################################################
# In some POP3 servers, if you send a "RETR" command, your
# message will be automatically deleted :(
# This option prevents this inconvenience
########################################################################

$mail_use_top = yes;

########################################################################
# Name and Version, it's used in many places, like as
# "X-Mailer" field, footer
########################################################################

$appversion = "www.amigosdaweb.com";
$appname = "O que você quiser colocar";


########################################################################
# Add a "footer" to sent mails
########################################################################

$footer = "

________________________________________________
$appname $appversion
";

########################################################################
# Enable debug :)
# no - disabled
# 1 or yes -> enabled with full results
# 2 -> enable with servers communications only
# ********************************************************/
$enable_debug = no;


########################################################################
# Order setting
########################################################################

$default_sortby = "date";
$default_sortorder = "DESC";

########################################################################
# Default preferences...
########################################################################

$default_preferences = Array(
	"send_to_trash_default" 	=> yes,		# send deleted messages to trash
	"st_only_ready_default" 	=> yes,		# only read messages, otherwise, delete it
	"save_to_sent_default"		=> yes,		# send sent messages to sent
	"empty_trash_default"		=> yes,		# empty trash on logout
	"sortby_default"			=> "date",	# alowed: "attach","subject","fromname","date","size"
	"sortorder_default"			=> "DESC",	# alowed: "ASC","DESC"
	"rpp_default"				=> 20,		# records per page (messages), alowed: 10,20,30,40,50,100,200
	"add_signature_default"		=> no,		# add the signature by default
	"signature_default"			=> "",		# a default signature for all users, use text only, with multiple lines if needed
	"timezone_default"			=> "+0000",	# timezone, format (+|-)HHMM (H=hours, M=minutes)
	"display_images_default"	=> yes,		# automatically show attached images in the body of message
	"editor_mode_default"		=> "html",	# use "html" or "text" to set default editor. "html" will be used only in IE5+ browsers
	"refresh_time_default"		=> 10		# after this time, the message list will be refreshed, in minutes
);
/*
don't touch here
*/
$ALL_OK = true;
?>

E ae Triko

Conseguiu configurar???

#19 eltonfranca

eltonfranca

    Normal

  • Usuários
  • 66 posts
  • Sexo:Masculino

Posted 30/10/2006, 23:30

O problema da instalação é q esse é um arquivo teste e caso na visualização apareça vários "passed" quer dizer q o sistema já está apto para ser utilizado.Nesse caso vc já pode deletar a pasta INSTALL, localizada na pasta do uebimiau q vc baixou.Após isso, ele irá funcionar normalmente no servidor.Depois é só editar.
Um abraço

Edição feita por: eltonfranca, 30/10/2006, 23:34.

Atenciosamente,
Elton França

#20 relpcam

relpcam

    Turista

  • Usuários
  • 48 posts
  • Sexo:Não informado

Posted 31/10/2006, 08:41

O problema da instalação é q esse é um arquivo teste e caso na visualização apareça vários "passed" quer dizer q o sistema já está apto para ser utilizado.Nesse caso vc já pode deletar a pasta INSTALL, localizada na pasta do uebimiau q vc baixou.Após isso, ele irá funcionar normalmente no servidor.Depois é só editar.
Um abraço


Ee ae, tudo bem...

Você está correto brother, só que a pasta temporária do usuário anterior esta dando problema e no Install dá o erro "FAILED" indicando que não está certo.
Os outros testes feito pelo arquivo INSTALL está tudo correto, mais estamos tentando configurar a pasta temporária.

Valeu, um grande abraço!!!

#21 eltonfranca

eltonfranca

    Normal

  • Usuários
  • 66 posts
  • Sexo:Masculino

Posted 31/10/2006, 14:24

Olá novamente amigo!
Bom...Se for o q eu to pensando, creio q já aconteceu comigo essa situação,"FAILED", quando estava experimentando pela primeira vez o webmail.Me diz qual etapa q aparece "FAILED", pq aí talvez eu possa ajudá-lo.Se for possivel tbm, verifique a pasta do servidor onde ele estará localizado.Eu uso o servidor teste EASYPHP e os arquivos do uebimiau eu inseri na pasta "www" deste servidor.Quando eu coloquei no servidor para rodar, o install funcionou corretamente.Após isso fiz os procedimentos q disse no post anterior (deletar a pasta install).Espero estar ajudando.
Um abraço

ps: link para baixa o easyphp quem estiver interessado - http://baixaki.ig.co...detail40079.htm

Edição feita por: eltonfranca, 31/10/2006, 14:55.

Atenciosamente,
Elton França

#22 relpcam

relpcam

    Turista

  • Usuários
  • 48 posts
  • Sexo:Não informado

Posted 31/10/2006, 15:37

Olá novamente amigo!
Bom...Se for o q eu to pensando, creio q já aconteceu comigo essa situação,"FAILED", quando estava experimentando pela primeira vez o webmail.Me diz qual etapa q aparece "FAILED", pq aí talvez eu possa ajudá-lo.Se for possivel tbm, verifique a pasta do servidor onde ele estará localizado.Eu uso o servidor teste EASYPHP e os arquivos do uebimiau eu inseri na pasta "www" deste servidor.Quando eu coloquei no servidor para rodar, o install funcionou corretamente.Após isso fiz os procedimentos q disse no post anterior (deletar a pasta install).Espero estar ajudando.
Um abraço

ps: link para baixa o easyphp quem estiver interessado - http://baixaki.ig.co...detail40079.htm



Olá Brother

Antes de tudo, quem mais interessa em colocar o Uebimiau não está parcipando do forum, não vejo ele respondendo mais os tópicos rs.

A dúvida que o nosso amigo triko tava tendo era na sua pasta temporária, a forma como configuramos a pasta temporária depende mto da versão do seu Uebimiau, alguns na configuração utiliza ./tmp ou tmp ou /tmp , na versão que utilizo a configuração é /tmp a qual eu disponibilizei os codigo em posts anteriores.

Creio eu que o que acontece como triko seja na sua configuração da pasta temporária a qual tá dando o erro "FAILED" sendo ela tendo duas opções de erro.
1º Não deu permissão 777 a pasta temporária
2º Não configurou de acordo a sua pasta temporária

Mais, vamos aquardar o nosso amigo ver as dúvidas novamente.

Eu particularmente preferia utilizar o NutsMail sendo ele o Squirell Mail só com um template mais moderno.

Um grande Abraço

#23 Paulo Henrique

Paulo Henrique

    Novato no fórum

  • Usuários
  • 4 posts
  • Sexo:Não informado

Posted 04/11/2006, 03:08

Olá, ainda não consegui, pessoal como eu disse eu posso recompensar quem fazer este webmail funcionar no meu servidor, e pessoal quem sabe modificar este webmail? tem como isso?

quem quer um login e senha de ftp para instalar para mim este webmail?

Pessoal posso pagar se deixar o este webmail funcionando para mim, eu passo login e senha de ftp se quiserem, meu msn: contato@amigosdaweb.com

#24 jetline

jetline

    Novato no fórum

  • Usuários
  • 2 posts
  • Sexo:Não informado

Posted 06/11/2006, 14:15

Ola AMIGO !

TAMBEM ESTOU COM DIFICULDADES EM INSTALAR O WEBMAIL , ENCONTREI A SUA AJUDA E ESTOU TENTANDO NOVAMENTE INTALER O WEBMAIL, JA FIZ AS MODIFICAÇÕES QUE VC POSTOU NO FORUM DO config.php E DO inc.php NO ( INC.PHP SO FIZ COPIA TROCANDO O SEU PELO MEU E SALVEI TUDO JÁ O CONFIG FIZ AS MUDANÇAS ).

NÃO ENTENDI ISTO ?


Legenda:
pasta_temporaria - você vai especificar a pasta temporária que o Uebimiau vai utilizar, não se esqueça de dar permisão 777 para ela
onde tá "seusite.com.br" você coloca o endereço do teu site, mais sem www Ok.

VOU DAR CHMOD 777 EM QUE ARQUIVO

PARTA TEMPORARIA ONDE FICA ? O MEU SCRIPT NÃO POSSUI ESTA PASTA ( pasta_temporaria )

onde tá "seusite.com.br" você coloca o endereço do teu site, mais sem www Ok ????

ATENCIOSANETE
JETLINE

iNSTALEI MAIS OLHA SO O QUE DA


This script will test your configurations and try to tell you a solution.
All configurations are located in /inc folder and appears as config.*.php

--------------------------------------------------------------------------------

- Testing inc/config.php
(if the script stops here, there are a parse problem with your file, eg you have misstyped some " ou ;, try getting a fresh copy and re-editing it)


WWW.finosite.com.br/WEBMAIL

Edição feita por: jetline, 06/11/2006, 14:31.


#25 relpcam

relpcam

    Turista

  • Usuários
  • 48 posts
  • Sexo:Não informado

Posted 06/11/2006, 14:31

Ola AMIGO !

TAMBEM ESTOU COM DIFICULDADES EM INSTALAR O WEBMAIL , ENCONTREI A SUA AJUDA E ESTOU TENTANDO NOVAMENTE INTALER O WEBMAIL, JA FIZ AS MODIFICAÇÕES QUE VC POSTOU NO FORUM DO config.php E DO inc.php NO ( INC.PHP SO FIZ COPIA TROCANDO O SEU PELO MEU E SALVEI TUDO JÁ O CONFIG FIZ AS MUDANÇAS ).

NÃO ENTENDI ISTO ?


Legenda:
pasta_temporaria - você vai especificar a pasta temporária que o Uebimiau vai utilizar, não se esqueça de dar permisão 777 para ela
onde tá "seusite.com.br" você coloca o endereço do teu site, mais sem www Ok.

VOU DAR CHMOD 777 EM QUE ARQUIVO

PARTA TEMPORARIA ONDE FICA ?

onde tá "seusite.com.br" você coloca o endereço do teu site, mais sem www Ok ????

ATENCIOSANETE
JETLINE


Olá brother...

No arquivo que coloquei no tópico "config.php" onde estiver "seusite.com.br" você vai colocar o endereço do teu site, se no caso for terra.com.br vc coloca terra.com.br.

A pasta temporária vai ficar onde estiver o teu webmail, se você instalou o teu webmail na pasta "email" vc cria a pasta temporária dentro de "email"

Você tem que dar CHMOD 777 para a Pasta temporária que vc criou, vamos supor que o nome da tua pasta seja "temps" então vc vai dar permissão a essa pasta chamada "temps"


Qualquer coisa estamos ae!!!!

#26 Paulo Henrique

Paulo Henrique

    Novato no fórum

  • Usuários
  • 4 posts
  • Sexo:Não informado

Posted 06/11/2006, 16:56

Olá pessoal, verfiquei aqui e consegui instalar o webmail, mas não por estes comentários, pessoal o webmail só vai funcionar regularmente se você tiverem um MX direcionado para seu domínio, e quem tem este MX são donos de servidores, como eu tenho meu própio servidor eu consegui instalar perfeitamente, bastava apontar o mx para meu domínio, o própio webmail cria a pasta temporária, não precisa de criar nem modificar nada para ele funcionar, basta ter o MX.

Eu disponibilizo o seguinte plano de hospedagem:

PLANO 1 LINUX (PHP)
100 MB DE ESPAÇO
1 GB DE TRÁFEGO MENSAL
R$15,00 / MÊS

mysql ilmitados e muito mais, podem acessar www.amigosdaweb.net/mais.php para ver todos os recursos.
Com este meu plano vc poderá ter o webmail funcionando perfeitamente sem nenhuma irregularidade, se você usarem um webmail sem mx e ele funcionar, com certeza ele estará causando problemas no servidor e você pode ser punido por isso.

Meu plano de hospedagem além de vc poder apontar os mx vc pode ter quantos domínios quiser na mesma conta, ou seja, vc pode deixar todos seus domínios em uma só conta de hospedagem, com dns própio e tudo mais, e todos acharão que o servidor é seu.

Quem quiser assinar o plano entre em contato com um de nossos atendentes no contato@amigosdaweb.net ou diretoria@cn.amigosdaweb.net

Quanto a personalização do webmail estamos mexendo nisso.

#27 triko

triko

    Turista

  • Usuários
  • 55 posts
  • Sexo:Não informado
  • Localidade:POA/RS

Posted 08/11/2006, 20:37

Realmente, ainda não consegui instalar ... :rolleyes:
http://www.triko.com.br

#28 relpcam

relpcam

    Turista

  • Usuários
  • 48 posts
  • Sexo:Não informado

Posted 08/11/2006, 21:44

Realmente, ainda não consegui instalar ... :rolleyes:


Qual o problema que tá acorrendo brother?

#29 triko

triko

    Turista

  • Usuários
  • 55 posts
  • Sexo:Não informado
  • Localidade:POA/RS

Posted 19/12/2006, 21:55

Não sei ao certo...tá complicado eu colocar a bagaça no ar :(
http://www.triko.com.br

#30 relpcam

relpcam

    Turista

  • Usuários
  • 48 posts
  • Sexo:Não informado

Posted 19/12/2006, 22:25

Não sei ao certo...tá complicado eu colocar a bagaça no ar :(


Brother, me informe o teu msn para lhe adicionar.

Um grande abraço!!!




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq