How set“ $message_envelope”?

my php-5.4.35 phpList - v3.2.5

config.php
if set like this,it could be send email success;

define(‘PHPMAILERHOST’, ‘smtp.domain.com’);
$phpmailer_smtpuser = ‘domain01@domain.com’;
$phpmailer_smtppassword = ‘password’;

$message_envelope = ‘domain01@domain.com’;
$bounce_protocol = ‘pop’;
define(‘MANUALLY_PROCESS_BOUNCES’, 1);
$bounce_mailbox_host = ‘pop.domain.com’;
$bounce_mailbox_user = ‘domain01@domain.com’;
$bounce_mailbox_password = ‘password’;
$bounce_mailbox_port = “995/pop3/ssl/novalidate-cert”;
$bounce_mailbox_folder = ‘INBOX’;
$bounce_mailbox = ‘/var/spool/mail/listbounces’;
$bounce_mailbox_purge = 1;
$bounce_mailbox_purge_unprocessed = 1;
$bounce_unsubscribe_threshold = 5;

but set like this,it send email failed

define(‘PHPMAILERHOST’, ‘smtp.domain.com’);
$phpmailer_smtpuser = ‘domain01@domain.com’;
$phpmailer_smtppassword = ‘password’;

$message_envelope = ‘domain02@domain.com’;
$bounce_protocol = ‘pop’;
define(‘MANUALLY_PROCESS_BOUNCES’, 1);
$bounce_mailbox_host = ‘pop.domain.com’;
$bounce_mailbox_user = ‘domain02@domain.com’;
$bounce_mailbox_password = ‘password’;
$bounce_mailbox_port = “995/pop3/ssl/novalidate-cert”;
$bounce_mailbox_folder = ‘INBOX’;
$bounce_mailbox = ‘/var/spool/mail/listbounces’;
$bounce_mailbox_purge = 1;
$bounce_mailbox_purge_unprocessed = 1;
$bounce_unsubscribe_threshold = 5;


How can I set “ $message_envelope”?

Tanks for help.

Lucas

@zaopao The email address that you use must be valid for the domain, and must exist. You cannot just make up an email address and use that.

I’m sure the email address that I use is valid for the domain

@zaopao Try enabling smtp debug in your config file (if it is not there then look in config_extended.php for an explanation and copy the line).
Send a test message and there will be some output at the top of the page. That might explain what the problem is.

config file

define(‘PHPMAILERHOST’, ‘smtp.domain.com’);
$phpmailer_smtpuser = ‘domain01@domain.com’;
$phpmailer_smtppassword = ‘*******’;

$message_envelope = ‘domain02@domain.com’;

define(‘MANUALLY_PROCESS_BOUNCES’, 1);

$bounce_mailbox_host = ‘pop.domain.com’;
$bounce_mailbox_user = ‘domain02@domain.com’;
$bounce_mailbox_password = ‘******’;

$bounce_mailbox_port = “995/pop3/ssl/novalidate-cert”;

//cartella della mail in cui leggere le mail bounced
$bounce_mailbox_folder = ‘INBOX’;

$bounce_mailbox = ‘/var/spool/mail/listbounces’;


LOG OF EVENTS

Error sending email to test@domain.com The following From address failed:domain02@domain.com : MAIL FROM command failed,Mail from must equal authorized user ,553,SMTP server error: MAIL FROM command failed Detail: Mail from must equal authorized user SMTP code: 553SMTP server error: MAIL FROM command failed Detail: Mail from must equal authorized user SMTP code: 553

@zaopao That is saying the email address bounce@exuewen.com is not authorised to send email. You will need to find out from the hosting company how to resolve that.

in this case I think I use smtpuser domain01@domain.com send email.

why it say domain02@domain.com is not authorised to send email.?

I just want use domain02@domain.com for receive。

My problem is phplist take the message_envelope as “from email”
but I just want use message_envelope for “”reply-to email“”

How can I do?

Thanks

Lucas

@zaopao I don’t think that phplist supports using reply-to.

Yes,I understand

I mean how set config.php “ $message_envelope”?

the “ $message_envelope” email must be the same as smtpuser?

when I use “ $message_envelope” email not the same as smtpuser,it send failed.

but the “ $message_envelope” email the same as smtpuser,it send success.

I don’t know if I describe the problem clearly.

@zaopao Sorry but there is nothing more that I can add to this. You need to raise the problem with your hosting company.

Thanks for your help.