Aller au contenu

Aide sur la configuration de phplist


nicco

Sujets conseillés

Salut,

Phplist 2.2.3 est disponible.

J'ai un problème sur la configuration pour gerer les mails rejettés.

Que dois je remplir en prenant en compte que je suis sur un serveur ovh.

Quand je clique sur "traiter les messages rejettés" dans phplist il signale "erreur: bounce_protocol n’est pas installé".

*/

# Message envelope. This is the email that system messages come from
# it is useful to make this one where you can process the bounces on
# you will probably get a X-Authentication-Warning in your message
# when using this with sendmail
# NOTE: this is *very* different from the From: line in a message
# to use this feature, uncomment the following line, and change the email address
# to some existing account on your system
# requires PHP version > "4.0.5" and "4.3.1+" without safe_mode
# $message_envelope = 'listbounces_AT_yourdomain';

# Handling bounces. Check README.bounces for more info
# This can be 'pop' or 'mbox'
$bounce_protocol = 'pop3';

# set this to 0, if you set up a cron to download bounces regularly by using the
# commandline option. If this is 0, users cannot run the page from the web
# frontend. Read README.commandline to find out how to set it up on the
# commandline
define ("MANUALLY_PROCESS_BOUNCES",1);

# when the protocol is pop, specify these three
$bounce_mailbox_host = 'bounce_mailbox_host';
$bounce_mailbox_user = 'bounce_mailbox_user';
$bounce_mailbox_password = 'bounce_mailbox_password';

# the "port" is the remote port of the connection to retrieve the emails
# the default should be fine but if it doesn't work, you can try the second
# one. To do that, add a # before the first line and take off the one before the
# second line

$bounce_mailbox_port = "110/pop3";
#$bounce_mailbox_port = "110/pop3";

# when the protocol is mbox specify this one
# it needs to be a local file in mbox format, accessible to your webserver user
$bounce_mailbox = '/var/qmail/queue/bounce';

# set this to 0 if you want to keep your messages in the mailbox. this is potentially
# a problem, because bounces will be counted multiple times, so only do this if you are
# testing things.
$bounce_mailbox_purge = 1;

# set this to 0 if you want to keep unprocessed messages in the mailbox. Unprocessed
# messages are messages that could not be matched with a user in the system
# messages are still downloaded into PHPlist, so it is safe to delete them from
# the mailbox and view them in PHPlist
$bounce_mailbox_purge_unprocessed = 1;

# how many bounces in a row need to have occurred for a user to be marked unconfirmed
$bounce_unsubscribe_threshold = 5;


/*

Merci de vos tuyaux.

[Edit captain_torche]Merci d'utiliser la balise CODEBOX pour les extraits de code longs

Lien vers le commentaire
Partager sur d’autres sites

bonjour,

Apres avoir créé un email 'noreply_AT_domain.com' ayant pour mot de passe 'password',

est ce que les parametres suivants conviendraient?

$message_envelope = 'noreply_AT_domain.com';
$bounce_protocol = 'pop';
define ("MANUALLY_PROCESS_BOUNCES",1);
$bounce_mailbox_host = 'ns0.ovh.net';
$bounce_mailbox_user = 'noreply%domain.com';
$bounce_mailbox_password = 'password';
$bounce_mailbox_port = "995/pop3/notls";

A+

Lien vers le commentaire
Partager sur d’autres sites

Il faut remplacer $bounce_protocol = 'pop3'; par $bounce_protocol = 'pop';

pop3 n'est pas un protocole reconnu par phplist. C'est soit pop soit mbox :)

Lien vers le commentaire
Partager sur d’autres sites

Bonjour :blush:

y'a un bug pour certains dans processbounces.php

il faut changer une ligne à cet endroit en commentant $port = '110/pop3/notls'; :

function processPop ($server,$user,$password) {

$port = $GLOBALS["bounce_mailbox_port"];

# if (!$port) {

# $port = '110/pop3/notls';

# }

De plus, je te conseille de remplacer

$bounce_mailbox_port = "995/pop3/notls";

par

$bounce_mailbox_port = "110/pop3";

Cordialement

Claude

Modifié par captain_torche
Lien vers le commentaire
Partager sur d’autres sites

Il faut remplacer $bounce_protocol = 'pop3'; par $bounce_protocol = 'pop';

pop3 n'est pas un protocole reconnu par phplist. C'est soit pop soit mbox :)

Merci Dan, je suis un idiot, je n'ai plus "erreur: bounce_protocol n’est pas installé".

Bonjour :blush:

y'a un bug pour certains dans processbounces.php

il faut changer une ligne à cet endroit en commentant $port = '110/pop3/notls'; :

function processPop ($server,$user,$password) {

$port = $GLOBALS["bounce_mailbox_port"];

# if (!$port) {

# $port = '110/pop3/notls';

# }

De plus, je te conseille de remplacer

$bounce_mailbox_port = "995/pop3/notls";

par

$bounce_mailbox_port = "110/pop3";

Cordialement

Claude

Ligne décommenté j'ai : Ne peut créer une connexion POP3 avec nsxxxxx.ovh.net: Can't open mailbox {nsxxxxx.ovh.net:110/pop3/notls}INBOX: invalid remote specification

Ligne commenté j'ai : Ne peut créer une connexion POP3 avec nsXXXXX.ovh.net: Too many login failures

Lien vers le commentaire
Partager sur d’autres sites

Veuillez vous connecter pour commenter

Vous pourrez laisser un commentaire après vous êtes connecté.



Connectez-vous maintenant
×
×
  • Créer...