Salvatore Toribio wrote:
If a mail from a local user is blocked it will be notified to the 'admin' even with 'nmladm' or 'nmlvadm' selected. The string 'LOCAL USER' is added to the subject of the notification, it would need to be localized in the future... (suggested by Nerijus Baliunas)
Is it possible to turn this feature off?
Arvinn
No.
You can change the code or unset the variable before the check.
You have to search for 'sub email_sender', and there you will find a very very long line...
if ( ¬ify_addr('admin') || ( ¬ify_addr('nmladm') && (!&is_unreplyable_email('sender') || defined($ENV{'RELAYCLIENT'})) ) || ( ¬ify_addr('nmlvadm') && (($quarantine_event =~ /^(policy|perlscan)/i && $quarantine_event !~ /virus/i && !&is_unreplyable_email('sender')) || defined($ENV{'RELAYCLIENT'})) ) ) {
I think the best way is to unset the variable before this line, I don't remember but must be something like:
delete $ENV{'RELAYCLIENT'};
At this point it won't be a problem for the message (I hope...)
Cheers
ST
------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general