[Zope] Sendmail and smtphost

Felipe Barousse Boué fbarousse at piensa.com
Mon Nov 17 12:49:44 EST 2003


> I've a big problem with smtphost and dtml-sendmail
> 
> I encountered this problem when i ran this dtml codes:
> 
> <dtml-sendmail smtphost="mail.mysmtphost.net">
> To: <myaddress at mysmtphost.net>
> Message: I wish to see U later
> </dtml-sendmail>
> 
> Error Type: SMTPSenderRefused
> Error Value: (505, 'Authentication required',
> 'myaddress at mysmtphost.net')
> 
> 
> I've the problem: the smtphost needed id and pwd but i don't know how
> send it! 
> Can you say me a solutions please?
> 
> 
> Massimiliano

smtphost/sendmail do not support authentication.  The easy approach may
be to send your message from Zope to the "localhost" sendmail and then
validating this under sendmail and the underlying operating system
security methods and procedures (tcp wrappers, sendmail rules,
firewalls, etc.)

Of course you should validate at a higher level within Zope which users
are allowed to send email.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.zope.org/pipermail/zope/attachments/20031117/cc5ca1b6/attachment.bin


More information about the Zope mailing list