Sorry if this may be already discussed or if this is the wrong mailing list for this information. I thought I'd share this bit of information if there were others in the situation as noted in the subject.
The current method of doing email with laconica is fine if you have direct access to the mail server. However for laconica admins who are on a hosted platform or do not have direct access to a mail server, this poses a problem. My current solution is very simple - using a mail pull to get the email into laconica. For my setup and example, it's based on a linux webserver and utility. That said I assume any mail pull software on any platform that allows passing the email to another application would work. - in laconica do your normal setup of email. You'll need to make sure the send to email address is to a server you can have IMAP or POP3 access. - I'm using the the getmail 4 software (http://pyropus.ca/software/getmail/) - Create a .getmail/getmailrc configuration file (in this example, I'm pulling email using IMAP, getmail can also do POP3) as follows : [retriever] type = SimpleIMAPRetriever server = imapmail.server.com username = imapuser password = imappwd [destination] type = Maildir path = /home/www-data/Maildir/ [filter] type = Filter_external path = /var/www/laconica/scripts/maildaemon.php [options] delete = True - NOTE: getmail will pull the email and deliver it to a local mailbox (in the above example, in a Maildir style mailbox). I haven't looked into just /dev/null the emails but I would assume that will ultimately be the best solution. - finally create a scheduled job to run the getmail. The following example will pull every 5 minutes. */5 * * * * getmail -g /home/www-data/.getmail/getmailrc That's it. I'm still thinking of writing a php wrapper around maildaemon.php that does the IMAP/POP3 pull for a pure php solution instead of having to use a utility...need to find time :) thanks _______________________________________________ Laconica-dev mailing list [email protected] http://mail.laconi.ca/mailman/listinfo/laconica-dev
