<html>
<body>
Hello,<br><br>
Installation details: RHEL5.3 with cPanel and MailScanner Front End
(configserver.com)<br>
MailScanner is running ok for more than one year.<br>
Our server uses the "Remove These Headers =
%rules-dir%/remove.headers.rules" setting to eliminate inbound
return receipts requests while allowing outbound receipts headers to stay
intact.<br><br>
Two weeks ago after upgrading to version MailScanner - v4.76.24 we begun
to notice that some inbound emails were asking for return
receipts.<br><br>
We played a lot with the rules file without success and as a temporary
solution, we replaced the per domain rules file with the the following
single line instruction:<br><br>
Remove These Headers =
/Confirm-Reading-To:|Delivery-Receipt-To:|Disposition-Notification-To:|Errors-To:|MDRcpt-To:|MDSend-Notifications-To:|Read-Receipt-To:|Receipt-Requested-To:|Return-Receipt-To:|Status:|Smtp-Rcpt-To:|X-Acknowledge-To:|X-Confirm-Reading-To:|X-IMAPBase:|X-IMAP:|X-Keywords:|X-Mozilla-Status:|X-Mozilla-Status2:|X-PMrqc:|X-Spam-Processed:|X-Status:|X-UID:|X-UIDL:/<br>
<br>
This solution is working, we have no receipts at all both inbound and
outbound, but we wish to regain the fine granularity control we once
had.<br><br>
The original rules file uses spaces to separate the headers.<br>
The typical per domain lines we had in the remove.headers.rules file
were:<br><br>
# For each domain:<br>
From:<x-tab> </x-tab>*@domain1.com.br<x-tab>
</x-tab>X-Mozilla-Status:
X-Mozilla-Status2: X-Spam-Processed:<br>
To:<x-tab> </x-tab>*@domain1.com.br<x-tab>
</x-tab>
Confirm-Reading-To: Delivery-Receipt-To: Disposition-Notification-To:
Errors-To: MDRcpt-To: MDSend-Notifications-To: Read-Receipt-To:
Receipt-Requested-To: Return-Receipt-To: Status: Smtp-Rcpt-To:
X-Acknowledge-To: X-Confirm-Reading-To: X-IMAPBase: X-IMAP: X-Keywords:
X-Mozilla-Status: X-Mozilla-Status2: X-PMrqc: X-Spam-Processed: X-Status:
X-UID: X-UIDL: <br><br>
Those instructions used worked ok with previous MailScanner
versions.<br>
<br>
During the tests we have done with these files, we noticed that
Mailscanner does not complain (it does not report errors in the log file)
with the above described lines, but it also does not remove the required
headers.<br>
We tried a variety of combination of regex construction substituting the
spaces with \s and also using the | but none of the tried combinations
worked.<br><br>
We will appreciate any hint provided on how to build a working per domain
regex in the remove headers file using the new Mailscanner version regex
rules. <br><br>
Regards,<br><br>
<font color="#008080"><b>Hilario Fochi Silveira <br>
</font>Soliton Controles Industriais Ltda. <br>
Rua Alfredo Pujol, 1010 - Sao Paulo - SP - BRAZIL
<font size=2 color="#0000FF">ZIP: </font>02017-002<br>
<font size=2 color="#0000FF">Tel: </font><font size=2>+55 11
2950-1834
</font><font color="#0000FF">Fax:</font> +55 11 2979-8980<br><br>
<br>
</b></body>
</html>