[Building Sakai] Making Email Archive work behind load balancer

Sam Ottenhoff ottenhoff at longsight.com
Wed Sep 7 08:56:32 PDT 2011


>
>
> We have 2 Sakai 2.6.2 servers installed behind hardware load-balancer.
> Both of those servers connect to the same DB and have separate serverName
> and serverID.
>


More common would be separate serverID with an identical serverName.  The
only one of the load-balanced servers would be responsible for processing
incoming mail.



> So on each of them "Email Archive" address for site appears as
> sitename at serverName.mydomain.com
>
> When I send e-mail to "Email Archive" address that I see on one of those
> servers I can see that it's received by James (forwarded by postfix to
> James):
>
> Sep  7 12:22:31 vera067 postfix/smtpd[24789]: connect from
> cartman.mydomain.com[130.194.13.166]
> Sep  7 12:22:32 vera067 postfix/smtpd[24789]: 81E8F5F8E8: client=
> cartman.mydomain.com[130.194.13.166]
> Sep  7 12:22:32 vera067 postfix/cleanup[24792]: 81E8F5F8E8:
> message-id=<CACMGXTc-n2RvYjKHXcYC9gKKazaH-vPsFRUDtOawG=
> ycrBtPXg at mail.gmail.com>
> Sep  7 12:22:32 vera067 postfix/qmgr[16731]: 81E8F5F8E8: from=<
> lkolchin at gmail.com>, size=3369, nrcpt=1 (queue active)
> Sep  7 12:22:32 vera067 postfix/smtpd[24789]: disconnect from
> cartman.mydomain.com[130.194.13.166]
> Sep  7 12:22:34 vera067 postfix/smtp[24793]: 81E8F5F8E8: to=<
> newtest at vera067.mydomain.com>, relay=127.0.0.1[127.0.0.1]:8025, delay=2.6,
> delays=0.41/0.42/0.5/1.3, dsn=2.0.0, status=sent (250 Message received)
> Sep  7 12:22:34 vera067 postfix/qmgr[16731]: 81E8F5F8E8: removed
>
> The problem is that I can't see this e-amil in "Email Archive" section and
> it's not being sent to site participants.
> All other e-mails (Like e-mail to the newly added users) going out fine
> from those servers.
>
> Any idea what's going wrong here and how to fix it?
>


You should have additional James logs in
$CATALINA_HOME/sakai/logs/james-2011-09-07.log

--Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110907/7d494110/attachment.html 


More information about the sakai-dev mailing list