so iniciante no linux e n sei configurar direito webmail, tipo, to usando o webmiau, consegui configurar p ele exibiir a tela de entrada de login, como faco p cadastrar os logins??? eu sei q deve ser besteira, mas rodei, rodei e n axei, ajudem ae...
so iniciante no linux e n sei configurar direito webmail, tipo, to usando o webmiau, consegui configurar p ele exibiir a tela de entrada de login, como faco p cadastrar os logins??? eu sei q deve ser besteira, mas rodei, rodei e n axei, ajudem ae...
Caro hlds_
O uebimiau, tem a função apenas de mostrar as mensagens que estão armazenadas em um servidor de e-mail.
"Os logins" como você se refere são as contas de e-mail que estão configuradas no seu servidor de e-mail. Cada um tem sua função. Entendeu?
uebimai, tem a função de mostrar as mensagens de e-mail pela internet. Já o servidor de e-mail é quem tem as configurações de e-mail.
Caso você não tenha um servidor de e-mail próprio, então você não poderá configurar as contas de e-mail.
Onde é que esta seu servidor de e-mail?
Como o casper falou vc tem um server de email?
Postado originalmente por hlds_
tipo, no fedora, as contas de email p usar no uebimiau, sao as contas do linux, eh isso? se n for, diga ae 1 servidor d email p baixar e onde arrumo 1 tutorial p confgirar....flw...
Um servidor de e-mail que eu recomendo é QMAIL.
aqui na underlinux, você encontra tutoriais para instalá-lo.
Ver na serção de artigos:
tipo ja n vem 1 servidor d email no fedora n? o sendmail pode ser usado n? tipo outra coisa, precisa mudar esse campo do config.php do uewbimiau?
$smtp_server = "localhost";
se sim, o q devo por?
O sendmail já um servidor de e-mail sim. normalmente no slackware você tem que configurar ele. Não sei como vem no fedora.
O sendmail trabalha com o arquivo de usuários do se sistema. Assim caso você consiga configurar o sendmail "veja como fazer isto na seção sendmail/qmail/postifix". basta que você adicione um usuário no federal, que você terá uma conta de e-mail com o "login" criado.
A única recomendação que faço é para que no momento em que for incluir uma conta de "email" você não coloque um shell válido para ele. Por exemplo, no lugar do shell "/bin/bash", você pode colocar /bin/false.
Atenciosamente,
Fabrício Vieira Campos
Quanto ao smtp server você pode colocar o "localhost" sim.
ou então se preferir, você colocar o numero ip do federa.
E se estiver utilizando o sendmail, você deve informar que o protocolo usado é o pop3, e que a porta é 110.
Qualquer coisa, posta o seu config.inc para podermos dar uma olhada.
Atenciosamente
Fabrício
rpz, como faco p integrar o sendmail c o uebimiau? n to cosneguindo, consigo rodar o uebimiau, so q qnd coloco os login das contas dos usuarios do linux na tela do uebimiau p entrar no email, n loga, dar erro, como se n tivesse integrado os 2
eu mudei 1 opcao la no arquivo ../uebimiau/inc/config.php
$use_sendmail = yes;
$path_to_sendmail = "/usr/sbin/sendmail";
msm assim n ta pegando, alguem sabe como faco p integrar os 2 ae ???
obs: n mudei nenhuma opcao do sendmail, ele ta c as config. originais, precisa alterar alguma? axei q n pq ele ta funcionando direitinho, por exemplo manda msgs pro root qnd dar algum erro, etc, ele ta pegando direito...ajuda ae!!!
meu arquivo /var/www/html/uebimiau/inc/config.php:
<?
/************************************************************************
UebiMiau is a GPL'ed software developed by
- Aldoir Ventura - [email protected]
- 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);
$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/uebimiau/";
########################################################################
# 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 !!
########################################################################
# 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_protocol = "pop3";
$mail_port = 110;
########################################################################
# The TIME ZONE of server, format (+|-)HHMM (H=hours, M=minutes), eg. +0100
########################################################################
$server_time_zone = "-0000";
########################################################################
# 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 = 2048; // in KB, eg. 4096 Kb = 4MB
########################################################################
# Use SMTP password (AUTH LOGIN type)
########################################################################
$use_password_for_smtp = no;
########################################################################
# Redirect new users to the preferences page at first login
########################################################################
$check_first_login = yes;
########################################################################
# Enable visualization of HTML messages
# *This option afect only incoming messages, the HTML editor
# for new messages (compose page) is automatically activated
# when the client's browser support it (IE5 or higher)
########################################################################
$allow_html = yes;
########################################################################
# FILTER javascript (and others scripts) from incoming messages
########################################################################
$allow_scripts = no;
########################################################################
# 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;
########################################################################
# 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 [email protected], you must
# specify the LOGIN_TYPE as "%user%@%domain%". You can combine it according to
# your server. eg.
# %user%
# %user%@%domain%
# %user%.%domain%
########################################################################
$mail_server_type = "ONE-FOR-EACH";
########################################################################
# TYPE: DETECT
########################################################################
$mail_detect_remove = "www.";
$mail_detect_prefix = "mail.";
$mail_detect_login_type = "%user%@%domain%";
########################################################################
# TYPE: ONE-FOR-EACH
# Each domain have your own mail server
########################################################################
$mail_servers[] = Array(
"domain" => "localhost",
"server" => "localhost",
"login_type" => "%user%"
);
/*
$mail_servers[] = Array(
"domain" => "your-2nd-domain.com",
"server" => "mail.your-2nd-domain.com",
"login_type" => "%user%@%domain%"
);
*/
/*
$mail_servers[] = Array(
"domain" => "your-Nth-domain.com",
"server" => "mail.Nth-domain.com",
"login_type" => "%user%@%domain%"
);
*/
########################################################################
# 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%";
########################################################################
# Language & themes settings
########################################################################
require("./inc/config.languages.php");
########################################################################
# Support for SendMail (DEFAULT DISABLED (using SMTP))
# Only for *nix Systems (NOT Win32)
########################################################################
$use_sendmail = yes;
$path_to_sendmail = "/usr/sbin/sendmail";
########################################################################
# 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.2";
$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;
########################################################################
# Block external images.
# If an HTML message have external images, it will be
# blocked. This feature prevent spam tracking
########################################################################
$block_external_images = no;
########################################################################
# Session timeout for inactivity
########################################################################
$idle_timeout = 10; //minutes
########################################################################
# 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_deafult" => 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
);
?>
Cara,
No uebimiau 2.7.8, tem algumas coisas diferentes.
tente usar ele.
Mas uma coisa que percebi é que você pode colocar "no" para "use_sendmail", que neste caso ele irá usar as próprias funções do php para enviar e-mail.
na parte de "mail_servers"
você deve especificar o seu domínio
$mail_servers[] = Array(
"domain" => "meu dominio.com.br",
"server" => "localhost",
"login_type" => "%user%"
);
outro detalhe, tente trocar o localhost pelo seu numero ip da máquina.
outra coisa o sendmail esta levantado?
Fabrício
ta startado, ele ta configuradop startar no incio
eu ja tinha colokado no p o use sendmail , ele deu pau do msm jeito.
no lugar do localhost do domain, vc pos oq ai no teu webmail?
axo q pode ficar localost msm.
ajuda ae
No meu domain, eu coloquei o meu dominio
"meudominio.com.br",
tente fazer um teste, e veja se seu sendmail esta realmente autenticando os usuários, pois o erro pode não ser o uebimiau. Tente fazer o seguinte:
digite o prompt do seu linux:
root@meu~serv:~# telnet localhost 110
===> deve aparecer uma tela da seguinte forma:
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
se aparece então quer dizer que o sendmail esta respondendo na porta 110. Se aparecer assim:
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
é por que o sendmail não esta configurado correto.
se der certo digite o seguinte:
user usuario-do-seu-linux
==> ele irá retornar "ok"
digite o seguinte:
pass sua-senha-do-linux
==> ele irá te retornar "0k", se der certo,
digite o seguinte:
list
ele deveria listar as mensagens que você tem.
Tente ai e me diga
=====================================
passos para testar um servidor pop (autenticação de usuários do e-mail)
telnet localhost 110
user usuario-do-seu-linux
pass sua-senha-do-linux
list
deu connection refused, como configuro o sendmail direito?
se tu tiver msn, passa ae p eu falar ctg casper, ok? flw
rpz...telnet 127.0.0.1 25 ta pegando mas telnet 127.0.0.1 110 ta n, oq isso ker dizer?
eu configurei o sendmail seguindo o tutorial deste site, msm assim o comando telnet localhost 110 n ta pegando , so o telnet localhost 25 q ta
Cara, sobre o msn pega ai: [email protected]
Devo ficar conectado amanhã 03/12/2004, durante a tarde.
é que normalmente o sendmail só faz o serviço de entrega de mensagens, por isso só a porta 25 esta respondendo.
Tente ver se no federa tem dentro de /etc/ um arquivo chamado inetd.conf
geralmente é neste arquivo que você configura a autenticação do seu servidor pop. O servidor pop é quem fica escutando a porta 110, é ele quem fica responsável por autenticar os seus usuários.
Não me lembro agora o nome do daemon responsável por autenticar os usuários.
vou verificar e posto aqui
Valeu
Cara,
Sobre o arquivo /etc/inetd.conf
procure pela linha parecida com essa abaixo:
#pop-3 stream tcp nowait root /usr/sbin/tcpd ipop3d
Se esta linha tiver um "#" no inicio, tire ele, e então reinice o seu server.
Assim que seu server reiniciar, tente dar o telnet localhost 110
para ver se funciona.
valeu
Fabrício Vieira Campos