Re: Issues with MailHost async queue send
Luca Fabbri <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CAGfGq=bLgDSyLJuWd+PsPx8tg75dvqgmyDDwcUL+MTVOZ6Q+ew@mail.gmail.com> |
On Fri, Sep 26, 2014 at 8:37 AM, dieter <[email protected]> wrote: > Luca Fabbri <[email protected]> writes: >> we have a Plone 4.3 site with two instances, where we are using the >> MailHost with the mail queue.We need this because we are using an old >> newsletter product (a branch of PloneGazette). >> >> All works perfectly, we only have problems when the server is >> restarted. When this happen we experience issue: it's like both Zope >> instances are trying to send the mail in the same moment and this >> action somehow this collide. > > In one of my projects, the same queue is used by hundreds of portals. > Up to now, I have not had problem reports. However, emails are > fairly rarely sent. It is quite unlikely, that there are pending > email messages on server restart. > > That said: the underlying "zope.sendmail" uses the "maildir" protocol > which has been specifically designed to avoid conflicts by > concurrent access. Therefore, your observation is a bit surprising. > In addition, its description is quite vague. Could you describe > more clearly what happens precisely on server restart? > So, the problem I had yesterday was different (an user error). The first time I had this problem some moths ago (I fixed it simply stopping and restarting the mail thread from ZMI MailHost) I was getting an authorization error on authentication with the mail server on the one of the instances (but only with one of them). No mail was lot, simply they were kept in the queue. Unluckily I didn't find details on about the traceback error and logrotate did it job; I don't have this log now. Let's forget this for now. I will revive this thread if it will happen again. Thanks and sorry for the noise. -- -- luca twitter: http://twitter.com/keul linkedin: http://linkedin.com/in/lucafbb blog: http://blog.keul.it/ ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk