1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Registration requires email confirmation, what if you reach the email limit?

Discussion in 'XenForo Questions and Support' started by Nicky Vermeersch, May 29, 2013.

  1. Nicky Vermeersch

    Nicky Vermeersch Active Member

    So I set Xenforo up that when a user registers, he has to confirm his email account before the account gets activated. However Xenforo is linked to Google Apps, which has a limit of 2000 emails per hour. I have seen in the Xenforo Server Logs that the limit has been reached a few times. What happens with the emails that request the user to confirm their account, when you are in period (or technical problem) where you can't send emails? Are they send at a later time? Does Xenforo try to send them out again later?
     
  2. robdog

    robdog Well-Known Member

    XenForo doesn't have the functionality to detect if you reached the limit with your email provider. If you find yourself reaching the limit with Google, you might want to switch to a paid service. Amazon Web Services has a nice email sending service that is fairly cheap.
     
  3. AlexT

    AlexT Well-Known Member


    Resending mail for whatever reasons is normally the job of the mail transfer agent (MTA). What kind of hosting do you use for your xF site? If you have the option of installing a local MTA, like Postfix, you could configure it as a relay. This way, mail from xF goes to your local MTA first (which does all the queuing etc.), and your local MTA will connect to Google Apps with your credentials for sending out the mails.
     
  4. Nicky Vermeersch

    Nicky Vermeersch Active Member


    I just connect to Google Mail from Google Apps and send them from there. Sending emails locally from my host is possible, but also limited to 2.500 emails per hour. I'll look into Postfix :3
     
  5. AlexT

    AlexT Well-Known Member

    Postfix as a relay would only interact as an inbetween, so mail wouldn't really get sent from you locally - it would still go to your Google Mail/Apps first. I am not sure, but I think with Postfix you could even slow down the sending of mail if it reaches a defined treshold (like the 2000 mails / hr in your case) with the remainder put in the queue temporarily.

    There are plenty of howtos for how to configure the relay, e.g.:
    http://rtcamp.com/tutorials/ubuntu-postfix-gmail-smtp/
    http://blog.bigdinosaur.org/postfix-gmail-and-you/
    http://www.zulius.com/how-to/set-up-postfix-with-a-remote-smtp-relay-host/
    http://carlton.oriley.net/blog/?p=31
     
  6. AlexT

    AlexT Well-Known Member

Share This Page