[EMAIL PROTECTED] wrote:...My /etc/courier/maildroprc: import SENDER import RECIPIENT import HOMExfilter "/usr/sbin/amavis $FROM $RECIPIENT"
There you go.... never ever do this. Rather:
import SENDER
import RECIPIENT
SH_SENDER=escape($SENDER)
SH_RECIPIENT=escape($RECIPIENT)
if ($SH_SENDER eq "")
{
SH_SENDER="unknown"
}
xfilter "/usr/sbin/amavis $SH_SENDER $SH_RECIPIENT"
I already remove $FROM in calling amavis. This is not problem becouse virus report is send directly from amavis to me ( postmaster@ ). amavis in fact is modified from me compiled perl script based on original amavis. In report that I receive have copy of entire headers of every infected file, so I know from and to was sended infected email.
But I can't locate in docs this 'escape()'. It is not documented or I miss something?
--
Svetozar Mihailov
------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
