Re: [toaster] block outgoing messages

Jason Haar <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Organization Trimble Navigation Ltd.
Message-ID <[email protected]>
Lampa wrote:
> Hello,
>
> and is possible to turn on scanning messages which going through
> server (outgoing messages, authenticated users) ? Something like after
> auth not spawn qmail-queue but qmail-scanner (or something similar).
>
> There is request for scanning messages for own users (not all out of
> users are good guys ;()
>   

You need to tell qmail-smtpd to call qmail-scanner-queue.pl instead of
qmail-queue for all source IPs instead of just non-local (or
non-authenticated).

i.e.

/etc/tcpcontrol/smtp.rules needs
":allow,QMAILQUEUE="/usr/bin/qmail-scanner-queue.pl""

something like that...
> Next request is to store incoming messages for some domains - i think
> that this can be done by per_domain patch (from Salvatore Toribio -
> little busy man) which can be extend to do this.

standard Q-S does that. Simply add the domains you want archived to
"$archiveit='onedom|twodom';"



-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.