FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Integrate With A Mailing List
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Integrate With A Mailing List [message #31780] Wed, 17 May 2006 22:34 Go to previous message
aleman   United Kingdom
Messages: 40
Registered: May 2006
Location: Blackpool UK
Karma:
Member
OK Latest in the continuing saga that is my struggle with everything UNIX based Smile

I have successfullt set up FUDForum, Modified the template, and set up mailing from the forum to a Subscription List (Handled by Mailman)! Yay! Smile

Ok now the bit that I thought would be tricky, going from the mailing list to FUDForum . . . . procmail . . . oh . . . . Yeuch! Confused

Off to google, and come up with a basic introduction to mail forwarding using procmail. Right, now according to the instructions on the mailing list page of FUDForum I need to add something along the lines of

:0:
* ^TO_ .*ukhbtest(at)lists(dot)uk-homebrew(dot)info
| /home//ukhomebrew/uk-homebrew.info/.forum/scripts/maillist.php 2

into my .procmailrc file (or better still a rc.subscription file that I have included in the .procmailrc file)

OK done that with pico

Still didn't work mail went to and back from the mailing list but didn't appear in the forum, and nothing in the pm log either. Checked hosts wiki and found some more instructions. I have to set mail up to pipe through procumail using a .forward.something file. . . . Ok Done that . . . Oh Now mail doesn't get to the mailing list it gets returned to sender . . . AH BUT THERE IS A PM LOG! procmail is working!! Oh . . . Contents of log are

procmail: [20191] Wed May 17 15:16:56 2006
procmail: No match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To)Sad.*[^-a-zA-Z0-9_.])?) .*ukhbtest(at)lists(dot)uk-homebrew(dot)info"
procmail: Assigning " LASTFOLDER=/mnt/thresher/vol/boot/spunky/doodles/ukhomebrew/Maildir/new/114 7904216.20191_1.chopstick "
procmail: Notified comsat: "ukhomebrew@0 :/mnt/thresher/vol/boot/spunky/doodles/ukhomebrew/Maildir/new/1147904216.20 191_1.chopstick "
From MAILER-DAEMON Wed May 17 15:16:56 2006
Subject: Mail delivery failed: returning message to sender
Folder: /mnt/thresher/vol/boot/spunky/doodles/ukhomebrew/Maildir/new 2494

OK anyone got any ideas. To me it seems that the ^TO_ isn't matching the list address, which is definately correct, could the regex be confusing matters?

Regards

Aleman


--
Aleman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Regex to URL rewrite.
Next Topic: how to execute php code into fud templates?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 17:28:48 GMT 2024

Total time taken to generate the page: 0.04724 seconds