Re: Configuring Postfix to post to FUDforum [message #159459 is a reply to message #159420] |
Thu, 04 June 2009 00:54 |
mountainfreak
Messages: 11 Registered: May 2009
Karma:
|
Junior Member |
|
|
There was the lingering universal procmail file that I had to delete. That postfix rule I cannot for the life of me get to work. I will say the procmail rule does work with sudo access as long as the local user and mboxs exist(anotherwords do create the local user through the usual means)...something like this in sudoers, note you don't have to reboot "init 1 && init 5" works fine as root:
Host_Alias HERE=hostalias
User_Alias PRIVILEGED=list-bot
Cmnd_Alias ADMIN=/usr/bin/php
PRIVILEGED HERE=ADMIN, NOPASSWD: ADMIN
and instead of in that users procmail file having:
:0:
* ^TO_.*list(at)domain(dot)net
|/usr/bin/php /home/some-user/forum/scripts/maillist.php 1
you should have:
:0
* ^TO_.*list(at)domain(dot)net
| sudo /usr/bin/php /home/some-user/forum/scripts/maillist.php 1
of course the tail-end "1" of this script should point to the proper list config in FUDforum...see you admin interface and go to your list under "mailing list manager" and click on the list for further details.
Hope those with virtual linux hosting can understand what I was saying... seems virtual hosting buggers the whole mess.
Cheers,
REF
|
|
|