[Zope] sendmail problem or issue?

Tino Wildenhain tino@wildenhain.de
Mon, 30 Apr 2001 11:59:10 +0200


Hi Tim,

in your internal tests - did you try to write a mail
to outside recipients? May be your zope-server is
not fully trusted by the smtp-host and accepts only
in-house recipients (this is allowed for all unknown
senders in almost every configuration)

Regards
Tino

--On Montag, 30. April 2001 14:20 +1200 Tim Haines <tim@ims.co.nz> wrote:

> 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 )