Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Mail Sending Issue?

edited September 2006 in Vanilla 1.0 Help
Hi, I'm new and enjoying my first look at Vanilla. Firstly, did I REALLY choose "Lussumo" as my account name and have to change it?? I must have done... because my welcome email said "Hello Lussumo" and then I had to change my username to "Spandex". Odd. But mainly... My Vanilla install was failing to send emails and I found this in my mail logs (my Debian box is called gladstone) Sep 7 12:15:22 gladstone postfix/smtp[7896]: 203AD3C0C4: to=<test@a.mail.address>, relay=mx1.myisp.co.uk[aaa.bbb.ccc.ddd], delay=0, status=bounced (host mx1.myisp.co.uk[aaa.bbb.ccc.ddd] said: 504 <www-data@gladstone>: Sender address rejected: need fully-qualified address (in reply to RCPT TO command)) ... I expect this could be fixed in my postfix config by giving it a sensible domain name.. but this is something I've seen before and so I tend to avoid this by adding a '-f' parameter to my PHP mail function.. then the mail will get sent even if the machine isn't properly configured. I changed line 146 of Framework.Class.Email.php to this:- if (!@mail($To, $this->Subject, $Message, $Header, '-f '. $this->FromEmail) && $this->FatalError) $this->Context->ErrorManager->AddError($this->Context, $this->Name, "Send", "An error occurred while sending the email.", $php_errormsg); There *may* be a downside to this.. I suspect some SMTP servers might then reject the mail because the envelope-from doesn't match? Anyone confirm this?
This discussion has been closed.