<div dir="ltr"><div><div><div><div>It's fairly easy with Postfix as well Alex, but you do need introduce a separate postfix instance that only accept email and split/recipient (and do RBLs and whatever you do at reception time), and then passes everything on to a second, MailScanner-configured, instance.<br><br></div>Hah, I found the old t*rd of a page here: <a href="https://web.archive.org/web/20140627065723/http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:how_to:split_mails_per_recipient">https://web.archive.org/web/20140627065723/http://wiki.mailscanner.info/doku.php?id=documentation:configuration:mta:postfix:how_to:split_mails_per_recipient</a><br></div>It details (in a rather more confusing manner than it really is) how to split emails/recipient ... Enjoy the blast from the past:-)<br><br></div>Cheers!<br>-- <br></div>-- Glenn<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-25 14:53 GMT+01:00 <span dir="ltr"><<a href="mailto:alex@vidadigital.com.pa" target="_blank">alex@vidadigital.com.pa</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">I believe it should be a lot easier with sendmail, I could help a bit more if that were the case.<div><br><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><table style="color:rgb(153,153,153);font-size:12px;width:470px;font-family:Helvetica,Arial,sans-serif" width="470" border="0"><tbody><tr valign="top"><td style="width:10px;vertical-align:top;white-space:nowrap"><img src="https://s3.amazonaws.com/ucwebapp.wisestamp.com/3a24359a-1c75-4fb9-b572-f019a13fd09a/alexneuman.format_png.resize_120x.png" alt="logo" style="border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:4px;width:65px" width="65" height=" "> <span style="font-size:small">  <br></span></td><td style="text-align:initial"><span style="font-size:14px"><span style="color:rgb(128,128,128)"><strong class="m_2038824010325592936theme-font" style="color:rgb(0,161,230)">Alex Neuman van der Hans</strong> <span style="color:rgb(136,136,136)"><em>Producer/Host</em></span><span style="color:rgb(136,136,136)"><em>, Vida Digital</em></span></span></span><br><span style="font-size:14px"><span style="color:rgb(128,128,128)"><a href="tel:+1%20(440)%20253-9789" style="text-decoration:none;color:rgb(128,128,128)" target="_blank">+1 (440) 253-9789</a> </span><span style="color:rgb(128,128,128)"><span style="color:rgb(0,161,230)">| </span><a href="tel:+507%206781-9505" style="text-decoration:none;color:rgb(128,128,128)" target="_blank">+507 6781-9505</a> </span><span style="color:rgb(128,128,128)"><span style="color:rgb(0,161,230)">| </span>Panama </span></span><span style="font-size:14px"><span style="color:rgb(0,161,230)">|</span><a href="mailto:alex@vidadigital.com.pa" style="color:rgb(128,128,128)" target="_blank">alex@<wbr>vidadigital.com.pa</a> </span><span style="font-size:14px"><span style="color:rgb(0,161,230)">| </span><a href="http://vidadigital.com.pa/" rel="nofollow" style="color:rgb(128,128,128)" target="_blank">http://<wbr>vidadigital.com.pa/</a> </span><span style="font-size:14px"><span style="color:rgb(0,161,230)">| </span><span style="color:rgb(128,128,128)">Skype:<a href="https://webapp.wisestamp.com/sig_iframe?origin=mac-mail&signature_id=5234486814965760&t=0.4486080201114071#" style="text-decoration:none;color:rgb(128,128,128)" target="_blank">al<wbr>exneuman</a></span> </span><span style="font-size:14px;color:rgb(128,128,128)"><span style="color:rgb(0,161,230)">| </span><a href="http://wiseintro.co/alexneuman" target="_blank">wiseintro.co/<wbr>alexneuman</a> </span><br><div style="margin-top:5px"><a href="http://facebook.com/vidadigital" target="_blank"><img src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/facebook.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px;height:29px" width="32" height="32"></a> <a href="http://pa.linkedin.com/in/alexneuman" target="_blank"><img src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/linkedin.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px;height:29px" width="32" height="32"></a> <a href="http://twitter.com/alexneuman" target="_blank"><img src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/twitter.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px;height:29px" width="32" height="32"></a> <a href="http://pinterest.com/vidadigital" target="_blank"><img src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/pinterest.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px;height:29px" width="32" height="32"></a> <a href="http://youtube.com/user/reliantpty" target="_blank"><img src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/youtube.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px;height:29px" width="32" height="32"></a> <a href="http://instagram.com/vidadigital" target="_blank"><img src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/instagram.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px;height:29px" width="32" height="32"></a> <a href="http://vidadigital.com.pa.wordpress.com/" target="_blank"><img src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/wordpress.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px;height:29px" width="32" height="32"></a> <a href="http://amazon.com/?tag=vidadigi-20" target="_blank"><img src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/amazon.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px;height:29px" width="32" height="32"></a> <a href="http://skype:alexneuman/?call&topic=Signature" target="_blank"><img src="https://s3.amazonaws.com/webapp.wisestamp.com/XT9yavvmRJaZZvINZFTQ_skype.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px" width="29px" height="32"></a> <a href="http://whatsapp//send?text=Hello" target="_blank"><img src="https://s3.amazonaws.com/webapp.wisestamp.com/wEM3vsigQhq5yev6iwEV_whatsapp.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px" width="29px" height="32"></a> <a href="http://wiseintro.co/alexneuman" target="_blank"><img src="https://s3.amazonaws.com/images.wisestamp.com/icons_32/wiseintro.png" style="border-top-left-radius:0px;border-top-right-radius:0px;border-bottom-right-radius:0px;border-bottom-left-radius:0px;border:0px;width:29px;height:29px" width="32" height="32"></a></div></td></tr></tbody></table><div><br></div></div><br class="m_2038824010325592936Apple-interchange-newline">
</div><div><div class="h5">
<br><div><blockquote type="cite"><div>On Jan 25, 2017, at 5:54 AM, Eoin Kim <<a href="mailto:Eoin.Kim@rcst.com.au" target="_blank">Eoin.Kim@rcst.com.au</a>> wrote:</div><br class="m_2038824010325592936Apple-interchange-newline"><div><div id="m_2038824010325592936divtagdefaultwrapper" style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:12pt;background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif"><div style="margin-top:0px;margin-bottom:0px">Hey Glenn,</div><div style="margin-top:0px;margin-bottom:0px"><br></div><div style="margin-top:0px;margin-bottom:0px">Thanks. I have been thinking about this for almost the whole day but doesn't look easy at my skill level. I need more time to think. Cheers.<br></div><div style="margin-top:0px;margin-bottom:0px"><br></div><div id="m_2038824010325592936Signature"><div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif;margin:0px"><div style="margin-top:0px;margin-bottom:0px"><b><span style="color:rgb(0,112,192)" lang="EN-GB">Eoin Kim</span></b></div><div style="margin-top:0px;margin-bottom:0px"><span style="color:rgb(31,73,125)">Systems Administrator</span><span style="color:rgb(31,73,125)" lang="EN-GB"></span></div><p class="MsoNormal" style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt"> </span></p><div style="margin-top:0px;margin-bottom:0px"><b>RCS Telecommunications<span class="m_2038824010325592936Apple-converted-space"> </span></b></div><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">Level 1, 133 Mary Street</span></div><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">Brisbane, QLD, 4000</span></div><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">Office: 07 3228 0843</span></div><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt" lang="FR">Mobile: 0419 726 231</span></div><div style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt" lang="FR">Email:</span><span style="font-size:10pt;color:rgb(0,112,192)" lang="FR"><span class="m_2038824010325592936Apple-converted-space"> </span></span><u><span style="font-size:10pt;color:blue" lang="FR"><a href="mailto:eoin.kim@rcst.com.au" id="m_2038824010325592936LPNoLP" target="_blank">eoin.kim@rcst.com.au</a></span></u></div></div></div><br><br><div><hr style="display:inline-block;width:691.875px"><div id="m_2038824010325592936divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif"><b>From:</b><span class="m_2038824010325592936Apple-converted-space"> </span>MailScanner <<a href="mailto:mailscanner-bounces+eoin.kim=rcst.com.au@lists.mailscanner.info" target="_blank">mailscanner-bounces+eoin.kim=<wbr>rcst.com.au@lists.mailscanner.<wbr>info</a>> on behalf of Glenn Steen <<a href="mailto:glenn.steen@gmail.com" target="_blank">glenn.steen@gmail.com</a>><br><b>Sent:</b><span class="m_2038824010325592936Apple-converted-space"> </span>Wednesday, 25 January 2017 7:12 PM<br><b>To:</b><span class="m_2038824010325592936Apple-converted-space"> </span>MailScanner Discussion<br><b>Subject:</b><span class="m_2038824010325592936Apple-converted-space"> </span>Re: [Question] RE: sending warning message</font><div> </div></div><div><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/<wbr>recipient" wiki article... if at all possible... or DIY;-)) to split incoming e-mails/recipient.<br><br></div>Cheers!<br>--<span class="m_2038824010325592936Apple-converted-space"> </span><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 class="m_2038824010325592936Apple-converted-space"> </span><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:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style: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="m_2038824010325592936im m_2038824010325592936HOEnZb"><br>Eoin<br><br>-----Original Message-----<br>From: MailScanner [mailto:<a href="mailto:mailscanner-bounces%2Beoin.kim" target="_blank">mailscanner-bounces+eo<wbr>in.kim</a>=<a href="mailto:rcst.com.au@lists.mailscanner.info" target="_blank">rcst.com.au@lists.mails<wbr>canner.info</a>] On Behalf Of Mark Sapiro<br></span><span class="m_2038824010325592936im m_2038824010325592936HOEnZb">Sent: Wednesday, 25 January 2017 2:13 PM<br>To: MailScanner Discussion <<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner<wbr>.info</a>><br>Subject: Re: [Question] RE: sending warning message<br><br></span><div class="m_2038824010325592936HOEnZb"><div class="m_2038824010325592936h5">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-Warning<wbr>.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" target="_blank">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" target="_blank">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" target="_blank">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>--<span class="m_2038824010325592936Apple-converted-space"> </span><br><div class="m_2038824010325592936gmail_signature">-- Glenn<br>email: glenn < dot > steen < at > gmail < dot > com<br>work: glenn < dot > steen < at > ap1 < dot > se</div></div></div></div></div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">--<span class="m_2038824010325592936Apple-converted-space"> </span></span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">MailScanner mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important"><a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<wbr>info</a></span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important"><a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a></span></div></blockquote></div><br></div></div></div></div><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></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>