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

Home » FUDforum » How To » Procmail + FudForum + VpopMail = Nearly there!
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Procmail + FudForum + VpopMail = Nearly there! [message #24486] Thu, 28 April 2005 23:13 Go to next message
upyeronson is currently offline  upyeronson   United States
Messages: 5
Registered: April 2005
Karma: 0
Junior Member
Hi!

I've followed the threads on using procmail with Fudforum to manage mailing lists on the forum. I've been careful to readn and try to debug my own errors and I think I'm close at this point and I'm seeking any assistance. 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 (for a local user on the list fud)
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 which means that the list can send messages.

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

Any ideas from anyone familiar with this scenario?

Thanks...I've been trying to read before post so I am kindly seeking any help!
Re: Procmail + FudForum + VpopMail = Nearly there! [message #24487 is a reply to message #24486] Fri, 29 April 2005 01:43 Go to previous messageGo to next message
upyeronson is currently offline  upyeronson   United States
Messages: 5
Registered: April 2005
Karma: 0
Junior Member
Hi all:

After continuous debugging I found that my GLOBALS.PHP file which referenced the egw in my maillist.php was corrupted. I corrected the errors and ran a test of the php file:

cat test.note | /var/www/domain/files/fudforum/3814588639/scripts/maillist.php 1

No errors occured, but nothing's still posting and I'm wondering if I need to reinstall groupware.

Will continue testing.
T.
Re: Procmail + FudForum + VpopMail = Nearly there! [message #24498 is a reply to message #24487] Fri, 29 April 2005 12:21 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
Did you unlock the forum's file via the admin lock/unlock control panel explicitly or just followed the red text? You may want to try unlocking the files again.
Also check the forum's error log via the log viewer control panel.


FUDforum Core Developer
Re: Procmail + FudForum + VpopMail = Nearly there! [message #24500 is a reply to message #24486] Fri, 29 April 2005 14:01 Go to previous messageGo to next message
upyeronson is currently offline  upyeronson   United States
Messages: 5
Registered: April 2005
Karma: 0
Junior Member
Hi!

You know..that part has been bugging me. When I click the Forum menu for: Lock/Unlock Forum's Files, I get the following notice on the right page:

The forum's files appear to be: UNLOCKED.

If this test claims that the forum is unlocked, but you still cannot modify your files click on the "Unlock Files" button.

For security reasons remember to lock your forum's files after you are done editing them.

I click the Unlock files button, without entering a password for my user name listed and I get same page. I guess I can't confirm whether I've done a proper job of unlocking the Forum files or not.

Question: Am I supposed to Unlock with a username + password?
Question: When I try to "LOCK", I get the same page, so where can I debug proper locking and unlocking?

Thanks so much for the quick follow-up!
Cheers,
Up
Re: Procmail + FudForum + VpopMail = Nearly there! [message #24501 is a reply to message #24500] Fri, 29 April 2005 14:40 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
You are supposed to provide both the login & password for the admin account.

FUDforum Core Developer
Re: Procmail + FudForum + VpopMail = Nearly there! [message #24502 is a reply to message #24501] Fri, 29 April 2005 15:02 Go to previous messageGo to next message
upyeronson is currently offline  upyeronson   United States
Messages: 5
Registered: April 2005
Karma: 0
Junior Member
Hi Ilya:

Thank you very much for your quick response. I see that you get a lot of the same questions sometimes and I apologize. I actually took some time to check through the threads here and I forgot to mention a few things.

1. I'm running FudForum in Egroupware 1.0.0.007 which I think does not yet have a fully updated version of Fudforum.

From what I read, it seems that the lower version port of Fudforum still in eGroupware may contain bugs and fixes that affect mailing list functionality. Is this correct?

As per your instructions, I tried using a username and password of the administrator to lock the files in my eGw version and the page keeps reloading saying that the files were unlocked. Are there permissions that I can check to make sure the admlock.php script works properly? Alos, my Error Log entries in the control panel are empty.

I have another site to take online into a forum site so I will download the most stable version and try to get mailing list functionality working.

Cheers,
Up
Re: Procmail + FudForum + VpopMail = Nearly there! [message #24504 is a reply to message #24502] Fri, 29 April 2005 16:23 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
If the forum is trully unlocked forum files will be chmoded 666 and directories 777.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Mailling list questions
Next Topic: RSS
Goto Forum:
  

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

Current Time: Fri Nov 29 13:59:54 GMT 2024

Total time taken to generate the page: 0.02561 seconds