elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Sigue las noticias más importantes de seguridad informática en el Twitter! de elhacker.NET


+  Foro de elhacker.net
|-+  Sistemas Operativos
| |-+  GNU/Linux (Moderador: MinusFour)
| | |-+  Elección sobre servidor smtp, imap y administrador
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: 1 2 [3] Ir Abajo Respuesta Imprimir
Autor Tema: Elección sobre servidor smtp, imap y administrador  (Leído 12,520 veces)
MinusFour
Moderador Global
***
Desconectado Desconectado

Mensajes: 5.529


I'm fourth.


Ver Perfil WWW
Re: Elección sobre servidor smtp, imap y administrador
« Respuesta #20 en: 31 Enero 2015, 18:21 pm »

Tiene algo de sentido que ahora te lleguen los correos, aunque no estoy seguro porque no te llegan los correos a tu thunderbird. Revisa el mailbox de dovecot, depende de tu configuración en dovecot.conf. Para lo del relay acess denied, prueba comentar smtp d_recipient_ restrictions.


En línea

WHK
Moderador Global
***
Desconectado Desconectado

Mensajes: 6.589


Sin conocimiento no hay espíritu


Ver Perfil WWW
Re: Elección sobre servidor smtp, imap y administrador
« Respuesta #21 en: 31 Enero 2015, 19:00 pm »

No tengo declarado esa variable:

Código:
[root@drawcoders postfix]# cat /etc/dovecot/dovecot.conf
## Dovecot configuration file

# If you're in a hurry, see http://wiki.dovecot.org/QuickConfiguration

# "doveconf -n" command gives a clean output of the changed settings. Use it
# instead of copy&pasting files when posting to the Dovecot mailing list.

# '#' character and everything after it is treated as comments. Extra spaces
# and tabs are ignored. If you want to use either of these explicitly, put the
# value inside quotes, eg.: key = "# char and trailing whitespace  "

# Default values are shown for each setting, it's not required to uncomment
# those. These are exceptions to this though: No sections (e.g. namespace {})
# or plugin settings are added by default, they're listed only as examples.
# Paths are also just examples with the real defaults being based on configure
# options. The paths listed here are for configure --prefix=/usr
# --sysconfdir=/etc --localstatedir=/var

# Protocols we want to be serving.
protocols = imap pop3 lmtp

# A comma separated list of IPs or hosts where to listen in for connections.
# "*" listens in all IPv4 interfaces, "::" listens in all IPv6 interfaces.
# If you want to specify non-default ports or anything more complex,
# edit conf.d/master.conf.
#listen = *, ::
listen = *

# Base directory where to store runtime data.
#base_dir = /var/run/dovecot/

# Greeting message for clients.
#login_greeting = Dovecot ready.

# Space separated list of trusted network ranges. Connections from these
# IPs are allowed to override their IP addresses and ports (for logging and
# for authentication checks). disable_plaintext_auth is also ignored for
# these networks. Typically you'd specify your IMAP proxy servers here.
#login_trusted_networks =

# Sepace separated list of login access check sockets (e.g. tcpwrap)
#login_access_sockets =

# Show more verbose process titles (in ps). Currently shows user name and
# IP address. Useful for seeing who are actually using the IMAP processes
# (eg. shared mailboxes or if same uid is used for multiple accounts).
#verbose_proctitle = no

# Should all processes be killed when Dovecot master process shuts down.
# Setting this to "no" means that Dovecot can be upgraded without
# forcing existing client connections to close (although that could also be
# a problem if the upgrade is e.g. because of a security fix).
#shutdown_clients = yes

# If non-zero, run mail commands via this many connections to doveadm server,
# instead of running them directly in the same process.
#doveadm_worker_count = 0
# UNIX socket or host:port used for connecting to doveadm server
#doveadm_socket_path = doveadm-server

##
## Dictionary server settings
##

# Dictionary can be used to store key=value lists. This is used by several
# plugins. The dictionary can be accessed either directly or though a
# dictionary server. The following dict block maps dictionary names to URIs
# when the server is used. These can then be referenced using URIs in format
# "proxy::<name>".

dict {
  #quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
  #expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
}

