Exclude One Mails in Catch All Default Routing rule in Google Workspace - google-workspace

I am administering Google Workspace email service and I had a catch all done for the delivery of all mails sent to non exiting mailboxes to go in one specific mail box. I've did this with Default Routing rule.
Now I need to reroute support#domain.com mail to external Help Desk system. I've did a default routing rule and it is working, but the global catch rule is catching also the support#domain.com mails.
Can you suggest how I can exclude the support mails?
I've tried to do the support mails with routing, but the default rule still catches them.

Related

Postfix Mail Relay - Only permit sending to specific emails

I am learning how to configure postfix. I would like to setup a mail relay to only forward emails for specific recipients email addresses and block, or even better redirect to the block addresses to generic account for investigation.
The relay will be used in a development environment and I want to ensure that production emails addresses are not accidentally used in development or testing. As a specific example I would like to create a list of emails address recipients that mail is permitted to be forwarded to eg:
dev#example.com
test#example.com
Block any other address that the relay is asked to forward for example.com. Ideally I would like to forward all blocked to an account check#example.com to investigate.
Could some one point me to the section of the postfix configuration file I should look into?
Thanks
Densha
You'll have to do a couple parts to the setup.
Part 1 is your allowed list. What emails are allowed to be sent out. If this list will change frequently you'll want to look into using an external lookup like mysql for this. If you use flat files in the postfix configuration directory then you'll have to restart postfix for each change. With mysql it will perform a new lookup each time, no restart. Postfixadmin is a tool that may help in this case.
For your 2nd problem of redirecting all mail to another account for investigation see this other solution.
https://serverfault.com/questions/144325/how-to-redirect-all-postfix-emails-to-one-external-email-address

Stop exim from forwarding email

Problem;
I have setup Gmail split delivery; one address stays at Gmail while all other addresses for my domain go to my hosting provider. So far so good.
MX records point to Gmail.
The hosting provider uses exim and all mail coming (routed) from Gmail is being routed back to Gmail (by the hosting provider), ultimately resulting in this error: Diagnostic-Code: smtp; A delivery loop was detected which causes this email to be undeliverable.
What I need to do is simply disable this "feature" in exim, so all incoming mail is routed to the corresponding, local, mailbox and not bounced back to Gmail.
I have been researching for a while now and I simply can't find anything to get the job done.
Ideas, suggestions, input would be greatly appreciated.
Thank you!
You must add your domain as local at hosting provider's side.
If hosting management panel has a facility to add mail domains, just use it.

Outlook Rule to Send Mail On Mail Receipt

Is there a way for Outlook 2010 to send an email whenever a message is received? I don’t want the original email forwarded or redirected (major business rules violation); I just want to receive an email alert at another address. It would be great if that message included the subject and sender but not necessary. It seems like there should be a rule to do this but I need help creating it.
I thought about using an Outlook rule to call a VBA script to send the email. I tested a couple of scripts but they didn’t work for me. I don’t think my account has the proper security clearance or the VM environment is configured to not allow sendmail scripts.
How to send a mail automatically
The accepted answer gives me the following error:
Line 6: Adodb.fields
Arguments are of the wrong type, out of acceptable range, or are in conflict with oneanother
Send Email using VBscript
The script given at the end of the thread gives me this error:
SendMail Failed: The transport failed to connect to the server
and the telnet test step failed as well.
And since I don't want to risk my job trying to circumvent security policy I really hope there is something built into Outlook that will allow me to accomplish my goal.
You can use Auto-Mate Pro, a 3rd party rule add-in for Outlook to do this. One of the rule actions is called "Send Message". There you can choose an predefined template you create for the email alert body. You can also specify the email address to send the alert email to.
www.pergenex.com/auto-mate
Hope it helps.

PowerMTA Config Override for Return-Path for Virtual MTA

Our setup uses OEM Pro to drop the emails into a PowerMTA pickup directory. OEM Pro only allows us to specify one global catch all domain. This global catch all domain is being used as the return-path and the return-path is what has to be verified by the SPF record lookup. So this is not an ideal situation since we would like each client to have their own SPF records, and have their domain in the return-path.
We have deduced that our best approach would be to configure PowerMTA to override the return-path address, is it possible to configure this the PMTA config for a Virtual MTA?
I received the following reply from PowerMTA Support on the similar issue:
No message content is set by PowerMTA. We cannot set any headers.
This is done by your feeding application. Other MTA servers may offer
this functionality, but PowerMTA does not.
So, I changed my app to use their .Net API, and it's possible to set MAIL FROM there.

Send email from server without SMTP enabled

I have written a couple of web sites that contain a "contact us" form.
However, our host recently switched SMTP off. Their excuse is "security issues".
The solution they offer is that they implemented rules whereby all mail generated from the platforms must be sent using the sendmail/phpmail functions and pass through a mail relay which checks the mails and their content and ensures malicious content and activity is completely blocked and they recommend I use "A virtual or dedicated solution".
I have no idea what it is they want me to do to get emailing working again and this is quite urgent as many clients are not getting their emails.
Is there an easy way to go around this in order to get emailing working again?
Many thanks in advance
It generally means that you will have to specify the new mail server they are providing instead of localhost in your code. Further, earlier, you were able to send the mail without authenticating but now on, you must have an account and you must authenticate before you send the mail. (I am not sure though, may be they allow relay to their own servers and you might not need authentication).
Go to the control panel of your hosting account and check for the mail panel. Check out the new smtp server name there and code your site to use this smtp server with credentials. This will let you send mail again.