Not signed in (Sign In)

Categories

Vanilla 1.1.5 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorSpandex
    • CommentTimeSep 7th 2006
     # 1
    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?
Add your comments
    Username Password
  • Format comments as