[Zope] sendmail problem or issue?
Tom Cameron
tom@cameron.to
Mon, 30 Apr 2001 19:33:44 +1000
Tim,
I noted that in your earlier message you said this:
=> By changing the security on the
=> mailhost object (same as the proxy change you suggested)....
It is my understanding that this is not the best way to handle this. The
permissions on the mailhost object are set to "Manager only" for security
reasons and in most cases should not be changed.
It is far better to change the proxy setting on the objects that call the
mailhost. This way you do not compromise your system security.
BTW, I would guess that the error you are now experiencing is purely a
sendmail thing and will require changes at the sendmail end.
Tom Cameron
=>
=> >>> -----Ursprüngliche Nachricht-----
=> >>> Von: zope-admin@zope.org [mailto:zope-admin@zope.org]Im
=> Auftrag von Tim
=> >>> Haines
=> >>> Gesendet: Montag, 30. April 2001 02.21p
=> >>> An: Randall F. Kern; zope@zope.org
=> >>> Betreff: Re: [Zope] sendmail problem or issue?
=> >>>
=> >>>
=> >>> Hi Randy,
=> >>>
=> >>> Thanks for your reply. By changing the security on the
=> mailhost object
=> >>> (same as the proxy change you suggested), I elimated the
=> problem of the
=> >>> mailhost not being found, but zope still reports the following
=> >>> SMTP error:
=> >>>
=> >>> Error Type: SMTPRecipientsRefused
=> >>> Error Value: {'tim@ims.co.nz': (550, 'Relaying is prohibited')}
=> >>>
=> >>> This indicates to me that my client pc is somehow being
=> >>> involved in the send
=> >>> mail process, and is causing the error displayed above.
=> >>>
=> >>> Any further ideas?
=> >>>
=> >>> Tim.
=> >>>
=> >>>
=> >>>
=> >>> ----- Original Message -----
=> >>> From: "Randall F. Kern" <randy@spoke.net>
=> >>> To: "Tim Haines" <tim@ims.co.nz>; <zope@zope.org>
=> >>> Sent: Monday, April 30, 2001 1:18 PM
=> >>> Subject: RE: [Zope] sendmail problem or issue?
=> >>>
=> >>>
=> >>> First, yes you are correct in that Zope connects to the SMTP
=> server to
=> >>> send the message from the Zope server, not from the browser client.
=> >>>
=> >>> I bet this problem is due to permissions on the mailhost object. By
=> >>> default only managers can use mailhost objects (to keep
=> anonymous users
=> >>> from using your Zope server as a spam box.)
=> >>>
=> >>> If you want people other than managers to be able to send
=> mail, you must
=> >>> set the "Manager" proxy role on the DTML method you use to send the
=> >>> message.
=> >>>
=> >>> -Randy
=> >>>
=> >>> > -----Original Message-----
=> >>> > From: Tim Haines [mailto:tim@ims.co.nz]
=> >>> > Sent: Sunday, April 29, 2001 4:28 PM
=> >>> > To: zope@zope.org
=> >>> > Subject: [Zope] sendmail problem or issue?
=> >>> >
=> >>> >
=> >>> > Hi there,
=> >>> >
=> >>> > I've run into a few problems with the sendmail tag this morning.
=> >>> >
=> >>> > 1) I have the sendmail tag using the mailhost arg. Running
=> >>> > the page from
=> >>> > the server works fine. If I try and run it from another
=> >>> > machine, zope tells
=> >>> > me it can't find mailhost.
=> >>> >
=> >>> > 2) I have the sendmail tag using the smtphost arg. Works
=> >>> > fine from the
=> >>> > server and from other machines in the internal network (which
=> >>> > are allowed to
=> >>> > use the smtp server), but of course it doesn't work from
=> >>> > machines external
=> >>> > to the network, i.e. Jim Bob from X Corp across town can't
=> >>> > run the page
=> >>> > because his machine isn't allowed to use the smtp server.
=> >>> >
=> >>> > I would have expected that the mail is created and sent by
=> the machine
=> >>> > running zope, not the machine running the browser. What's
=> >>> > going on here,
=> >>> > and what should I do to fix the problem?
=> >>> >
=> >>> > Tim.
=> >>> >
=> >>> >
=> >>> > _______________________________________________
=> >>> > Zope maillist - Zope@zope.org
=> >>> > http://lists.zope.org/mailman/listinfo/zope
=> >>> > ** No cross posts or HTML encoding! **
=> >>> > (Related lists -
=> >>> > http://lists.zope.org/mailman/listinfo/zope-announce
=> >>> > http://lists.zope.org/mailman/listinfo/zope-dev )
=> >>> >
=> >>>
=> >>>
=> >>>
=> >>> _______________________________________________
=> >>> Zope maillist - Zope@zope.org
=> >>> http://lists.zope.org/mailman/listinfo/zope
=> >>> ** No cross posts or HTML encoding! **
=> >>> (Related lists -
=> >>> http://lists.zope.org/mailman/listinfo/zope-announce
=> >>> http://lists.zope.org/mailman/listinfo/zope-dev )
=> >>>
=>
=>
=> _______________________________________________
=> Zope maillist - Zope@zope.org
=> http://lists.zope.org/mailman/listinfo/zope
=> ** No cross posts or HTML encoding! **
=> (Related lists -
=> http://lists.zope.org/mailman/listinfo/zope-announce
=> http://lists.zope.org/mailman/listinfo/zope-dev )
=>