[Deploying Sakai] Outgoing Email Configuration Error
Steve Swinsburg
steve.swinsburg at gmail.com
Tue Mar 30 14:54:02 PDT 2010
Hi Sri,
For our mailserver I generally only need:
smtp at org.sakaiproject.email.api.EmailService=smtp.server.edu.au
So assuming xyz.edu is a valid SMTP server, it should work. What are your settings for your desktop mail client? The SMTP server should be the same.
However, your second issue is a DNS one, you need a valid serverName, eg:
serverName=alliance.anu.edu.au
cheers,
Steve
On 31/03/2010, at 8:06 AM, Sri Kota wrote:
> Steve,
> Yes, I realize that I don't need James. What are the appropriate settings then?
>
> If I do:
> smtp at org.sakaiproject.email.impl.BasicEmailService=xyz.edu
> smtpPort at org.sakaiproject.email.impl.BasicEmailService=25
>
> I get:
> WARN http-8080-Processor25 org.sakaiproject.email.impl.BasicEmailService - sendMail: smtp not set
>
>
> If I do:
> smtp at org.sakaiproject.email.api.EmailService=xyz.edu
> smtpPort at org.sakaiproject.email.api.EmailService=25
>
> I get:
> 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
>
> Which is the right one anyways? What else does it need to know?
>
> Relevant info:
> 1. The mail server is located on a different physical machine than the one that hosts Sakai.
> 2. I checked with my sys. admin. We do NOT use smtp username/password and our smtp server does not use SSL.
>
> I realize that it will be difficult for you (or someone else) to figure out what's happening between my Sakai server and my Mail Server. So I appreciate you trying to help.
>
> Thanks for looking,
> -Sri
>
>
> On Mon, Mar 29, 2010 at 7:26 PM, Steve Swinsburg <steve.swinsburg at gmail.com> wrote:
> 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"
>
>
>
>
> --
> - Sri
> Sarvē Janā Sukhinō Bhavantu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20100331/583dd8bf/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/20100331/583dd8bf/attachment-0001.bin
More information about the production
mailing list