SMTP Configuration won't work

I’m using phpList 3.3.6 with this configuration:

define(“PHPMAILER”,1);
define(“PHPMAILERHOST”,‘he01.pro-webs.de’);
$phpmailer_smtpuser = ‘no-reply@digitale-fotografien.com’;
$phpmailer_smtppassword = ‘123456’;

But it won’t send any message out. No test message nothing. Without setuped SMTP it send messages out.
I tried the same date into outlook and it works fine. So the data are correct.

Need help :frowning:

@Pro-Webs.de You can enable the smtp debug setting in config.php then send a test email. There will be some output at the top of the page that should explain what is not working.

Mail.log said:
Dec 11 17:44:02 rs235152 postfix/smtpd[7021]: 12EEEBF242: client=rs235152.rs.hosteurope.de[91.250.82.51], sasl_method=LOGIN, sasl_username=info@digitale-fotografien.com
Dec 11 17:44:02 rs235152 postfix/smtpd[7021]: 12EEEBF242: reject: RCPT from rs235152.rs.hosteurope.de[91.250.82.51]: 550 5.1.1 noreply@digitale-fotografien.com: Recipient address rejected: User unknown in virtual mailbox table; from=info@digitale-fotografien.com to=noreply@digitale-fotografien.com proto=ESMTP helo=
Dec 11 17:44:02 rs235152 postfix/smtpd[5921]: connect from rs235152.rs.hosteurope.de[91.250.82.51]
Dec 11 17:44:02 rs235152 postfix/smtpd[5921]: 1665CBF243: client=rs235152.rs.hosteurope.de[91.250.82.51], sasl_method=LOGIN, sasl_username=info@digitale-fotografien.com
Dec 11 17:44:02 rs235152 postfix/smtpd[5921]: 1665CBF243: reject: RCPT from rs235152.rs.hosteurope.de[91.250.82.51]: 550 5.1.1 noreply@digitale-fotografien.com: Recipient address rejected: User unknown in virtual mailbox table; from=info@digitale-fotografien.com to=noreply@digitale-fotografien.com proto=ESMTP helo=
Dec 11 17:44:02 rs235152 postfix/smtpd[7021]: disconnect from rs235152.rs.hosteurope.de[91.250.82.51] ehlo=1 auth=1 mail=1 rcpt=1/2 quit=1 commands=5/6
Dec 11 17:44:02 rs235152 postfix/smtpd[5921]: disconnect from rs235152.rs.hosteurope.de[91.250.82.51] ehlo=1 auth=1 mail=1 rcpt=1/2 quit=1 commands=5/6
Dec 11 17:44:16 rs235152 postfix/smtpd[7021]: connect from unknown[116.85.59.250]
Dec 11 17:44:16 rs235152 postfix/smtpd[7021]: NOQUEUE: reject: RCPT from unknown[116.85.59.250]: 450 4.7.25 Client host rejected: cannot find your hostname, [116.85.59.250]; from=bounce-248-11043992-656-248@xsfdq.top to=ebay@digitale-fotografien.com proto=ESMTP helo=<server1.domain.com>
Dec 11 17:44:17 rs235152 postfix/smtpd[7021]: NOQUEUE: reject: RCPT from unknown[116.85.59.250]: 450 4.7.25 Client host rejected: cannot find your hostname, [116.85.59.250]; from=bounce-248-11050112-656-248@xsfdq.top to=info@digitale-fotografien.com proto=ESMTP helo=<server1.domain.com>
Dec 11 17:44:17 rs235152 postfix/smtpd[7021]: disconnect from unknown[116.85.59.250] ehlo=1 mail=2 rcpt=0/2 data=0/2 rset=1 quit=1 commands=5/9
Dec 11 17:44:36 rs235152 postfix/smtpd[5921]: warning: hostname 179-228-162-193.user.vivozap.com.br does not resolve to address 179.228.162.193: Name or service not known
Dec 11 17:44:36 rs235152 postfix/smtpd[5921]: connect from unknown[179.228.162.193]
Dec 11 17:44:39 rs235152 postfix/smtpd[5921]: warning: unknown[179.228.162.193]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Dec 11 17:44:39 rs235152 postfix/smtpd[5921]: disconnect from unknown[179.228.162.193] helo=1 auth=0/1 quit=1 commands=2/3

It is really awefull to post here stmp. if i get every try a error message beause the post have links …

CLIENT -> SERVER: EHLO he01.pro-webs.de
CLIENT -> SERVER: AUTH LOGIN
CLIENT -> SERVER: bm8tcmVwbHlAZGlnaXRhbGUtZm90b2dyYWZpZW4uY29t
CLIENT -> SERVER: b1RwZ3FtaGRPdQ==
CLIENT -> SERVER: MAIL FROM:<info@digitale-fotografien.com>

CLIENT -> SERVER: RCPT TO:<info@pro-webs.de>

SMTP ERROR: RCPT TO command failed: 553 5.7.1 <info@digitale-fotografien.com>: Sender address rejected: not owned by user no-reply@digitale-fotografien.com
CLIENT -> SERVER: QUIT

SMTP Error: The following recipients failed: info@pro-webs.de: <info@digitale-fotografien.com>:

Sender address rejected: not owned by user no-reply@digitale-fotografien.com

Sorry for that count of unnecessary posts …
I don’t know why he tell me that he want to send via info mail … on the compain setting and also on the message in From is no-reply written …

Also tried to set this:
define(‘USE_ADMIN_DETAILS_FOR_MESSAGES’,0);

without success.

This should explain the problem to you. Is no-reply@digitale-fotografien.com a real email account?

Yes it is a real account. As I said I have also tried the account data on outlook and it works. However as I see it try to send the mail over info and not over no-reply? I don’t understand why. I have explicit written no-reply in campain konfiguration and also on the message creation in FROM field.

So that looks like a bug on phplist?!

Nope. We have our own server its not hotmail.

@Pro-Webs.de when copying/pasting the output use the </> button on the toolbar so that it is treated as plain text.
The MAIL FROM address is the value of $message_envelope in the config.php file.

I think that you need to raise this with your hosting company to find out why it is being rejected.

1 Like

I’m not sure what you mean. I don’t have set a value for $message_envelope in config.php file.

Now i have done this and it look like it works now.

But i still don’t understand why this is necessary and is placed on topic “Settings for handling bounces” of phpList and not by smtp settings … if it is required for…

However thanks for your help :slight_smile: