cancel
Showing results for 
Search instead for 
Did you mean: 

SMTP Outbound Config Alfresco 4.0

mathias
Champ in-the-making
Champ in-the-making
hi there,

after reading and searching through wiki&forum, I have to ask the "crowd"…

1.) which is the correct file and path for a simple SMTP-outbound email configuration?
(starting from C:/alfresco/… on a standard installation)
–> following different instructions I changed different files, but without any effect.

2.) is there a file to be CREATED or CHANGED?

3.) how is the email-subsystem restarted to test the changes? or is there an other way, to test the settings?

thank you!
14 REPLIES 14

mathias
Champ in-the-making
Champ in-the-making
this is what happens when I start the server:
———————————-
[size=85]2012-06-18 09:56:48,209  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'Replication' subsystem, ID: [Replication, default]
2012-06-18 09:56:48,209  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'Replication' subsystem, ID: [Replication, default]
2012-06-18 09:56:48,255  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'Subscriptions' subsystem, ID: [Subscriptions, default]
2012-06-18 09:56:48,255  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'Subscriptions' subsystem, ID: [Subscriptions, default]
2012-06-18 09:56:48,255  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'googledocs' subsystem, ID: [googledocs, default]
2012-06-18 09:56:48,255  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'googledocs' subsystem, ID: [googledocs, default]
2012-06-18 09:56:48,255  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'email' subsystem, ID: [email, inbound]
2012-06-18 09:56:48,255  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'email' subsystem, ID: [email, inbound]
2012-06-18 09:56:48,255  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'fileServers' subsystem, ID: [fileServers, default]
2012-06-18 09:56:51,266  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'fileServers' subsystem, ID: [fileServers, default]
2012-06-18 09:56:51,282  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2012-06-18 09:56:51,282  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2012-06-18 09:56:51,282  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'OOoDirect' subsystem, ID: [OOoDirect, default]
2012-06-18 09:56:51,282  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'OOoDirect' subsystem, ID: [OOoDirect, default]
2012-06-18 09:56:51,297  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'Synchronization' subsystem, ID: [Synchronization, default]
2012-06-18 09:56:51,297  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'Synchronization' subsystem, ID: [Synchronization, default]
2012-06-18 09:56:51,297  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'email' subsystem, ID: [email, outbound]
2012-06-18 09:56:51,297  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'email' subsystem, ID: [email, outbound]
2012-06-18 09:56:51,297  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'imap' subsystem, ID: [imap, default]
2012-06-18 09:56:51,297  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'imap' subsystem, ID: [imap, default]
2012-06-18 09:56:51,765  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'Search' subsystem, ID: [Search, managed, solr]
2012-06-18 09:56:51,765  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'Search' subsystem, ID: [Search, managed, solr]
2012-06-18 09:56:51,781  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'thirdparty' subsystem, ID: [thirdparty, default]
2012-06-18 09:56:51,781  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'thirdparty' subsystem, ID: [thirdparty, default]
2012-06-18 09:56:51,781  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2012-06-18 09:56:51,797  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2012-06-18 09:56:51,812  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopping 'sysAdmin' subsystem, ID: [sysAdmin, default]
2012-06-18 09:56:51,812  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Stopped 'sysAdmin' subsystem, ID: [sysAdmin, default]
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
2012-06-18 09:57:23,168  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
2012-06-18 09:57:23,262  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
2012-06-18 09:57:34,416  WARN  [alfresco.util.AbstractTriggerBean] [Thread-1] Job ehCacheTracerJob is not active/enabled
2012-06-18 09:57:39,080  INFO  [extensions.webscripts.TemplateProcessorRegistry] [Thread-1] Registered template processor Repository Template Processor for extension ftl
2012-06-18 09:57:39,080  INFO  [extensions.webscripts.ScriptProcessorRegistry] [Thread-1] Registered script processor Repository Script Processor for extension js
2012-06-18 09:57:47,754  INFO  [domain.schema.SchemaBootstrap] [Thread-1] Schema managed by database dialect org.hibernate.dialect.PostgreSQLDialect.
2012-06-18 09:57:50,733  INFO  [domain.schema.SchemaBootstrap] [Thread-1] No changes were made to the schema.
2012-06-18 09:57:51,092  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'Search' subsystem, ID: [Search, managed, solr]
2012-06-18 09:57:51,233  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'Search' subsystem, ID: [Search, managed, solr] complete
2012-06-18 09:57:51,732  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'thirdparty' subsystem, ID: [thirdparty, default]
2012-06-18 09:57:51,935  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'thirdparty' subsystem, ID: [thirdparty, default] complete
2012-06-18 09:57:51,935  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'OOoDirect' subsystem, ID: [OOoDirect, default]
2012-06-18 09:57:53,604  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'OOoDirect' subsystem, ID: [OOoDirect, default] complete
2012-06-18 09:57:53,729  INFO  [repo.admin.ConfigurationChecker] [Thread-1] The Alfresco root data directory ('dir.root') is: C:\Alfresco\alf_data
2012-06-18 09:57:53,744  INFO  [admin.patch.PatchExecuter] [Thread-1] Checking for patches to apply …
2012-06-18 09:57:55,226  INFO  [admin.patch.PatchExecuter] [Thread-1] No patches were required.
2012-06-18 09:57:55,242  INFO  [repo.module.ModuleServiceImpl] [Thread-1] Found 2 module(s).
2012-06-18 09:57:55,336  INFO  [repo.module.ModuleServiceImpl] [Thread-1] Starting module 'org_alfresco_module_wcmquickstart' version 1.0.
2012-06-18 09:57:55,336  DEBUG [repo.module.ModuleComponentHelper] [Thread-1] Started module 'ModuleDetails[{module.version=1.0, module.description=Web Quick Start, module.id=org_alfresco_module_wcmquickstart, module.repo.version.max=999, module.title=Web Quick Start, module.repo.version.min=3.3, module.installState=INSTALLED, module.installDate=2012-06-17T05:42:36.219+02:00}]' including 0components.
2012-06-18 09:57:55,367  INFO  [repo.module.ModuleServiceImpl] [Thread-1] Starting module 'org.alfresco.module.vti' version 1.2.
2012-06-18 09:57:55,382  DEBUG [repo.module.ModuleComponentHelper] [Thread-1] Started module 'ModuleDetails[{module.version=1.2, module.description=Alfresco Vti Extension, module.id=org.alfresco.module.vti, module.repo.version.max=999, module.title=Vti, module.repo.version.min=0, module.installState=INSTALLED, module.installDate=2012-06-17T05:42:23.630+02:00}]' including 0components.
2012-06-18 09:57:55,398  DEBUG [repo.module.ModuleComponentHelper] [Thread-1] Installed module found in distribution: org_alfresco_module_wcmquickstart
2012-06-18 09:57:55,398  DEBUG [repo.module.ModuleComponentHelper] [Thread-1] Installed module found in distribution: org.alfresco.module.vti
2012-06-18 09:57:55,398  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'fileServers' subsystem, ID: [fileServers, default]
2012-06-18 09:57:56,303  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1]
2012-06-18 09:57:56,506  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'Authentication' subsystem, ID: [Authentication, managed, alfrescoNtlm1] complete
2012-06-18 09:57:56,568  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'fileServers' subsystem, ID: [fileServers, default] complete
2012-06-18 09:57:56,568  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'imap' subsystem, ID: [imap, default]
2012-06-18 09:57:56,646  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'imap' subsystem, ID: [imap, default] complete
2012-06-18 09:57:56,646  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'email' subsystem, ID: [email, outbound]
2012-06-18 09:57:59,860  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'email' subsystem, ID: [email, outbound] complete
2012-06-18 09:57:59,860  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'email' subsystem, ID: [email, inbound]
2012-06-18 09:57:59,969  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'email' subsystem, ID: [email, inbound] complete
2012-06-18 09:57:59,969  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'googledocs' subsystem, ID: [googledocs, default]
2012-06-18 09:58:00,047  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'googledocs' subsystem, ID: [googledocs, default] complete
2012-06-18 09:58:00,047  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'Subscriptions' subsystem, ID: [Subscriptions, default]
2012-06-18 09:58:00,078  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'Subscriptions' subsystem, ID: [Subscriptions, default] complete
2012-06-18 09:58:00,078  INFO  [repo.usage.UserUsageTrackingComponent] [Thread-1] Disabled - clear non-missing user usages …
2012-06-18 09:58:00,109  INFO  [repo.usage.UserUsageTrackingComponent] [Thread-1] Found 0 users to clear
2012-06-18 09:58:00,109  INFO  [repo.usage.UserUsageTrackingComponent] [Thread-1] … cleared non-missing usages for 0 users
2012-06-18 09:58:00,109  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'Synchronization' subsystem, ID: [Synchronization, default]
2012-06-18 09:58:00,312  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete
2012-06-18 09:58:00,499  INFO  [service.descriptor.DescriptorService] [Thread-1] Alfresco JVM - v1.6.0_22-b04; maximum heap size 910,250MB
2012-06-18 09:58:00,499  INFO  [service.descriptor.DescriptorService] [Thread-1] Alfresco started (Community). Current version: 4.0.0 (4003) schema 5.025. Originally installed version: 4.0.0 (4003) schema 5.025.
2012-06-18 09:58:00,499  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default]
2012-06-18 09:58:00,593  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'ActivitiesFeed' subsystem, ID: [ActivitiesFeed, default] complete
2012-06-18 09:58:00,593  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Starting 'Replication' subsystem, ID: [Replication, default]
2012-06-18 09:58:00,655  INFO  [management.subsystems.ChildApplicationContextFactory] [Thread-1] Startup of 'Replication' subsystem, ID: [Replication, default] complete
2012-06-18 09:58:04,493  INFO  [module.vti.VtiServer] [Thread-1] Vti server started successfully on port: 7070
2012-06-18 09:58:04,508  INFO  [module.vti.VtiServer] [Thread-1] Vti server SessionIdManagerWorkerName: jetty1
2012-06-18 09:58:17,908  WARN  [extensions.webscripts.DeclarativeRegistry] [Thread-1] Unable to register script classpath:webscripts/org/springframework/extensions/cmis/content.get.desc.xml due to error: 05180000 Web Script document org/springframework/extensions/cmis/content.get.desc.xml is attempting to define the url '/cmis/content:GET' already defined by org/alfresco/cmis/client/content.get.desc.xml
2012-06-18 09:58:17,908  INFO  [extensions.webscripts.DeclarativeRegistry] [Thread-1] Registered 477 Web Scripts (+1 failed), 745 URLs
2012-06-18 09:58:17,908  INFO  [extensions.webscripts.DeclarativeRegistry] [Thread-1] Registered 2 Package Description Documents (+0 failed)
2012-06-18 09:58:17,908  INFO  [extensions.webscripts.DeclarativeRegistry] [Thread-1] Registered 1 Schema Description Documents (+0 failed)
2012-06-18 09:58:17,908  INFO  [extensions.webscripts.AbstractRuntimeContainer] [Thread-1] Initialised Repository Web Script Container (in 9033.035ms)
2012-06-18 09:58:17,939  INFO  [extensions.webscripts.TemplateProcessorRegistry] [Thread-1] Registered template processor freemarker for extension ftl
2012-06-18 09:58:17,939  INFO  [extensions.webscripts.ScriptProcessorRegistry] [Thread-1] Registered script processor javascript for extension js
2012-06-18 09:58:38,651  INFO  [extensions.webscripts.TemplateProcessorRegistry] [Thread-1] Registered template processor freemarker for extension ftl
2012-06-18 09:58:38,745  INFO  [extensions.webscripts.ScriptProcessorRegistry] [Thread-1] Registered script processor javascript for extension js
2012-06-18 09:58:38,760  INFO  [extensions.webscripts.TemplateProcessorRegistry] [Thread-1] Registered template processor freemarker for extension ftl
2012-06-18 09:58:38,760  INFO  [extensions.webscripts.ScriptProcessorRegistry] [Thread-1] Registered script processor javascript for extension js
2012-06-18 09:58:43,643  INFO  [extensions.webscripts.DeclarativeRegistry] [Thread-1] Registered 314 Web Scripts (+0 failed), 324 URLs
2012-06-18 09:58:43,643  INFO  [extensions.webscripts.DeclarativeRegistry] [Thread-1] Registered 8 Package Description Documents (+0 failed)
2012-06-18 09:58:43,643  INFO  [extensions.webscripts.DeclarativeRegistry] [Thread-1] Registered 0 Schema Description Documents (+0 failed)
2012-06-18 09:58:44,220  INFO  [extensions.webscripts.AbstractRuntimeContainer] [Thread-1] Initialised Spring Surf Container Web Script Container (in 5327.7603ms)
2012-06-18 09:58:44,220  INFO  [extensions.webscripts.TemplateProcessorRegistry] [Thread-1] Registered template processor freemarker for extension ftl
2012-06-18 09:58:44,236  INFO  [extensions.webscripts.ScriptProcessorRegistry] [Thread-1] Registered script processor javascript for extension js
09:58:45,234 WARN  [org.apache.myfaces.shared_impl.util.LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : de_AT[/size]

bisana
Champ on-the-rise
Champ on-the-rise
Ur log files does not show any error on mail.
In future please use code tag to post the error messages, it is easy to read and respond

mrogers
Star Contributor
Star Contributor
There's also a setting to turn on invitations by email.

#Invitation Service
# Should send emails as part of invitation process.
notification.email.siteinvite=true

Assuming that is set and you are not getting errors from sending email the next issue is that gmail is rather aggressive with its spam filtering and you will need to configure another account.

mathias
Champ in-the-making
Champ in-the-making
thank you, that maybe was the missing link…

Problem solved:

1.) new installation (win7)
2.) Googlemail-config from
http://wiki.alfresco.com/wiki/Outbound_E-mail_Configuration
in
C:\Alfresco\tomcat\shared\classes\alfresco-global.properties
2a.) parameters in same file changed
### E-mail site invitation setting ###
notification.email.siteinvite=true

3.) Login as admin
4.) create site
5.) inviting external user
–> eMail to user is sent and received

Thank you!

chrispine
Champ in-the-making
Champ in-the-making
The idea of the emails being enabled was the thing that had me all messed up.  The following:

### E-mail site invitation setting ###
notification.email.siteinvite=true

has to be in the config file.  No other site mentioned that.  Awesome post!!