bouncehandling from cron

Once you've installed phpList... ask questions here!
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.

bouncehandling from cron

Postby ELMIT » 3:31pm, Fri 09 Jan, 2015

I must miss something. I tried:

config.php:
$message_envelope = 'listbounce@gmail.com';
define ("MANUALLY_PROCESS_BOUNCES",0);

# when the protocol is pop, specify these three
$bounce_mailbox_host = 'pop.gmail.com';
$bounce_mailbox_user = 'listbounce';
$bounce_mailbox_password = '**********';

$bounce_mailbox_port = "995/pop3/ssl";
# above requires to change /admin/processbounces.php
# function processPop ($server,$user,$password) {
# $port = $GLOBALS["bounce_mailbox_port"];
# #if (!$port) {
# #$port = '110/pop3/notls';
# $port = '995/pop3/ssl';
# #}
done!

$bounce_mailbox = '/var/spool/mail/listbounce';
$bounce_mailbox_purge = 1;
$bounce_unsubscribe_threshold = 5;


crontab:
30 * * * * /usr/bin/php /var/www/lists/admin/index.php -pprocessbounce -c/var/www/lists/config/config.php >/dev/null

Since nothing happens, I tried from the commandline directly:
/usr/bin/php /var/www/lists/admin/index.php -pprocessbounce -c/var/www/lists/config/config.php

Error: processbounce does not process commandline

What am I missing?
ELMIT
PL Geek
 
Posts: 66
Joined: 7:33am, Fri 15 Jan, 2010
Location: Taipei, Taiwan

Re: bouncehandling from cron

Postby ELMIT » 3:51pm, Fri 09 Jan, 2015

Found it:

sudo php5enmod imap
ELMIT
PL Geek
 
Posts: 66
Joined: 7:33am, Fri 15 Jan, 2010
Location: Taipei, Taiwan

Re: bouncehandling from cron

Postby ELMIT » 8:37am, Sat 10 Jan, 2015

I am still not there ;-(

While bounce handling works now with
define ("MANUALLY_PROCESS_BOUNCES",1);
Then I can start on Firefox bouncing, but it will stop with the next time out.

define ("MANUALLY_PROCESS_BOUNCES",0);
does not do anything.

If I try to use it from the command line:
/usr/bin/php /var/www/lists/admin/index.php -pprocessbounce -c/var/www/lists/config/config.php

I get:
Error: processbounce does not process commandline

What am I still missing????
ELMIT
PL Geek
 
Posts: 66
Joined: 7:33am, Fri 15 Jan, 2010
Location: Taipei, Taiwan

Re: bouncehandling from cron

Postby duncanc » 10:30am, Sat 10 Jan, 2015

The page name is "processbounces" not "processbounce".
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: bouncehandling from cron

Postby ELMIT » 10:38am, Sat 10 Jan, 2015

Thank you so much, ...
ELMIT
PL Geek
 
Posts: 66
Joined: 7:33am, Fri 15 Jan, 2010
Location: Taipei, Taiwan


Return to Questions and Problems after Installing

Who is online

Users browsing this forum: No registered users and 4 guests

cron