hi, I am running several Zope instances on different ports on a machine, which uses qmail as MTA. Now trying to sent: <dtml-sendmail smtphost="mail.myserver.de"> To: Juergen Osterberg <osterberg@30doradus.de> From: "Zope Server" <zopeserver@myserver.de> ... results in: Error Type: SMTPRecipientsRefused Error Value: {'osterberg@30doradus.de': (553, "sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)")} Of course, I dont want to configure my machine as a wide-open relay. Which should not be necessary, as the Zope instances sending the mail are on the same machine, anyway. The question is, how do I have to configure qmail that it accepts my Zope instances as local mail clients (or twist Zope to make it so)? thanks and best regards Juergen
<dtml-sendmail smtphost="mail.myserver.de"> To: Juergen Osterberg <osterberg@30doradus.de> From: "Zope Server" <zopeserver@myserver.de> ...
results in:
Error Type: SMTPRecipientsRefused Error Value: {'osterberg@30doradus.de': (553, "sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)")}
It depends on how you are running qmail-smtpd; if you use tcpserver then you should read the tcpserver manual paying attention to the -x flag and the tcprules manual for how to set the RELAYCLIENT environment variable. This has nothing to do with zope whatsoever though, your qmail installation is simply misconfigured. -- Jamie Heilman http://audible.transient.net/~jamie/ "You came all this way, without saying squat, and now you're trying to tell me a '56 Chevy can beat a '47 Buick in a dead quarter mile? I liked you better when you weren't saying squat kid." -Buddy
participants (2)
-
Jamie Heilman -
Juergen Osterberg