# Most of the actual configuration gets included below. The filenames are
# first sorted by their ASCII value and parsed in that order. The 00-prefixes
# in filenames are intended to make it easier to understand the ordering.
!include conf.d/*.conf

# A config file can also tried to be included without giving an error if
# it's not found:
#!include_try /etc/dovecot/local.conf

# Authentication configuration:
auth_verbose = yes
# Si es posible usar:
auth_debug = yes


En línea

MinusFour
Moderador Global
***
Desconectado Desconectado

Mensajes: 5.529


I'm fourth.


Ver Perfil WWW
Re: Elección sobre servidor smtp, imap y administrador
« Respuesta #22 en: 1 Febrero 2015, 02:54 am »

Perdon, estaba en /etc/devocot/conf.d/10-mail.conf y esta en la directiva mail_location. Si seguiste ese tutorial que pusiste en la primera pagina debes tener:

Código:
mail_location = mbox:~/mail:INBOX=/var/mail/%u

Lo que significa que en /var/mail debe haber una carpeta de tu usuario y dentro deberian estar los correos que has enviado. Si no estan es que nunca llegaron o los borraste al descargarlos (no estoy seguro si thunderbird haga eso). Si los correos estan los mas probable es que tu thunderbird (o cualquier otro MUA que estes usando) este mal configurado.

En cuanto a lo de smtpd_recipient_restrictions, no lo vas a encontrar en el dovecot.conf sino en tu main.cf y es realmente solo una prueba para ver si al comentar el parametro te deja enviar correos.

Trata tambien de enviar un correo de una cuenta de tu servidor a otra cuenta tambien alojada en tu servidor y revisa a ver que pasa.
En línea

WHK
Moderador Global
***
Desconectado Desconectado

Mensajes: 6.589


Sin conocimiento no hay espíritu


Ver Perfil WWW
Re: Elección sobre servidor smtp, imap y administrador
« Respuesta #23 en: 1 Febrero 2015, 16:47 pm »

Nop, ya hice todo eso y aun sigue apareciendo el mismo mensaje, reinicié los servicios y todo :( es raro eh, en fin, seguiré buscando aver que onda.
En línea

MinusFour
Moderador Global
***
Desconectado Desconectado

Mensajes: 5.529


I'm fourth.


Ver Perfil WWW
Re: Elección sobre servidor smtp, imap y administrador
« Respuesta #24 en: 1 Febrero 2015, 17:19 pm »

Nop, ya hice todo eso y aun sigue apareciendo el mismo mensaje, reinicié los servicios y todo :( es raro eh, en fin, seguiré buscando aver que onda.

¿Pero si tienes el correo en la carpeta de Dovecot? ¿Como estas enviando el correo desde tu thunderbird o directamente con sendmail desde el host?

Podria ser un error de autentificación, en los logs tienes:
Código
  1. Jan 30 20:41:10 server dovecot: imap-login: Aborted login (no auth attempts): rip=181.161.182.16, lip=94.23.217.40
  2. Jan 30 20:41:10 server dovecot: pop3-login: Aborted login (no auth attempts): rip=181.161.182.16, lip=94.23.217.40

Lo que me hace creer que tu cliente no esta tratando de autentificarse (una de las reglas de smtpd_relay_access es que permite mensajes autentificados), aunque despues se puede ver un login... asi que no estoy seguro.

Si los correos si te estan llegando a tu mailbox de dovecot pero tu thunderbird tampoco los puede ver, todo apunta a un problema del cliente.
En línea

WHK
Moderador Global
***
Desconectado Desconectado

Mensajes: 6.589


Sin conocimiento no hay espíritu


Ver Perfil WWW
Re: Elección sobre servidor smtp, imap y administrador
« Respuesta #25 en: 4 Febrero 2015, 04:49 am »

Al final lo que hice fue instalar zimbra en un servidor limpiopero con apache en paralelo y le cambié los pueros por defecto a los servicios de zimbra y todo funciona correctamente :) ahora tendré que ver como ponerle el certificado y estamos listos :D pero por lo menos igual se puede entrar a leer y recibir correos.

Gracias por la ayuda, a pesar de que no pude aplicar nada de lo que me dijeron igual me sirvió para aprender mas sobre las configuraciones manuales de los servicios.
En línea

Páginas: 1 2 [3] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Elección de servidor para un sistema
Redes
george180 4 5,059 Último mensaje 28 Julio 2010, 03:50 am
por Ari Slash
Duda sobre manejo de quotas cyrus imap
GNU/Linux
nascent 0 2,784 Último mensaje 29 Enero 2011, 16:01 pm
por nascent
Ayuda sobre eleccion de celular
Dispositivos Móviles (PDA's, Smartphones, Tablets)
Galardo14 1 2,796 Último mensaje 10 Abril 2023, 03:55 am
por LlopoRobot
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines