No envia mails en Plesk

Foro de habla español

No envia mails en Plesk

Postby elnenpetit » 8:17pm, Tue 17 Mar, 2015

Que tal chicos !

Antes de nada daros las gracias por vuestro aporte en esta comunidad.

Mi problema es que phplist no me envia los correos, y me explico.

Ya tengo minima experiencia con este sistema y he conseguido enviar correos, la configuracion es simple y creo que lo hago bien. Pero en mi maquina actual y siendo yo administrador, no consigo que se envien, estas son las caracteristicas :

Plesk 12.0.18
SO - Debian 7.0
Version de PHP es 5.4

He configurado DKim, domainkeys, spf y demas para que el correo entre en la bandeja de entrada. Enviado desde RoundCube 1.0.5 y en html lo consigo sin problemas en gmail y hotmail.

Cuando envio una campaña desde Phplist y hago el envio de prueba, este aparece como correcto en el envio, pero no llega al buzon. Sin embargo me llega un aviso al mail del administrador el cual os pego a continuacion :

Code: Select all
Reporting-MTA: dns; dns1.XXXXX.com
X-Postfix-Queue-ID: 8E7149C0080
X-Postfix-Sender: rfc822; mail@XXXXX.com
Arrival-Date: Tue, 17 Mar 2015 14:28:57 +0100 (CET)

Final-Recipient: rfc822; XXXXX@gmail.com
Action: failed
Status: 5.7.1
Diagnostic-Code: X-Postfix; Command rejected

Return-Path: <mail@XXXXX.com>
Received: by dns1.XXXXX.com (Postfix, from userid 33)
   id 8E7149C0080; Tue, 17 Mar 2015 14:28:57 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=XXXXX.com;
   s=mail; t=1426598937;
   bh=caIOCcxMHoQcDHTbM0N+9XhLZ+OQ+FPWr/PMV5PCDzk=;
   h=To:Subject:Date:From:List-Help:List-Unsubscribe:List-Subscribe:
    List-Owner:From;
   b=fWFZmRF7FCCZJ6OdsKqExeIxI/Q7rcAuEiBom+gVL3TjQeGee6pc9kGb4OdPlbf3A
    184/QYLXkpOVAHmMmbgkRRYtGwsgTM+88QL7ZCU7APM1OwGWPa5sBgqo3dmKJ5R9GI
    CxViouYRuCr/wjplHLIGtfRfzgdjC7jrAtNv5ido=
To: XXXXX@gmail.com
Subject: Mensaje de testeo
X-PHP-Originating-Script: 10001:class.phpmailer.php
Received: from static-98-36-25-46.ipcom.comunitel.net [XXXXX] by www.XXXXX.com with HTTP; Tue, 17 Mar 2015 14:28:56 +0100
Date: Tue, 17 Mar 2015 14:28:57 +0100
From: Admin <mail@XXXXX.com>
Message-ID: <98de2581d247dff33f0c71fc49c364dc@recuerdalobien.com>
X-Priority: 3
X-Mailer: PHPMailer 5.2.9 (https://github.com/PHPMailer/PHPMailer/)
X-phpList-version: 3.0.12
X-MessageID: 5
X-ListMember: XXXXX@gmail.com
Precedence: bulk
Bounces-To: mail@XXXXX.com
List-Help: <http://www.XXXXX.com/lists/?p=preferences&uid=5690c6a1a31a0d427dc6dd103524105a>
List-Unsubscribe: <http://www.XXXXX.com/lists/?p=unsubscribe&uid=5690c6a1a31a0d427dc6dd103524105a&jo=1>
List-Subscribe: <http://www.XXXXX.com/lists/?p=subscribe>
List-Owner: <mailto:mail@XXXXX.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit


He configurado smpt de la siguiente manera :
Code: Select all
define("PHPMAILERHOST",'smtp.XXXXX.com');
$phpmailer_smtpuser = 'mail@XXXXX.com';
$phpmailer_smtppassword = 'el pass de mi mail';


No se me ocurre que mas aportar, pero pedidme lo que necesiteis.

Muchas gracias !
Last edited by elnenpetit on 9:49pm, Tue 17 Mar, 2015, edited 1 time in total.
elnenpetit
phpList newbie
 
Posts: 3
Joined: 7:53pm, Tue 17 Mar, 2015

Re: No envia mails

Postby elnenpetit » 9:48pm, Tue 17 Mar, 2015

He encontrado una solucion "a medias".

Desactivando "Milter de Plesk (Postfix)" desde - Inicio>Herramientas y configuración>Administración de servicios

Consigo enviar correos y me llegan a la bandeja de entrada tanto en gmail como hotmail, pero...
SPF check: pass
DomainKeys check: neutral <--- Antes estaba en "pass" y ahora no
DKIM check: pass
Sender-ID check: pass
SpamAssassin check: ham


Dado que es un arte el enviar mensaje autentificados, creo que es una error perder esta particularidad.

Que opinion os merece este caso ?

Gracias !!!
elnenpetit
phpList newbie
 
Posts: 3
Joined: 7:53pm, Tue 17 Mar, 2015

Re: No envia mails en Plesk

Postby elnenpetit » 10:03pm, Tue 17 Mar, 2015

Os pego la configuracion de milter y me comentais que os parece.

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

readme_directory = no

# TLS parameters
smtpd_tls_cert_file = /etc/ssl/dns1.XXXXX.com.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = dns1.XXXXX.com
alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost.XXXXX.com, localhost, localhost.localdomain
relayhost =
mynetworks = , hash:/var/spool/postfix/plesk-pop/poplock
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains
virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual
virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox
transport_maps = , hash:/var/spool/postfix/plesk/transport
smtpd_tls_security_level = may
smtp_tls_security_level = may
smtp_use_tls = no
smtpd_timeout = 3600s
smtpd_proxy_timeout = 3600s
disable_vrfy_command = yes
smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_rbl_client zen.spamhaus.org
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
virtual_mailbox_base = /var/qmail/mailnames
virtual_uid_maps = static:30
virtual_gid_maps = static:31
smtpd_milters = , inet:127.0.0.1:12768
sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
virtual_transport = plesk_virtual
plesk_virtual_destination_recipient_limit = 1
mailman_destination_recipient_limit = 1
virtual_mailbox_limit = 0
smtpd_tls_protocols = SSLv3, TLSv1
smtpd_tls_ciphers = medium
smtpd_tls_exclude_ciphers = aNULL
smtpd_sasl_security_options = noplaintext
smtpd_tls_auth_only = yes
tls_ssl_options = NO_COMPRESSION
smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3
message_size_limit = 10240000

# OpenDKIM
non_smtpd_milters = , inet:127.0.0.1:12768
milter_default_action = accept
milter_protocol = 6
smtpd_milters = , inet:127.0.0.1:8891, inet:127.0.0.1:12768
non_smtpd_milters = $smtpd_milters
elnenpetit
phpList newbie
 
Posts: 3
Joined: 7:53pm, Tue 17 Mar, 2015


Return to Spanish forum

Who is online

Users browsing this forum: No registered users and 3 guests