Hi All,

 

Iam installijg  dspace 4.1 on Ubuntu lTS version.we are using xmlui version.
I just done the smtp  seetings  on dsapce.cfg as follow

 

I am using local smtp  server

##### Email settings ######

 

mail.server = 10.2.16.102

 

mail.server.username

mail.server.password

 

# mail.server.port = 25

 

However when  I try run the  following commands

 

echo "test" | mail -s "test subject" 10.2.16.102

 

/dspace/bin/dspace dsrun org.dspace.core.Email

 

And it prints the following message

 

To

 

About to send test email:

-To:xxxxx.gmail.com

-Subject:Dspace test email

-Server:10.2.16.102

 

Error: javax.mail.MessagingException: Could not connect to SMTP  host: 10.2.16.102, port: 25;

>    nested exception is:

>          javax.net.ConnectException:Connection refused

 

Please see the DSpace documentation for assistance.

 

 

Thnask

sisay