2 problems with phplist

Status
Not open for further replies.

freefunn

New Member
Messages
2
Reaction score
0
Points
0
Hello. I wanted to create a site with subscribers but i hadn't used phplist in the past so i started testing it frist but i have 2 problems.

1) bounces
when i change $message_envelope in phplist nothing happens. I sended a message to myseld and the message_envelope is still myaccount@lotus.x10hosting.com . The only thing i can imagine from what i read in php list config file is that php safe mode is on. But i can't check it because phpinfo() doesnt seem to work :rolleyes: . If that's the case and i can't get the bounces to the mail account i want is there a way to access myaccount@lotus.x10hosting.com from outside? i mean by typing something in there :
$bounce_mailbox_host
$bounce_mailbox_user
$bounce_mailbox_password

2) mail queues.

I searched a bit in the form and i saw a reply that the mail limit is 100 mails per hour ( can i get a confirmation for that because the post was a bit old. Not that i will havethat many subscribers but you never know :p)

So i changed the cron job to 1 hour and then went to configuration file and changed those settings (i found the info here
http://docs.phplist.com/PhpListConfigSendRate.html .As i told you at the start its the 1st time i use phplist so i am really sorry about my n00b questions :/ ).

define("MAILQUEUE_BATCH_SIZE",0);
define("MAILQUEUE_BATCH_PERIOD",3600);
define('MAILQUEUE_THROTTLE',40);
* 1 * * * /usr/local/cpanel/3rdparty/bin/php -q /home/myaccount/public_html/phplist/admin/index.php -pprocessqueue -c/home/myaccount/public_html/phplist/config/config.php >/dev/null

and i tried a small list of 6 mails (4 valid that belongs to myself and some friends and 2 invalid because i made that list yesterday to check the bounces) . I press send and then i went to process queue in php list and i got an error that i have exceeded the amount of available resources per hour for my domain. What am i doing wrong
:frown:
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
You have numerous things wrong with the cron job: Use /usr/local/bin/php instead (or just php). Do not specify -p or -c (-p doesn't even exist, and we disallow -c so that you cannot get around our php.ini settings)

Setting the envelope sender via -f in sendmail should work, as I do that myself in my test scripts which check to ensure that emails work properly on the free servers.

Our limits are around 100/hour. We have other throttles and systems in place, but I cannot go into that in-depth as it would give spammers the knowledge they need in order to get around our system.
 

freefunn

New Member
Messages
2
Reaction score
0
Points
0
The thing is that i didn't write the cron job manually :S .Softaculous did it during the phplist installation . (And i made a mistake at the time it's 0 * * * * . Didn't copy paste that part :s)

I changes the /usr/local/cpanel/3rdparty/bin/php to php . I noticed that i had 60 (one every minute) failure messages in my mail
"/bin/sh: /usr/local/cpanel/3rdparty/bin/php: No such file or directory"

About the -p part doesn't exist and the -c is not allowed. It's exactly what it says here http://docs.phplist.com/SetupCronJob.html . How should i do it then? :/
 
Last edited:
Status
Not open for further replies.
Top