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

Home » FUDforum Development » Bug Reports » Invalid STMP return code: 451 See http://pobox.com/~djb/docs/smtplf.html.
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Invalid STMP return code: 451 See http://pobox.com/~djb/docs/smtplf.html. [message #8708] Mon, 17 February 2003 11:28 Go to next message
Murder4Al is currently offline  Murder4Al   Belgium
Messages: 7
Registered: April 2002
Karma: 0
Junior Member
Apparently something is very wrong with some mail function.

Let me explain what I was doing. I'm on 2.3.6, and was trying to get the mail-list integration to work. After fixing the maillist.php script wich was missing three includes, adding
fud_use('fileio.inc');
fud_use('drawmsg.inc');
fud_use('alt_var.inc');
fixed that problem.

Now the incoming mail's are processed ok, and added to the correct threads, all fine, but when sending out a message posted in the thread back to the mail-list the error mentioned in the topic happens. This is clearly a mail-formatting error. I'll start digging your code after this post, maybe somebody else has already a clue.

The error does not occur when sending a normal mail out (notifications and so on) and the same mail-server is used.

Hint and suggestions are welcome Smile

Greetz
Kobe
Re: Invalid STMP return code: 451 See http://pobox.com/~djb/docs/smtplf.html. [message #8709 is a reply to message #8708] Mon, 17 February 2003 11:50 Go to previous messageGo to next message
Murder4Al is currently offline  Murder4Al   Belgium
Messages: 7
Registered: April 2002
Karma: 0
Junior Member
Status update Smile
It's clearly something in the $this->headers array wich is causing the problem.
Re: Invalid STMP return code: 451 See http://pobox.com/~djb/docs/smtplf.html. [message #8710 is a reply to message #8708] Mon, 17 February 2003 12:00 Go to previous messageGo to next message
Murder4Al is currently offline  Murder4Al   Belgium
Messages: 7
Registered: April 2002
Karma: 0
Junior Member
Adding a little sanity to the post.php seemes to resolv the problem.

$this->headers = preg_replace("!(\r)?\n!si", "\r\n", $this->headers);
Re: Invalid STMP return code: 451 See http://pobox.com/~djb/docs/smtplf.html. [message #8762 is a reply to message #8710] Fri, 21 February 2003 21:48 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Thanks for the patch, I'll add it to the next release.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: maillist.php
Next Topic: FUDforum Version 2.3.7 slash or no slash
Goto Forum:
  

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

Current Time: Mon Oct 07 22:25:21 GMT 2024

Total time taken to generate the page: 0.02804 seconds