<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>I don’t actually use that ruleset, but I wonder, does it work without the deliver, so if you just use forward, does it forward?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Have you checked the mail logs to see if it did forward the email? Maybe it went to spam as spf fail or something!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> mailscanner-bounces@lists.mailscanner.info [mailto:mailscanner-bounces@lists.mailscanner.info] <b>On Behalf Of </b>Edward Dam<br><b>Sent:</b> 17 September 2014 21:38<br><b>To:</b> MailScanner discussion<br><b>Subject:</b> Re: Moving Servers<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>The curious part is, the last line of deliver.rules is<br><br>FromOrTo: default deliver header &quot;X-Spam-Status: No&quot;<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Which of course applies to any mail that isn't otherwise directed above that line. I've got a few dozen forwards listed above that line such as<br><br>To: <a href="mailto:user@mydomain.com">user@mydomain.com</a> deliver forward <a href="mailto:user@gmail.com">user@gmail.com</a><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Which takes any mail for <a href="mailto:user@mydomain.com">user@mydomain.com</a> and delivers it but also forwards it to their gmail address.<o:p></o:p></p></div><p class=MsoNormal>The incoming email is being delivered to <a href="mailto:user@mydomain.com">user@mydomain.com</a> but the forward to <a href="mailto:user@gmail.com">user@gmail.com</a> does not occur.<o:p></o:p></p><div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On Wed, Sep 17, 2014 at 4:28 PM, Edward Dam &lt;<a href="mailto:damfam@gmail.com" target="_blank">damfam@gmail.com</a>&gt; wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi All,<br><br>I spent the day setting up a new MailScanner server as the old one's days were numbered from a hardware perspective.<br><br>I've got the new server up and running, and MailScanner installed and working.<br><br>What I *can't* get working, is the custom rules I have, specifically a file called deliver.rules that contains a bunch of forwards.<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>First off, new server info.<br><br>CentOS 6.5<br><span style='font-size:13.5pt;font-family:"Verdana","sans-serif";color:black'>MailScanner Version = 4.84.6<br>PHP Version = 5.3.3</span><o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>MailScanner.conf applicable lines:<br><br>%rules-dir% = /etc/MailScanner/rules<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Non Spam Actions = %rules-dir%/deliver.rules<o:p></o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>So in /etc/MailScanner/rules I have my deliver.rules file, copied from the old working system.<br><br>For some reason, MailScanner completely ignores the file. I've been banging my head against the desk for a couple hours now - and this is the last &quot;issue&quot; left before pushing this into production.<br><br>Any thoughts?<br><br><o:p></o:p></p><div><div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></div></div></blockquote></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>