Setting up auto-reply for Exchange Distribution Group/List? - exchange-server

So I thought I have this setup correctly, but it is not working. Maybe someone can help?
I setup a mailbox called formsmbx (for FORMS MailBoX)
I setup a distribution list (DL) in Exchange 2013 named forms
In this DL, I added one member (formsmbx).
In Exchange, I setup a mail flow rule with these parameters:
If sender is 'outside the organization' AND the To or CC box contains forms#,
Then bcc the message to formsmbx#.
I logged into a Windows computer running Outlook 2019 as formsmbx. I went to File/Manage Ruls & Alerts. I setup a Rule that says:
after message arrives
have server reply using 'auto reply'
So finally, I sent an email from test#gmail.com to forms#domain.com. What I found was the formsmbx# inbox receives the email, but there is never an auto-reply sent out.
If I send an email directly to formsmbx#, I do not get any reply.

Related

Exchange server filters emails with certain urls in the body of a message and message send fails silently?

I have noticed something very odd about certain emails sent on outlook via an exchange server -- it appears if certain URLs and embedded in the message, message send will fail silently. The message will show up in the "sent items" folder, but it is never actually received by the recipient.
I checked in with GoDaddy who supports my Office365 subscription and they confirmed the behavior (they couldn't send successfully send it either, other me or others in their organization) but had no explanation for the behavior.
I have confirmed that the message sends normally if I use one of my gmail accounts through outlook or or an icloud email account. But my two exchange accounts (on different domains) neither send nor receive any email with this particular embedded url:
(Makes no different if sent in plaintext or not). And other emails, with either no urls or even other urls, send normally. Does Microsoft have a problem with foundation? Or with NFTs or something?
https://foundation.app/#NyanCat/foundation/219
This happens to be the NyanCat NFT that sold for ~$700K a while ago, but no idea what it is about simply the presence of the URL in the body of the message to cause it to fail silently when sent or received on an Exchange server. Not sure if impacts other Exchange servers besides GoDaddy's, but does can anybody explain how this even happening or why?

Outlook calendar replaces plus sign in meeting organizer email address with spaces

I receive calendar invite to my outlook desktop client from one of the applications I use and the organizer email in the meeting invite was "scheduling-assistant+A6B890782A404B77#XXXXXX.com" (Masking the domain with X). When I tried to accept the meeting invite, I received the following exception
Delivery has failed to these recipients or groups:
Scheduling Assistant
The format of the email address isn't correct. A correct address looks like this: someone#example.com. Please check the recipient's email address and try to resend the message.
More information:
scheduling-assistant A6B890782A404B77#XXXXXX.com
Remote Server returned '550 5.1.3 STOREDRV.Submit; invalid recipient address'
ORGANIZER PROPERTY IN ICS FILE
ORGANIZER;CN=Calendar
Services:mailto:scheduling-assistant+A6B890782A404B77#XXXXXX.com
If we take a look at the email address in the delivery failed mail, plus sign was removed.
I have also recently started facing this issue. I think outlook must have made some changes to how it reads the .ics file.
You need to HTTP encode the organizer's email adderss.
I use python (django), and I used django.utils.http.urlquote to encode the email address:
organizer = vCalAddress(u"mailto:{}".format(urlquote("scheduling-assistant+A6B890782A404B77#XXXXXX.com"))) #<-- This is the only difference. I have encoded the email address.
This fixed the problem for me. I have tested this in Outlook and Google calendar.
Here is my original answer.

Exchange 2013 NDR issue for not existed user in a mailing list

I have an Exchange 2013 server.
Faced with a strange issue of email delivery what I can not solve.
Exchange is rejecting email
if one of the recipients is not exist in a domain
Email will be rejected totally and sender will receive NDR for not existing user.
scenario:
Exchange mailboxes user#domain.com // valid user
user1#domain.com //**user mailbox is not exist**
Sending email from external domain to my exchange server:
TO: user#domain.com,user1#domain.com
Reciving NDR Remote Server returned '550 5.1.1 RESOLVER.ADR.RecipNotFound;
valid user didn't receive email also.
email is rejected
.
I start to google and found that How do I reject incoming email for unknown users in MS Exchange 2013?
exchange has a user validation feature that is enabled by default
I disable it on a console restart transport role.
Set-RecipientFilterConfig -RecipientValidationEnabled $false
run the same scenario again
user#domain.com, user1.domain.com
I receive NDR for not existing user.
but email was delivered to valid user.
Is it a normal behavior for exchange?
What is right by RFC deliver for valid users or reject email?
how it will affect our server hit the public spam list?
Does this not reduce our spam filter resistance?
Please advice.
Thank you.
It's normal for Exchange to send an NDR for non existing users. As you already said, this might also trigger some spam lists because you are sending out mails (NDR) to possible spam honey pots.
A better way to do this would be to have your external MTA (the server which accepts the mail from the internet) check the recipients and refuse to accept mail for non existent email addresses. This way you would never have to send out NDR reports, as the server trying to deliver mail would be informed that it cannot deliver and notifies the sender itself.

E-Mail rule to move Mails to a specific address into folder

we've got a Exchange 2013 postbox with several E-Mail addresses assigned.
For better organization, Exchange should move incoming mail into various folders.
The target-folder depends on the SMTP-Address to which the mail was sent to.
Problem is: Exchange 2013 recognizes only the postbox itself as receipient and does not distinct between the different TO-addresses. How can a serverside-rule be made which respects TO?
Thanks for help!
Moving messages to a folder is a mailbox server side rule. You could log into the mailbox via OWA or Outlook and set up this rule.
Exchange will deliver mail to the recipient, its upto the recipient via rules what they want to do with it from there.

Extra Characters in email body

we have a problem with emails sent from CRM having extra characters added to the end, here is an example, this was sent from our system to a recipient in Germany - server locale is uk . the body of the email was just 'This is just a test email.'
we are using dynamics crm 4.0 on rollup 21 for server, client and email router. this particular email was sent using the web interface and email router.
does anyone have any idea where the extra text is coming from?
UPDATE - we have tracked this back to an email footer being added by our sonicwall email appliance. Will update again if we find out why it gets corrupted sometimes.
Von: sender
Gesendet: Dienstag, 2. Oktober 2012 14:21
An: sender
Betreff: test 2 october CRM:0161013
This is just a test email.
Nw֝瞘銘r׶&jwk&WyҊȵ鹗ة׺˺ȇ溺׵繈馗畫zf)yص鎗{۾ر銙ٵǢǢ'«녫ױʱ陧ziǦڲ&+~z˦W몶iȺ{N鱩{z˶)+zˁ溘궗حvwzˮ)繋yʥNrj|뢛抷ܢzح˭罸xƑ란h.)箋tYG)xzޗj渚iԭ熪xj`ؐ+tڍ馚{ۍמi˚)׭Ӯפ+zqVtګ}۟
Maybe it is problem with mail server. I think you can add additional text on every outgoing email. Did you check configuration of mail server?
Didn't manage to find an really fix of find out why the Sonicwall was causing this, our exchange guy just moves the footer from there to the Excahnge server and it works fins now.

Resources