[Deploying Sakai] Outgoing Email Configuration Error

Steve Swinsburg steve.swinsburg at gmail.com
Mon Mar 29 16:26:06 PDT 2010


Hi,

if you just want outgoing email, you don't need to setup James. Just add the appropriate SMTP settings in sakai.properties.

If you want incoming mail though (ie for Email Archive), thats when you'll need to go down this path.

cheers,
Steve



On 30/03/2010, at 9:54 AM, Sri Kota wrote:

> More info:
> 
> james-2010-03-29.log:
> 
> 29/03/10 18:10:44 ERROR James: Cannot get IP address(es) for myhost.james
> 
> Am I missing something?
> 
> Thanks,
> -Sri
> 
> On Mon, Mar 29, 2010 at 6:22 PM, Sri Kota <srini07 at gmail.com> wrote:
> Hello Folks,
> I did the following:
> 
> Step 1: Stopped Tomact
> Step 2: Removed the mailarchive-james directory under webapps
> Step 3: Set smtp.enabled=true
> Step 4: Set smtp at org.sakaiproject.email.api.EmailService=xyz.edu
> Step 5: Set smtp.dns.1=x.x.x.x and smtp.dns.2=x.x.x.x
> Step 6: Set smtp.port=25
> Step 7: Set the following:
> mail.support=xyz at domain.com
> portal.error.email=xyz at domain.com
> setup.request=xyz at domain.com
> notifyNewUserEmail=true
> Step 8: Start Tomcat
> 
> I get the following error:
> 
> 2010-03-29 18:12:36,406  WARN http-5500-Processor22 org.sakaiproject.email.impl.
> BasicEmailService - Email.sendMail: exception: Sending failed;
>   nested exception is:
>         class javax.mail.MessagingException: 553 5.5.4 <postmaster at localhost>...
>  Real domain name required for sender address
> 
> javax.mail.SendFailedException: Sending failed;
>   nested exception is:
>         class javax.mail.MessagingException: 553 5.5.4 <postmaster at localhost>...
>  Real domain name required for sender address
> 
>         at javax.mail.Transport.send0(Transport.java:218)
>         at javax.mail.Transport.send(Transport.java:102)
>         at org.sakaiproject.email.impl.BasicEmailService.sendMessageAndLog(Basic
> EmailService.java:1090)
>         at org.sakaiproject.email.impl.BasicEmailService.sendMail(BasicEmailServ
> ice.java:486)
>         at org.sakaiproject.email.impl.BasicEmailService.sendMail(BasicEmailServ
> ice.java:286)
>         at org.sakaiproject.email.impl.BasicEmailService.send(BasicEmailService.
> java:555)
>         at org.sakaiproject.sitemanage.impl.UserNotificationProviderImpl.notifyA
> ddedParticipant(UserNotificationProviderImpl.java:118)
>         at org.sakaiproject.site.tool.helper.participant.impl.SiteAddParticipant
> Handler.addUsersRealm(SiteAddParticipantHandler.java:500)
>         at org.sakaiproject.site.tool.helper.participant.impl.SiteAddParticipant
> Handler.processConfirmContinue(SiteAddParticipantHandler.java:604)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:592)
>         at uk.org.ponder.reflect.JDKReflectiveCache.invokeMethod(JDKReflectiveCa
> che.java:23)
>         at uk.org.ponder.reflect.JDKReflectiveCache.invokeMethod(JDKReflectiveCa
> che.java:17)
>         at uk.org.ponder.reflect.JDKReflectiveCache.invokeMethod(JDKReflectiveCa
> che.java:77)
>         at uk.org.ponder.reflect.ReflectiveCache.invokeMethod(ReflectiveCache.ja
> va:141)
>         at uk.org.ponder.mapping.support.DARApplier.invokeBeanMethod(DARApplier.
> java:179)
>         at uk.org.ponder.rsf.state.support.RSVCApplier.invokeAction(RSVCApplier.
> java:218)
>         at uk.org.ponder.rsf.processor.support.RSFActionHandler$1.run(RSFActionH
> andler.java:189)
> 
> ...........
> 
> Any ideas on what I am missing?
> 
> Thank You,
> -Sri
> 
> -- 
> - Sri
> Sarvē Janā Sukhinō Bhavantu
> 
> 
> 
> 
> -- 
> - Sri
> Sarvē Janā Sukhinō Bhavantu
> 
> _______________________________________________
> production mailing list
> production at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/production
> 
> TO UNSUBSCRIBE: send email to production-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20100330/15b5b415/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3689 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/production/attachments/20100330/15b5b415/attachment-0001.bin 


More information about the production mailing list