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

Home » FUDforum » FUDforum Installation Issues » maillist.php attachment problem
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
maillist.php attachment problem [message #13402] Sun, 05 October 2003 12:18 Go to next message
laurent is currently offline  laurent   France
Messages: 2
Registered: October 2003
Karma: 0
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
Re: maillist.php attachment problem [message #13404 is a reply to message #13402] Mon, 06 October 2003 16:13 Go to previous messageGo to next message
laurent is currently offline  laurent   France
Messages: 2
Registered: October 2003
Karma: 0
Junior Member
Hi again,

Everything is good since I updated to php 4.3.3 (which supports the original file_get_contents function).

The only thing is that outlook express messages (which send both plain text and html) lose their body in the forum.

Any Idea ????
Re: maillist.php attachment problem [message #13454 is a reply to message #13404] Tue, 14 October 2003 01:30 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you send me 1 such message (as a text attachment) ?

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to change date format from september,12 2003 to 2003-9-12 or like this?
Next Topic: FUDforum 2.5.3RC3 requires PHP/4.3+ ?
Goto Forum:
  

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

Current Time: Sun Dec 01 11:45:35 GMT 2024

Total time taken to generate the page: 0.02139 seconds