<div dir="ltr"><div><div><div>Hello Eoin,<br><br></div>Remeber that the handling of the recipient part, the FromOrTo thing in this case, only looks at the first recipient in multi-recipient mails. You need configure your mta (incoming, in case you use a multi-mta setup... For Postfix, the split will happen too late, in a single instance setup, so you need find/use my very old "two-instance-split-per/recipient" wiki article... if at all possible... or DIY;-)) to split incoming e-mails/recipient.<br><br></div>Cheers!<br>-- <br></div>-- Glenn<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-25 5:22 GMT+01:00 Eoin Kim <span dir="ltr"><<a href="mailto:Eoin.Kim@rcst.com.au" target="_blank">Eoin.Kim@rcst.com.au</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Mark,<br>
<br>
That is a good question indeed.<br>
- First option is definitely not desired.<br>
- Second option looks okay but I guess the other way (From the Internet to my company) will be affected as well. I mean it will affect my scenario #2.<br>
- Third option means dropping the email without any notification?<br>
<br>
It is a good question but very hard to determine. Let me think about it. Thanks a lot.<br>
<span class="im HOEnZb"><br>
Eoin<br>
<br>
-----Original Message-----<br>
From: MailScanner [mailto:<a href="mailto:mailscanner-bounces%2Beoin.kim">mailscanner-bounces+<wbr>eoin.kim</a>=<a href="mailto:rcst.com.au@lists.mailscanner.info">rcst.com.au@lists.<wbr>mailscanner.info</a>] On Behalf Of Mark Sapiro<br>
</span><span class="im HOEnZb">Sent: Wednesday, 25 January 2017 2:13 PM<br>
To: MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.<wbr>mailscanner.info</a>><br>
Subject: Re: [Question] RE: sending warning message<br>
<br>
</span><div class="HOEnZb"><div class="h5">On 01/24/2017 07:54 PM, Eoin Kim wrote:<br>
><br>
> Thanks for your message. Yes, you are right. At the moment, the receiver gets an email with an attachment (%org-name%-Attachment-<wbr>Warning.txt). What I want to achieve is sending the message to the sender only because it's a sender's fault (e.g. double extension filename). So, it's a bit difficult to explain with my limited English but for example, when a company user sends an email with double extension filename attachment, then:<br>
><br>
> MailScanner: hey, you are doing a bad thing (to sender)<br>
> MailScanner: hey, he is doing a bad thing to you (to receiver)<br>
><br>
> So, I don't want the second thing to happen. Is it possible? Thanks.<br>
<br>
<br>
What do you want the recipient to get?<br>
<br>
1) A message as sent by the sender with no alteration.<br>
2) A message with the attachment removed with no indication or explanation of that<br>
3) Nothing at all.<br>
<br>
I'm not really sure if any of those options can be accomplished. My previous suggestion to use a Scan Messages rule set to not scan outbound mail will accomplish 1), but won't notify the sender.<br>
<br>
In any case, once you clarify what you want the recipient to receive if anything, I'll think about ways to accomplish it.<br>
<br>
--<br>
Mark Sapiro <<a href="mailto:mark@msapiro.net">mark@msapiro.net</a>> The highway is for gamblers,<br>
San Francisco Bay Area, California better use your sense - B. Dylan<br>
<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">-- Glenn<br>email: glenn < dot > steen < at > gmail < dot > com<br>work: glenn < dot > steen < at > ap1 < dot > se</div>
</div>