Re: SMTP authentication from Jahia

Philippe Vollenweider <[email protected]>
Newsgroups gmane.comp.cms.jahia.install
Message-ID <[email protected]>
So I think the sysadmin should just add kincite.com in file 
/var/qmail/control/rcpthosts
Else you can try to change the sender enveloppe by using an existing domain 
the rcpthosts.
Did you try to send an email from jp.medema@localhost ?

Philippe.

At 08.06.2004 16:52, you wrote:
>Philippe,
>
>The provider uses 'qmail' on Apache.
>Having a hard time seeing how this could make a difference, I just tried 
>to set the mail host to the actual IP address and as expected it did not 
>make any difference.
>
>The log reveals this exception, which I have learned to expect under the 
>circumstances:
>16:48:20 Jahia|DEBUG - Mailing to [email protected] via 
>62.212.76.155... (MailService.java:203)
>16:48:20 Jahia|DEBUG - Error while sending mail : Sending failed;
>  nested exception is:
>        javax.mail.SendFailedException: Invalid Addresses;
>  nested exception is:
>        javax.mail.SendFailedException: 553 sorry, that domain isn't in my 
> list of allowed rcpthosts (#5.7.1)
>(MailService.java:225)
>javax.mail.SendFailedException: Sending failed;
>  nested exception is:
>        javax.mail.SendFailedException: Invalid Addresses;
>  nested exception is:
>        javax.mail.SendFailedException: 553 sorry, that domain isn't in my 
> list of allowed rcpthosts (#5.7.1)
>
>        at javax.mail.Transport.send0(Transport.java:219)
>        at javax.mail.Transport.send(Transport.java:81)
>
>When I setup a Mail Session myself with the correct username and password 
>I can succesfully send e-mail, were it not for the 'singletonness' of the 
>Default Mail Session.
>
>Yours,
>  Jurjan-Paul
>
>
>Philippe Vollenweider wrote:
>
>>And how does the system send report by mail? What is the plateform?
>>Did you try to use the real server name instead of "localhost"?
>>
>>At 08.06.2004 15:58, you wrote:
>>
>>>Hello Philippe,
>>>
>>>Thank you for your response!
>>>The requirement for SMTP authentication orginates from our external 
>>>hosting provider, who offers SMTP on localhost, but with authentication 
>>>only. We share that server with other customers, so I am not in a 
>>>position to judge whether this precaution is actually all that necessary...
>>>
>>>Yours,
>>>  Jurjan-Paul
>>>
>>>
>>>Philippe Vollenweider wrote:
>>>
>>>>Hello,
>>>>
>>>>Which mail server do you use? You can't trust all incoming mail from 
>>>>localhost or current ip address or range ?
>>>>
>>>>Philippe
>>>>
>>>>At 08.06.2004 15:44, you wrote:
>>>>
>>>>>Hello list,
>>>>>
>>>>>So far we have not been able to use e-mail notification on our server, 
>>>>>even though it is turned on in the administration interface. I expect 
>>>>>the problem to be caused by the fact that the SMTP server on localhost 
>>>>>requires authentication (username and password), a feature that Jahia 
>>>>>doesn't seem to facilitate at the moment.
>>>>>
>>>>>Does anybody know a good way around this? Is this something that is 
>>>>>worked on by somebody?
>>>>>
>>>>>(Even more frustrating: because Jahia invokes 
>>>>>Session.getDefaultInstance() without the possibility to set username 
>>>>>and password, our application that builds on Jakarta's mailer taglib 
>>>>>(also using Session.getDefaultSession() is blocked from sending 
>>>>>e-mails with the correct username and password... Seems to me that 
>>>>>Session.getDefaultSession() was a bad idea...)
>>>>>
>>>>>Yours,
>>>>>  Jurjan-Paul
>>>>>
>>>>>
>>>>>--
>>>>>----- ---- --- -- - - - - - - - -
>>>>>J.P. Medema
>>>>>E: [email protected]
>>>>>----- ---- --- -- - - - - - - - -
>>>>
>>>>
>>>>-------=[ pvollenweider at jahia dot com ]=---------
>>>>Jahia : A collaborative source CMS and Portal Server
>>>>www.jahia.org Community and product web site
>>>>www.jahia.com Commercial services company
>>>>
>>>>
>>>
>>>--
>>>----- ---- --- -- - - - - - - - -
>>>J.P. Medema
>>>E: [email protected]
>>>----- ---- --- -- - - - - - - - -
>>
>>-------=[ pvollenweider at jahia dot com ]=---------
>>Jahia : A collaborative source CMS and Portal Server
>>www.jahia.org Community and product web site
>>www.jahia.com Commercial services company
>>
>>
>>
>
>--
>----- ---- --- -- - - - - - - - -
>J.P. Medema
>E: [email protected]
>----- ---- --- -- - - - - - - - -
>

-------=[ pvollenweider at jahia dot com ]=---------
Jahia : A collaborative source CMS and Portal Server
www.jahia.org Community and product web site
www.jahia.com Commercial services company
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.