Cant send smtp emails

Hello

Ive configured phplist on my localhost (213.192.93.130).
Ive domain redirected to that ip but email server stays on feniks.bhp.home.pl
Its hosting company home.pl
feniks-bhp.home.pl / port dla SSL: 995
feniks-bhp.home.pl / port dla SSL: 465
feniks-bhp.home.pl / port dla SSL: 993

Ive aded to config.php as follows:
define(‘PHPMAILERHOST’, ‘feniks-bhp.home.pl’);
$phpmailer_smtpuser = ‘promocje@yason.pl’;
$phpmailer_smtppassword = ‘xxx’;
$phpmailer_smtpsecure = ‘ssl’;
$phpmailer_smtpport = ‘465’;

No mails even test ones are sent;/

B4 that had no smtp conf and recieved:
promocje@yason.pl: host feniks-bhp.home.pl[62.129.238.249] said: 550 5.1.8
Sender address rejected, please authenticate (in reply to RCPT TO command)
Reporting-MTA: dns; Mac-Pro-feniks.local
X-Postfix-Queue-ID: 7EE264976AC
X-Postfix-Sender: rfc822; it@yason.pl
Arrival-Date: Thu, 10 Mar 2016 14:23:50 +0100 (CET)

Final-Recipient: rfc822; promocje@yason.pl
Action: failed
Status: 5.1.8
Remote-MTA: dns; feniks-bhp.home.pl
Diagnostic-Code: smtp; 550 5.1.8 Sender address rejected, please authenticate

Have no clue whats going on any help ?

@yason You can enable smtp debugging in your config.php file. Look in
config_extended.php for the line to use, then copy that to your config.php.

If you then send a test message there will be some debug output that might show what is wrong.

@duncanc

Thanks for reply.

Did as you said and got:

CLIENT -> SERVER: EHLO yason.pl

SMTP ERROR: EHLO command failed:

CLIENT -> SERVER: HELO yason.pl

CLIENT -> SERVER: AUTH LOGIN

SMTP ERROR: AUTH command failed: 250 v020061.home.net.pl Hello
host-130-93-192-213.terminus.pl [213.192.93.130], pleased to meet you

SMTP Error: Could not authenticate.

CLIENT -> SERVER: QUIT

SMTP ERROR: QUIT command failed: 334 VXNlcm5hbWU6

SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Btw did same config on my own VPS and its working just on that MAC configuration it doesnt;/

Same debug on working VPS while sending test message with same config says:
Had to delete links and @ cose 2 links are allowed for new users per post :slight_smile:

CLIENT -> SERVER: EHLO animatedpl

CLIENT -> SERVER: AUTH LOGIN

CLIENT -> SERVER: cHJvbW9jamVAeWFzb24ucGw=

CLIENT -> SERVER: OUxpdHJvd01sZWth

CLIENT -> SERVER: MAIL FROM:<promocjeyason.pl>

CLIENT -> SERVER: RCPT TO:<ityason.pl>

CLIENT -> SERVER: DATA

CLIENT -> SERVER: Received: from host-130-93-192-213.terminus.pl
[213.192.93.130] by animatedpl with HTTP; Fri, 11 Mar 2016 08:01:23
+0100

CLIENT -> SERVER: Date: Fri, 11 Mar 2016 08:01:23 +0100

CLIENT -> SERVER: To: it@yason.pl

CLIENT -> SERVER: From: =?UTF-8?Q?Yason_Sp=2E_z_o=2Eo=2E_Sp=C3=B3=C5=82ka_komandytowa?= <promocjeyason.pl>

CLIENT -> SERVER: Subject: asdasdasd

CLIENT -> SERVER: Message-ID: 909b78876a308cb254b3bb3d14154229@animated.pl>

CLIENT -> SERVER: X-Mailer: PHPMailer 5.2.14

CLIENT -> SERVER: X-phpList-version: 3.2.4

CLIENT -> SERVER: X-MessageID: 5

CLIENT -> SERVER: X-ListMember: it@yason.pl

CLIENT -> SERVER: Precedence: bulk

CLIENT -> SERVER: Bounces-To: promocje@yason.pl

CLIENT -> SERVER: List-Help:

CLIENT -> SERVER: List-Unsubscribe:

CLIENT -> SERVER: List-Subscribe:

CLIENT -> SERVER: List-Owner: mailto:promocjeyasonpl

CLIENT -> SERVER: MIME-Version: 1.0

CLIENT -> SERVER: Content-Type: multipart/alternative;

CLIENT -> SERVER: boundary=“b1_909b78876a308cb254b3bb3d14154229”

CLIENT -> SERVER:

CLIENT -> SERVER: This is a multi-part message in MIME format.

CLIENT -> SERVER:

CLIENT -> SERVER: --b1_909b78876a308cb254b3bb3d14154229

CLIENT -> SERVER: Content-Type: text/plain; charset=UTF-8

CLIENT -> SERVER: Content-Transfer-Encoding: quoted-printable

@yason I don’t quite understand what you are trying to do, but is the phplist configuration for smtp exactly the same on both machines?

Possibly the mail server you are trying to use allows only connections that are local to itself.

@duncanc

We have home.pl hosting where domain is parked yason.pl
We use home.pl as our mail server. - feniks-bhp.home.pl

The domain itself is redirected to our local mac server.
yason.pl A 1 godzina 213.192.93.130

On that server and ip yason.pl shop is located and our phplist.

And i cant send emails from that configuration.

The VPS i my personal server whitch is on animated.pl.
Its different hosting called polserver and have nothing to do with home.pl
While using same config i can send emails via phplist from that VPS.

What im trying to do is to have mailing.yason.pl whitch have phplist and is located on my company local server on 213.192.93.130.
But it does not send emails at all :slight_smile:

From the first set of debug lines the EHLO appears to be failing.
What level of debug are you using? If you set it to trace everything then the problem might become clearer.