WordPress.org

Ready to get started?Download WordPress

Forums

cat2email and WP Mailman integration (2 posts)

  1. robling
    Member
    Posted 7 years ago #

    I can't find docs or how to make work the 'cat2email' and "WP Mailman Integration".
    could someone who has either working give me some clues or a reference?
    thank you very much.

  2. emhouston
    Member
    Posted 7 years ago #

    I have it working on my site and set it up as follows

    I'd set up your mailman list first.

    for our example we will say the site is domain.com
    and the listname is stories.

    Go into Mailman (via cpanel or whatever) and create a new list "stories". You list name will be "stories@domain.com

    The following is a recommendation only--you don't absolutely have to do this part but it might confuse subscribers if you don't.

    Do not set the list up as announce only. Your blog will be the only sender but only the list administrator or moderator can post to an "announce only" list. You need your blog to be able to send to the list.

    Go to the Mailman General Settings and make sure the following two options are set to "YES"

    Hide the sender of a message, replacing it with the list address (Removes From, Sender and Reply-To fields)= Y

    Should any existing Reply-To: header found in the original message be stripped? If so, this will be done regardless of whether an explict Reply-To: header is added by Mailman or not. = yes

    Go to "Non-Digest Options" tab
    Under the setting for
    Footer added to mail sent to regular list members
    (Details for msg_footer)

    Which normally looks like this
    _______________________________________________
    %(real_name)s mailing list
    %(real_name)s@%(host_name)s
    %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

    Remove the second line (which is the "send messages to address")

    You have to leave that address in the headers to appease the spam blockers.

    Do the same for digest-mode options (if you want to use digest)

    Edit your "General list information" page and welcome announcement to remove all references on how to post to the list.

    Edit your welcome email text file to remove the section below

    To post to this list, send your email to:

    %(emailaddr)s

    Change any other settings you want.

    Install the Cat2email plugin

    In the section where you map your category to an email list point the desired category (multiple categories can be mapped to the same list), enter "stories@domain.com"

    At this point, what I did was create a "Subscription" page (using default page template) where I listed the description of each list and the subscribe form for each list.

    Below is an example of my subscribe form. (substitute your domain name and listname of course)

    Note that for mailman, the "_" replaces the normal @

    <H2><B>Subscribe to Stories</b></H2>
    <center><br>

    <FORM Method="POST" action="http://mail.domain.com/mailman/subscribe/stories_domain.com">
    <table border="0" width="150" bgcolor="9999dd">
    <tr>
    <td width="60"><INPUT type="Text" name="email" size="10" value=""></td>
    <td width="90"><INPUT type="Submit" name="email-button" value="Subscribe"></td>
    </tr>
    </table>
    </FORM></center>
    <hr ALIGN="center" >

    subscribe yourself to test it out and see if all the emails and pages read ok.

    Hope it works for you.

Topic Closed

This topic has been closed to new replies.

About this Topic