cancel
Showing results for 
Search instead for 
Did you mean: 

email setup/alternative- Alfresco Community

mr2face
Champ in-the-making
Champ in-the-making
I've been trying to setup my alfresco email setup for inviting users. i did manage to locate a couple of .properties files but they are either not in the folder that the guides take me to, or are not in the same extension. I found one that had a lot of # before each letter and i changed the values as well, but the invites are still not working.

speaking of which, can anyone advise if there is a way to invite users other than through email? perhaps through a messenger or other hookup that works in a LAN setting?
4 REPLIES 4

michaelc
Champ on-the-rise
Champ on-the-rise
e-mail setup is simple.
in the <ALFRESCO>\tomcat\shared\classes\alfresco-global.properties
  you need to define where your SMTP server is and the user to send email as.
  also the email server needs to be available to this server.  ( check your firewalls )

also if the server requires authentication you need to define that.
#
# Outbound Email Configuration
#————-
mail.host=email.server.com
mail.port=25
mail.username=
mail.password=
mail.encoding=UTF-8
mail.from.default=me@email.server.com
mail.smtp.auth=false

mr2face
Champ in-the-making
Champ in-the-making
i made the changes you suggested but no luck with invites so far. My outgoing SMTP requires authentication and uses the same login details as incoming. Please advise.

this is what the file said in notepad:

###############################
## Common Alfresco Properties #
###############################

#
# Sample custom content and index data location
#
#dir.root=/srv/alfresco/alf_data

#
# Sample database connection properties
#
#db.username=alfresco
#db.password=alfresco

#
# External locations
#————-
#ooo.exe=soffice
#ooo.enabled=false
#jodconverter.officeHome=./OpenOffice.org
#jodconverter.portNumbers=8101
#jodconverter.enabled=true
#img.root=./ImageMagick
#swf.exe=./bin/pdf2swf

#
# Property to control whether schema updates are performed automatically.
# Updates must be enabled during upgrades as, apart from the static upgrade scripts,
# there are also auto-generated update scripts that will need to be executed.  After
# upgrading to a new version, this can be disabled.
#
#db.schema.update=true

#
# MySQL connection
#
#db.driver=org.gjt.mm.mysql.Driver
#db.url=jdbc:mysql://localhost/alfresco?useUnicode=yes&characterEncoding=UTF-8

#
# Oracle connection
#
#db.driver=oracle.jdbc.OracleDriver
#db.url=jdbcSmiley Surprisedracle:thin:@localhost:1521:alfresco

#
# SQLServer connection
# Requires jTDS driver version 1.2.5 and SNAPSHOT isolation mode
# Enable TCP protocol on fixed port 1433
# Prepare the database with:
# ALTER DATABASE alfresco SET ALLOW_SNAPSHOT_ISOLATION ON;
#
#db.driver=net.sourceforge.jtds.jdbc.Driver
#db.url=jdbc:jtds:sqlserver://localhost:1433/alfresco
#db.txn.isolation=4096

#
# PostgreSQL connection (requires postgresql-8.2-504.jdbc3.jar or equivalent)
#
#db.driver=org.postgresql.Driver
#db.url=jdbcSmiley Tongueostgresql://localhost:5432/alfresco

#
# Index Recovery Mode
#————-
#index.recovery.mode=AUTO

#
# Outbound Email Configuration
#————-
mail.host=www.xxx.com
mail.port=25
mail.username=alfresco@xxx.com
mail.password=xxx
mail.encoding=UTF-8
mail.from.default=alfresco@xxx.com
mail.smtp.auth=true

#
# Alfresco Email Service and Email Server
#————-

# Enable/Disable the inbound email service.  The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
#email.inbound.enabled=true

# Email Server properties
#————-
#email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com
#email.inbound.unknownUser=anonymous

# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
#   .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#————-
#email.server.allowed.senders=.*

#
# The default authentication chain
# To configure external authentication subsystems see:
# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems
#————-
#authentication.chain=alfrescoNtlm1:alfrescoNtlm

#
# URL Generation Parameters (The ${localname} token is replaced by the local server name)
#————-
#alfresco.context=alfresco
#alfresco.host=${localname}
#alfresco.port=8080
#alfresco.protocol=http
#
#share.context=share
#share.host=${localname}
#share.port=8080
#share.protocol=http

#imap.server.enabled=true
#imap.server.port=143
#imap.server.host=localhost

# The RMI registry host and port is defined in the alfresco-shared.properties file
#
# To make your RMI services available from other machines you will need to change
# alfresco.rmi.services.host from "localhost".
# alfresco.rmi.services.port=50500
# alfresco.rmi.services.host=localhost
#
# RMI service ports for the individual services.
# These seven services are available remotely.
#
# Assign individual ports for each service for best performance
# or run several services on the same port. You can even run everything on 50500 if needed.
#
# Select 0 to use a random unused port.
#
#avm.rmi.service.port=50501
#avmsync.rmi.service.port=50502
#attribute.rmi.service.port=50503
#authentication.rmi.service.port=50504
#repo.rmi.service.port=50505
#action.rmi.service.port=50506
#wcm-deployment-receiver.rmi.service.port=50507
#monitor.rmi.service.port=50508

michaelc
Champ on-the-rise
Champ on-the-rise
Dumb question I know but.

  on the mail server http://www.xxx.com you do have an account defined for a user alfresco@xxx.com  with a password of xxx ?
  from the alfresco server can you ping the mail server ?

mr2face
Champ in-the-making
Champ in-the-making
yes i've created the account on my domain. i'm not sure how to ping the mail server. can you tell me how to do it?