Re: [Zope] sendmail host hardcoded ?
Gijs Reulen wrote:
Because <dtml-sendmail mailhost=MailHost> or <dtml-sendmail mailhost="MailHost"> either returns a 'KeyError' when the object is in the root, or a 'You are not authorized to access MailHost' error when the object is in the same folder ....
Well, that sounds like a bug. I'd stick it in the collector, although I can't say I've seen that behaviour myself. Are you usign any weird userfolders? cheers, Chris
Found it: The mailhost Security needs to be set such that Anonymous can use the mailservices. In that case both problems disappeared. I did not think of that, being the owner and manager of everything ?! At least now I can use the mailhost parameter. Gijs
Because <dtml-sendmail mailhost=MailHost> or <dtml-sendmail mailhost="MailHost"> either returns a 'KeyError' when the object is in the root, or a 'You are not authorized to access MailHost' error when the object is in the same folder ....
Well, that sounds like a bug.
I'd stick it in the collector, although I can't say I've seen that behaviour myself. Are you usign any weird userfolders?
cheers,
Chris
Gijs Reulen wrote:
Found it: The mailhost Security needs to be set such that Anonymous can use the mailservices. In that case both problems disappeared. I did not think of that, being the owner and manager of everything ?! At least now I can use the mailhost parameter.
That does sound like a bug :-S Can you stick it in the collector? cheers, Chris PS: Have you got any Proxy roles set on the objects using the mailhost?
participants (2)
-
Chris Withers -
Gijs Reulen