Maillist.php works from command line but not postfix pipe [message #185578] |
Mon, 14 April 2014 23:00 ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
![](http://www.gravatar.com/avatar/c4d44d8de90a8377b08a6e866af80f31?s=64&d=mm&r=g) |
Jon
![United Kingdom United Kingdom](/forum/images/flags/gb.png) Messages: 9 Registered: April 2014
Karma: 0
|
Junior Member |
|
|
When I run maillist.php from the command line on an .eml message it sends it to the forum perfectly.
When I email email-addr(at)domain(dot)com nothing happens.
Here's the alias, which is essentially the same as what I type on command line:
email-addr: "|/usr/local/bin/php /path/to/FUDforum/scripts/maillist.php 1 | logger"
I've changed the shebang line to find php, and chmod 755 but still nothing.
I would appreciate any ideas on how to resolve this!
|
|
|
|
|
Re: Maillist.php works from command line but not postfix pipe [message #185585 is a reply to message #185582] |
Thu, 17 April 2014 02:53 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) |
![](http://www.gravatar.com/avatar/c4d44d8de90a8377b08a6e866af80f31?s=64&d=mm&r=g) |
Jon
![United Kingdom United Kingdom](/forum/images/flags/gb.png) Messages: 9 Registered: April 2014
Karma: 0
|
Junior Member |
|
|
Are you sure FUD doesn't stand for Fear, Uncertainty and Doubt? ![Wink](images/smiley_icons/icon_wink.gif)
I tracked it down to another permissions issue. I changed the file in FUDforum/messages to 666.
QUESTION: Are there any other folders/files in the FUDforum directory I should change to prevent future problems?
e.g.
Is 'files' for attachments?
If I changed 'errors' would I have received FUDforum error messages... and saved myself the time...
Thanks
P.S. The forum is great - thank you.
[Updated on: Thu, 17 April 2014 03:32] Report message to a moderator
|
|
|