Home »
FUDforum »
FUDforum Installation Issues »
maillist.php attachment problem
maillist.php attachment problem [message #13402] |
Sun, 05 October 2003 12:18 |
laurent
Messages: 2 Registered: October 2003
Karma:
|
Junior Member |
|
|
Hello,
I'm trying to sync a mailing list running on majordomo with the excellent FUDforum.
Everything works good except when I attach a file(.jpg of 20Ko for exemple) to a mail(written with a mail client). The new topic is created in the forum but there is no body nor attachment.
If I send a mail with no attached file, the topic and the body are ok.
All the settings seems all right in php.ini and FUDforum settings. I use procmail to filter the mail and execute the maillist.php.
The procmail.log tells "error writing to maillist.php" with an attachment.
So I have tried to execute "cat mail.txt | /path/to/maillist.php 1" in /bin/sh, same result as procmail(no body and no attachment in the forum).
But when I try " /path/to/maillist.php 1 < mail.txt " everything is good.
It seems like the pipe breaks with long mails.
I know that maillist.php is flexible but I don't know how to redirect the standard input to this script with procmail.
Thanks for your help.
Laurent
|
|
|
Goto Forum:
Current Time: Sun Dec 01 11:46:10 GMT 2024
Total time taken to generate the page: 0.03923 seconds