cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound Email Server Log

jwrobel
Champ in-the-making
Champ in-the-making
I've been having a lot of fun setting up the Inbound email server but Postfix keeps throwing some errors:

Dec 22 11:13:55 localhost postfix/smtp[8662]: 4AEB61A6637: to=<invoices@test.lan>, relay=127.0.0.1[127.0.0.1]:2525, delay=0.14, delays=0.02
Dec 22 11:13:55 localhost postfix/smtp[8662]: 4AEB61A6637: to=<invoices@test.lan>, relay=127.0.0.1[127.0.0.1]:2525, delay=0.14, delays=0.02/0.09/0.03/0.01, dsn=5.0.0, status=bounced (host 127.0.0.1[127.0.0.1] said: 554 'person@test.net' has been denied access. (in reply to MAIL FROM command))

It looks like Postfix is forwarding correctly to port 2525 but /var/log/maillog shows an access denied error.

custom-email-server.properties:

email.inbound.enabled=true
email.inbound.unknownUser=anonymous
email.server.enabled=true
email.server.port=2525
email.server.domain=gsipt.lan
mail.server.allowed.senders=.*

Unfortunetly, alfresco.log doesn't log anything about the error. i've looked in the log4j.properties file but it doesn't say anything about logging for email.

Are the email server messages being stored somewhere else? or is there a way to turn them on?  Does anyone know how to get Alfresco's inbound email log info?
3 REPLIES 3

jbcordina
Champ in-the-making
Champ in-the-making
Hi!

I'm trying to set up the inbound email server too.

after reading this documentation : http://wiki.alfresco.com/wiki/Email_Server_Configuration, i think you don't have to specifiy any senders :
# 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
#email.server.allowed.senders=

And do you have created the "EMAIL_CONTRIBUTORS" group ?

Hopes it can help you.

I have a question in return : how can I test the inbound email server ? wich tool do you use to send an email to your server ? thx.

PS : Sorry for my poor english…

zaizi
Champ in-the-making
Champ in-the-making
@jwrobel

See http://wiki.alfresco.com/wiki/Email_Server_Configuration#Groups_and_Permissions.

Does the user with the email person@test.net have the appropriate permissions to the document / forum / folder? The access denied error could be from the processing of the email as well. The Email Service does not define any loggers.

@jbcordina
The easiest way to test is to configure your favourite mail client to use Alfresco server as the SMTP server for out bound mail. (Leave the inbound config empty). Then you can just send email directly to the server including attachments.

mziegler
Champ in-the-making
Champ in-the-making
custom-email-server.properties:

email.inbound.enabled=true
email.inbound.unknownUser=anonymous
email.server.enabled=true
email.server.port=2525
email.server.domain=gsipt.lan
mail.server.allowed.senders=.*

well there is an 'e' missing at the beginning of the last line:
email.server.allowed.senders=.*

for me it only worked with defining allowed senders. However I am stil struggling with the wildcards to restrict access to certain users.