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

Home » FUDforum » How To » Mailling list questions
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Mailling list questions [message #23417] Tue, 15 March 2005 21:04 Go to next message
cpoetzel is currently offline  cpoetzel   United States
Messages: 6
Registered: March 2005
Karma: 0
Junior Member
Hello everyone,
am trying to integrate some mailing lists we have with the fudforum. my main question is this:

What user are people using the procmail rules with?

Everything in my fud configuration is owned by the web server, apache.
the maillist.php program is like this

-rw------- 1 apache apache 16143 Mar 9 10:15 maillist.php

right now i am sending the email for my mailling lists to my local accoutn on the system. it appears to me that i don't have permissions to run this file.

her is my procmailrc file

:0:
* ^TO_.*fud-test(at)anl(dot)gov
| /usr/local/FUDforum/scripts/maillist.php 2

my forum is unlocked.
is it as simple as changing the permissions on that file?

thanks,
chris Poetzel
Re: Mailling list questions [message #23420 is a reply to message #23417] Tue, 15 March 2005 21:43 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Use the forum's file lock/unlock admin control panel to unlock the forum. That will give you access to run that script.

P.S. You may need to change the code to be:

| php /usr/local/FUDforum/scripts/maillist.php 2


FUDforum Core Developer
Re: Mailling list questions [message #23426 is a reply to message #23417] Tue, 15 March 2005 22:21 Go to previous messageGo to next message
cpoetzel is currently offline  cpoetzel   United States
Messages: 6
Registered: March 2005
Karma: 0
Junior Member
that worked. thanks a bunch.
Re: Mailling list questions [message #24485 is a reply to message #23417] Thu, 28 April 2005 23:10 Go to previous message
upyeronson is currently offline  upyeronson   United States
Messages: 5
Registered: April 2005
Karma: 0
Junior Member
Hi!

I've followed this thread to debug my own errors and I think I'm close. I have the following:

1. I have a .qmail file:
| /var/qmail/bin/preline /usr/bin/procmail -t /home/vpopmail/.procmailrc

2. I have a .procmailrc file
Procmailrc:
TESTDIR=/home/vpopmail/domains/domain.net/fud
MAILDIR=${TESTDIR}/Maildir
LOGFILE=${TESTDIR}/Proctest.log
LOG="--- Logging for ${LOGNAME}, "
VERBOSE=yes

:0:
* ^TO_.*test(at)domain(dot)net
{
EXITCODE=99
:0
|/usr/bin/php /var/www/domain/files/fudforum/3814588639/scripts/maillist.php 2
}

And when I send mail, My Logfile gives the output:
procmail: Match on "(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope|Apparently(-Resent)?)-To)Sad.*[^-a-zA-Z0-9_.])?).*test(at)domain(dot)net"
procmail: Extraneous locallockfile ignored
procmail: Locking ".lock"
procmail: Unlocking ".lock"
procmail: Assigning "EXITCODE=99"
procmail: Executing " /usr/bin/php,/var/www/domain/files/fudforum/3814588639/scripts/maillist.php ,2 "
procmail: Assigning "LASTFOLDER=/usr/bin/php /var/www/domain/files/fudforum/3814588639/scripts/maillist.php 2"
From test-return-17-domain.net-fud=domain(dot)net(at)domain(dot)net Thu Apr 28 23:00:54 2005
Subject: Re: it is now 19 Hundred Hours
Folder: /usr/bin/php /var/www/qbabes/files/fudforum/3814588639/scrip 1958

My Forums are UNLOCKED since i get a nice red block of letters warning me that it's so. However, nothing still is being posted from mail to Forum. I am getting posts from Forum to Mail though.

I'm also wondering if that last line in my log with the word scrip cut off at the end indicates anything.

Any ideas?

Thanks...I've been trying to read before post so I hoped this would help!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: impossible to re-enabled forum
Next Topic: Procmail + FudForum + VpopMail = Nearly there!
Goto Forum:
  

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

Current Time: Mon Nov 25 23:24:09 GMT 2024

Total time taken to generate the page: 0.02523 seconds