cancel
Showing results for 
Search instead for 
Did you mean: 

Imap on alfresco 3.2 r

mahdi
Champ in-the-making
Champ in-the-making
hi, i didn't get how to configure imap on alfresco 3.2 r.
my alfresco server 's ip = 192.168.1.41
i have a local smtp server installed on windows 2003 server machine with ip = 192.168.1.231,  and i modified the file
alfresco-global.properties as shown below :

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

#
# Sample custom content and index data location
#————-
dir.root=D:/Alfresco/alf_data

#
# Sample database connection properties
#————-
db.name=alfresco
db.username=alfresco
db.password=alfresco
db.host=localhost
db.port=3306

#
# External locations
#————-
ooo.exe=D:/Alfresco/OpenOffice.org/program/soffice
img.root=D:/Alfresco/ImageMagick
swf.exe=D:/Alfresco/bin/pdf2swf

#
# Initial admin password
#————-
alfresco_user_store.adminpassword=209c6174da490caeb422f3fa5a7ae634

#
# MySQL connection
#————-
db.driver=org.gjt.mm.mysql.Driver
db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}
hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect

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

#
# Outbound Email Configuration
#————-
mail.host=192.168.1.x
mail.port=25
mail.username=mahdi
mail.password=passwd
mail.encoding=UTF-8
mail.from.default=alfresco@alfresco.org
mail.smtp.auth=false
mail.protocol=smtp
#
# 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

#
# IMAP
#————-
imap.server.enabled=true
imap.server.port=1143
imap.server.host=192.168.1.41
web.application.context.url=http://192.168.1.41:9090/alfresco/

i use outlook 2007 as mail client, and a created and configured an account with :
out-coming server : 192.168.1.231 and incoming server 192.168.1.41

but i didn't get my imap directories in outlook and i didn't get any mail.

is there other configurations that need to be done??
please help
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Your configuration looks good.

Check your alfresco.log file for any errors to do with imap.

Then I'd look at your settings in Outlook.     Have you, for example, refreshed your folders?

mahdi
Champ in-the-making
Champ in-the-making
thanks for the replay.

here is my alfresco.log : 

14:21:29,671 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'wcm_deployment_receiver' subsystem, ID: [default]
14:21:29,703 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopped 'wcm_deployment_receiver' subsystem, ID: [default]
14:21:29,765 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Stopping 'fileServers' subsystem, ID: [default]
14:21:40,437 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
14:21:40,437 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
14:21:40,437 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/D:/Alfresco/tomcat/shared/classes/alfresco-global.properties]
14:21:40,531 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:21:48,812 INFO  [org.alfresco.config.source.UrlConfigSource] Found META-INF/web-client-config-custom.xml in file:/D:/Alfresco/tomcat/webapps/alfresco/WEB-INF/lib/valider-advancedWorkflow.jar
14:21:58,750 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
14:22:00,421 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
14:22:03,843 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [default]
14:22:03,859 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:22:04,484 WARN  [org.alfresco.util.OpenOfficeConnectionTester] An initial OpenOffice connection could not be established.
14:22:04,484 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [default] complete
14:22:05,546 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: D:\Alfresco\alf_data
14:22:05,593 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …
14:22:05,843 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.
14:22:05,843 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 1 module(s).
14:22:05,890 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Starting module 'org.alfresco.module.vti' version 1.2.
14:22:06,234 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]
14:22:06,250 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:22:06,453 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]
14:22:06,484 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:22:06,562 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete
14:22:06,750 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
14:22:06,750 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
14:22:06,765 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]


[b]14:22:06,875 INFO  [org.alfresco.repo.imap.AlfrescoImapServer] IMAP service started on host:port 192.168.1.41:1143.
14:22:06,875 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete[/b]


14:22:06,875 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]
14:22:06,890 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:22:06,937 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete
14:22:07,140 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_07-b06; maximum heap size 493,063MB
14:22:07,140 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493,063MB is less than recommended 512MB
14:22:07,140 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (r 2384) schema 3003 - Originally installed version 3.2.0 (r 2384) schema 3003
14:22:07,437 INFO  [org.alfresco.module.vti.VtiServer] Vti server started successfully on port: 7070
14:22:18,218 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'wcm_deployment_receiver' subsystem, ID: [default]
14:22:18,234 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
14:22:18,296 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [default] complete
14:22:21,281 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
14:22:23,546 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
14:23:00,125 INFO  [org.alfresco.util.OpenOfficeConnectionTester] The OpenOffice connection was re-established.



as you can see the imap service started successfully.

i have tried many times to refresh the directories in my  outlook account , but it didn't work.
in fact, i used a virtual machine with  (windows 2003 server as OS) which i added the role of mail server (pop3, smtp).
i can see my emails if i use pop3 instead of imap.( if i put my server 's ip as  both  the incoming and the outcoming server in outlook). but if i use my alfresco server as imap server i didn't get anything.

my outlook configuration :
i have created a mail box "mahdi" on my server named alfresco-mail.org , i created an account with address mahdi@alfresco-mail.org  on outlook , used 192.168.1.231 as smtp server (port 25)  and 192.168.1.41(alfresco server) as imap server ( port 1143).
what's wrong with my configuration??




i have a question : how to create the mail account ? and where?