cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound Email Rejected

newmember
Champ in-the-making
Champ in-the-making
I can send email to alfresco if the email comes from @alfresco.com any other domain is rejected.
Any ideas?  What am I missing?

Error:
<[email protected]>: host alfresco.alliance.com[192.168.100.112] said: 554 '[email protected]' has been denied access to '[email protected]'.  

/alfresco-global.properties:
# 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=2525
email.server.domain=alliance.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=.*
7 REPLIES 7

_sax
Champ in-the-making
Champ in-the-making
You maybe could try to comment these two lines, since they do not have an effect on my side.

email.server.domain=alliance.com
email.inbound.unknownUser=anonymous

And do you have used portforwarding to 2525 for inbound mails? This would require postfix or other programs to be configured, I presume. Maybe there is some limitation applied in their configurations, that could have been overlooked?

Other than that your configuration should work, as soon as the receiving person is member of the EMAIL_CONTRIBUTORS group. That should be the case, since you can receive mails from someone(@alfresco.com).

newmember
Champ in-the-making
Champ in-the-making
I have a NAT port forward from external port 25 to alfresco port 2525.
I can connect and send email directly to alfresco with a email client like thunderbird.

The issue is that when I send emails from different emails other domains are rejected and that come through my email server.

Here is error I see when the email comes from my email server:

<[email protected]>: host
    alfresco.domain.com[192.168.100.112] said: 554
    '[email protected]' has been denied access to
    '[email protected]'.  (in reply to end of DATA command)

newmember
Champ in-the-making
Champ in-the-making
I am still having this problem but here are the results of some additional tests:

The first code capture is my smtp sending the email to alfresco with a "554 '[email protected]' has been denied access to '[email protected]'."
The second code capture is my smtp sending the email to alfresco with a "status=sent (250 Ok)"

The only difference is the sending email address:

Code1 = [email protected]
Code2 = [email protected]

I think I have the settings correct to access all email?

# Allow anyone:
#————-
email.server.allowed.senders=.*


Code1
Nov 23 15:36:56 mail postfix/qmgr[7622]: 6EA56214002: from=<[email protected]>, size=1048, nrcpt=1 (queue active)
Nov 23 15:36:56 mail amavis[4491]: (04491-12) FWD via SMTP: <[email protected]> -> <[email protected]>,BODY=7BIT 250 2.6.0   Ok, id=04491-12, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 6EA56214002
Nov 23 15:36:56 mail amavis[4491]: (04491-12) Passed CLEAN, [xx.xx.xx.xx] [xx.xx.xx.xx] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: BNiAqdCoOQU7, Hits: -1.298, size: 570, queued_as: 6EA56214002, 4821 ms
Nov 23 15:36:56 mail postfix/smtp[5621]: 6DE12214001: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=5.1,delays=0.25/0/0.01/4.8, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 6EA56214002)
Nov 23 15:36:56 mail postfix/qmgr[7622]: 6DE12214001: removed
Nov 23 15:36:56 mail postfix/smtp[7049]: 6EA56214002: to=<[email protected]>, relay=alfresco.alliance.com[192.168   .0.31]:25, delay=0.07, delays=0.02/0.01/0.02/0.03, dsn=5.0.0, status=bounced (host alfresco.alliance.com[192.168.0.31] said: 554 '[email protected]' has been denied access to '[email protected]'.  (in reply to end of DATA command))
Nov 23 15:36:56 mail postfix/cleanup[5626]: 84E8B214001: message-id=<[email protected]>
Nov 23 15:36:56 mail postfix/qmgr[7622]: 84E8B214001: from=<>, size=3205, nrcpt=1 (queue active)
Nov 23 15:36:56 mail postfix/bounce[7050]: 6EA56214002: sender non-delivery notification: 84E8B214001
Nov 23 15:36:56 mail postfix/qmgr[7622]: 6EA56214002: removed
Nov 23 15:36:56 mail postfix/lmtp[7550]: 84E8B214001: to=<[email protected]>, relay=mail.domain.ca[192.168.0.32]:7025, delay=0.1, delays=0.0 2/0/0/0.08, dsn=2.1.5, status=sent (250 2.1.5 OK)




Code2
Nov 23 15:39:39 mail postfix/cleanup[8653]: 5F63C214002: message-id=<[email protected]>
Nov 23 15:39:39 mail postfix/qmgr[7622]: 5F63C214002: from=<[email protected]>, size=1051, nrcpt=1 (queue active)
Nov 23 15:39:39 mail postfix/smtpd[8665]: disconnect from localhost[127.0.0.1]
Nov 23 15:39:39 mail amavis[30093]: (30093-14) FWD via SMTP: <[email protected]> -> <[email protected]>,BODY=7BIT 250 2.6.0 Ok, id=30093-14, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5F63C214002
Nov 23 15:39:39 mail amavis[30093]: (30093-14) Passed CLEAN, [xx.xx.xx.xx] [xx.xx.xx.xx] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: cEkRcRbdUB4C, Hits: -0.782, size: 573, queued_as: 5F63C214002, 4837 ms
Nov 23 15:39:39 mail postfix/smtp[8654]: 79FDF214001: to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.9,delays=0.1/0/0.01/4.8, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 5F63C214002)
Nov 23 15:39:39 mail postfix/qmgr[7622]: 79FDF214001: removed
Nov 23 15:39:39 mail postfix/smtp[8666]: 5F63C214002: to=<[email protected]>, relay=alfresco.alliance.com[192.168.0.31]:25, delay=0.21, delays=0.02/0/0.02/0.17, dsn=2.0.0, status=sent (250 Ok)
Nov 23 15:39:39 mail postfix/qmgr[7622]: 5F63C214002: removed

newmember
Champ in-the-making
Champ in-the-making
I am just not seeing my error, why can I only receive email from the alfresco.com domain?  eg:  Received by SMTP from '[email protected]'.
Where can I change or add domains?
I have added a user and added  the user to the EMAIL_CONTRIBUTORS group, but can see only receive email from @alfresco.com

Thanks
Chris

shikarishambu
Champ in-the-making
Champ in-the-making
Not sure if this applies to you http://forums.alfresco.com/en/viewtopic.php?f=9&t=21999

Make sure that you do not have any move content rules on the email enabled space. If you have a move content rule on an email enabled space Alfresco seems to reject the email. I have opened a bug ticket on this one

newmember
Champ in-the-making
Champ in-the-making
Thanks for the thought.
There are no rules on the space.

I have added an email alias to the space.
I can receive emails to that space if I send it directly to alfresco using  [email protected] email address.

I just used thunderbird and set smtp to be the alfresco box.
If I relay the same email through my email server, it gets rejected.

I have confirmed that the only email that is accepted is the same as the admin email address:   [email protected]
[email protected] wont be accepted.

I have added users to the EMAIL_CONTRIBUTORS group with their own email address and they are rejected as well.

Any other ideas please.

Thanks
Chris

Hi ‌ could you find any solution to ths problem? I know it's a 2009 post, But I'm having the same issue. Can you tell me if  you find some solution.?