[SOLVED] v3 and Mandrill smtp servers (with OVH hosting)

Questions & Problems about Installing or Upgrading with Version 3 phpList.
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation.

[SOLVED] v3 and Mandrill smtp servers (with OVH hosting)

Postby ComputingFroggy » 3:27pm, Thu 26 Feb, 2015

Hi,

I have used phplist before with fairly small numbers of subscribers (a couple of thousands).

For a new setup with 18 thousands subsribers, I have installed version 3.
As there's a huge number of emails, to be sent I wanted to use a smtp server instead of the mail function.
I can not manage to get it to work: not with the smtp of my host (OVH) nor with a dedicated smtp server (from mandrill.com).

Could anybody share the config to use a smtp server from mandrill.com (or any other similar service) ?
I can not use the mail function as my hosting service (OVH) limits drastically the numbers of emails being sent ... and I can use the bounce feature either. I am quite desperate for a reliable smtp solution (and possibily not too expensive hence mandrill.com).

Thanks in advance for your help,
L@u
Last edited by ComputingFroggy on 10:01am, Thu 05 Mar, 2015, edited 1 time in total.
ComputingFroggy
phpLister
 
Posts: 12
Joined: 3:12pm, Thu 26 Feb, 2015

Re: v3 and smtp servers

Postby ComputingFroggy » 7:16pm, Sat 28 Feb, 2015

Has anybody managed to get the v3 working with smtp servers ?

If this is the case, could you share your config ?

Cheers,
L@u
ComputingFroggy
phpLister
 
Posts: 12
Joined: 3:12pm, Thu 26 Feb, 2015

Re: v3 and smtp servers

Postby ComputingFroggy » 5:55pm, Wed 04 Mar, 2015

Could any body help me with this ?

I have 18 000 emails to send ... and so far there are only 567 that are gone in 2 days: it's going to take me weeks (even months) to get through the list, because of my ISP (OVH) limitations.

That's why I took a mandrill.com account ... but it's no use as I can not connect to it: any clues ?
I can use another service than mandrill if it works better using phpList, just let me know.

Cheers,
L@u
ComputingFroggy
phpLister
 
Posts: 12
Joined: 3:12pm, Thu 26 Feb, 2015

Re: v3 and smtp servers

Postby danwaterloo » 11:50pm, Wed 04 Mar, 2015

I think Mandrill has the smtp and api instructions in your account there. (Mandrill)

Basically, you would need to get those settings, and enter them into your config.php file (the basic config.php does not have the parameters that you need to use Mandrill.). At a minimum, you could copy the needed parameters from the config_extended.php, and paste/edit them in the config.php file.

What you should be looking at is "smtp server", "port number", username, user password.

I do believe they limit the number you can send... until you build a history using your list...

Dan
danwaterloo
PL Master
 
Posts: 276
Joined: 3:51am, Wed 30 Oct, 2013
Location: http://www.phplistsupport.com

[SOLVED] : v3 and smtp servers

Postby ComputingFroggy » 8:07am, Thu 05 Mar, 2015

Thanks Dan for your answer ... but that was exactly what I had done.

But eventually, I found the correct setting: looking at Mandrill help instructions, I realised there was several ports to be tested as ISPs might block some.
Of course, the 2 ports I tried were the ones blocked (25 and 587) so I thought the problem was something else.
Using the port 2525 worked ! ! :D

So I give here the settings for Mandrill and OVH (if that can help someone else) ... which are quite straight forward once, you know the correct port.

Code: Select all
define("PHPMAILERHOST",'smtp.mandrillapp.com');
$phpmailer_smtpuser = 'mymandril_user_email';
$phpmailer_smtppassword = 'my_mandril_API_Key';
define('PHPMAILERPORT',2525);


As a side note, it is true that Mandrill will limit the number being sent per hour ... which is a good thing to avoid being blacklisted. As you build your history (and your mail server become "warmer"), the number should increase.

I still don't get the bounce message back into phpList (which was one of the reason of using Mandrill), but I am going to look into this now ... and I will post my findings.

Thanks for this nice version of phpList: I was getting desperate to get it working ... now it's done, just setting the right port ! The version 3 is so much better than version 2, it's a pleasure to use.
Thanks again for the good work.
ComputingFroggy
phpLister
 
Posts: 12
Joined: 3:12pm, Thu 26 Feb, 2015

Mandrill Config (was Re: v3 and smtp servers)

Postby ComputingFroggy » 9:59am, Thu 05 Mar, 2015

More information about Mandrill configuration.

You will need to configure your sending domain (menu Settings Domains=> Sending Domains) to improve deliverability. You will setup DKIM and SPF for your domain.
And then change the Custom SPF/DKIM Signing Domain, on the page Settings Sending defaults.

To enable bounce management, you will need to create a subdomain and then add this subdomain to Mandrill config (menu Settings Domains=> Tracking & Return Path Domains).
You will need to add a Cname value in the DNS settings for that new subdomain (and also remove all value that might interfere, like A value).

I have also added my bounce address in the field Forward bounce notifications to this address, of the page Settings Sending defaults. Not sure whether this is required ... but I thought it wouldn't hurt.

I got the bounces into phpList that way ! ! :D

So now, I just have to read the phpList documentation to know how to deal with the bounces !
I am glad to get phpList working correctly.

I hope this helps someone else to get his configuration right.

Cheers,
L@u
ComputingFroggy
phpLister
 
Posts: 12
Joined: 3:12pm, Thu 26 Feb, 2015


Return to Installing and Upgrading

Who is online

Users browsing this forum: No registered users and 2 guests

cron