Mailenable Standard & Uebimiau - Error sending mail

Discussion regarding the Standard version.
Post Reply
IronMike
Posts: 12
Joined: Sat Nov 26, 2005 11:45 am

Mailenable Standard & Uebimiau - Error sending mail

Post by IronMike » Fri Dec 09, 2005 10:53 am

Hello everybody.
I have a problem with mailenable standard and uebimiau (a graphic interface for webmail).
i'm able to log-in and can see incoming mail and that i can read, but i can't send mail from uebimiau interface to my contact.there is a generic error that i don't understand.
Here i post config.php that uebimiau use for a correct function
Who can help me?

P.S. My system: Win 2K3, Apache 2.0.52, php 5.1.1

<?
########################################################################
#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 = "c:/winnt/temp/uebimiau";

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

$smtp_server = "127.0.0.1";


########################################################################
# 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-ALL";

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

$mail_detect_remove = "www.";
$mail_detect_prefix = "127.0.0.1";
$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" => "carnicella.no-ip.info",
"server" => "127.0.0.1",
"login_type" => "%user%@%domain%",
"protocol" => "POP3",
"port" => "110",
"folder_prefix" => ""
);


/*
$mail_servers[] = Array( //sample using IMAP
"domain" => "carnicella.no-ip.info",
"server" => "127.0.0.1",
"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 = "127.0.0.1";
$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 = "flct";
$appname = "Mike Mail";


########################################################################
# 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" => "+0100", # 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;
?>

IronMike
Posts: 12
Joined: Sat Nov 26, 2005 11:45 am

Post by IronMike » Sun Dec 11, 2005 9:57 am

Nobody can help me?

OwenD
Posts: 39
Joined: Wed Sep 22, 2004 7:33 am
Location: Gladstone - Australia

Post by OwenD » Fri Dec 16, 2005 5:29 am

Make sure your temp directory is writeable by uebimiau/php.

I have a forward slash after my temp directory, but I don't know if that will make the difference.

cheers
Owen

jangarella
Posts: 8
Joined: Sun Dec 04, 2005 6:28 pm

Post by jangarella » Fri Dec 16, 2005 7:24 pm

I am running a Eubimaiu implementation without any difficulties.

Check your NTFS permissions on c:/winnt/temp/uebimiau. Make sure that the account under which you are running your Apache server has full rights to this folder. Also, for security reasons, I would recommend changing the temp directory to a subdirectory that is not under the WINNT directory.

Also, you might want to turn on security event logging in order to see if you are getting any access denied events in the event log. If you log only failures, you should be able to see where the problem lies rather easily.

What version of PHP are you running? If you post a copy of your PHP.INI file, someone might be able to detect any PHP configuration problems.

Hope that helps...


Joe Angarella

Post Reply