Create administrator who is not "super" admin. Add name of user to commandline_users in config.php
Define tmpdir in config.php to /server/path/to/lists/tmp
Leave MANUALLY_PROCESS_RSS,1 and MANUALLY_PROCESS-QUEUE,1 in config.php
Also in config.php, set MAILQUEUE_BATCH_SIZE,250 and MAILQUEUE_BATCH_PERIOD,3600 and MAILQUEUE_THROTTLE,5 to send 250 messages per hour with 5 seconds between each one.
cronjobs:
[get rss]
php /server/path/to/lists/admin/index.php page=getrss config=/server/path/to/lists/config/config.php login=adminuser password=password
[
if getrss is run frequently (more often than every 3 hours, to help order items in the message, where they are ordered by when they were added by getrss, not by their original publication date), then reduce the cache time:
In admin/onyxrss/onyx-rss.php, change
$this->conf['cache_time'] = 180;
to
$this->conf['cache_time'] = 1;
]
[process queue]
php /server/path/to/lists/admin/index.php page=processqueue config=/server/path/to/lists/config/config.php login=adminuser password=password
RSS:
Define ENABLE_RSS,1 in config.php
Add RSS feed(s) to list.
Create RSS message template: include "[RSS]" in body.
In Format tab, select HTML.
In Scheduling tab, select frequency (which will be matched to user RSS frequency; this must be done separately for each frequency). Set the embargo time before cron jobs to get rss and process queue.
In Lists tab, select list(s) for receipt and send.
It should all be automatic now, with cronjobs getting the RSS and processing the queue. To ensure that a message goes out regularly (if there is new material in the RSS feed), set the minimum items to 0 on the administrative configuration page.
SMTP (better for HTML):
Define PHPMAILER,1 and PHPMAILERHOST,'localhost'
Leave $phpmailer_smtpuser and $phpmailer_smtppassword commented (and set to '' for security)
Miscellaneous fixes/adjustments:
In database:
• Allow NULL in to, replyto, from, and subject columns.
• Set default htmlemail to 1 and rssfrequency to daily.
• SQL query to set rssfrequency for all existing users:
UPDATE 'phplist_user_user' SET 'rssfrequency' = 'daily'
[This is simply to allow a single message (i.e., daily) and to ensure every subscriber is set to receive it.]
In admin/getrss.php:
Limit SQLqueries to 255 characters (0-254): Change
Sql_Query(sprintf('select * from %s where title = "%s" and link = "%s"', $tables["rssitem"], addslashes($item["title"]), addslashes($item["link"])));
to
Sql_Query(sprintf('select * from %s where title = "%s" and link = "%s"', $tables["rssitem"], substr(addslashes($item["title"]),0,254), substr(addslashes($item["link"]),0,254)));
In rssitem table:
Set link and title fields to 255 chars (corresponding to above change).