Quoting Facundo Barrera <[EMAIL PROTECTED]>:

> Hi list:
>        if i add some new domains to my mailserver, do i have to re-run the
> perl script that generates qmail-scanner-queue.pl adding the new ones to the
> command:
>
> for example lets say:
>
> "./configure --domain xxx.net --admin postmaster --local-domains "
> my-actual-domains.com,my-recently-added-domains.com" --add-dscr-hdrs yes
> --ignore-eol-check yes --skip-setuid-test"
>
> Do i have to do this everytime i,m adding a new domain, or i should edit the
> qmail-scanner-queue.pl myself and add the new domains to the line:
>
> my @local_domains_array=(xxx.com,lalala.com,recently-added-domain.com,....)

   If you take a look at the doc you'll see what "--local-domains" is  
intended for.

--local-domains "one.domain,two.domain"
                    Defaults to the value of the "--domain" setting.
                    Comma-separated list (no spaces!)  of domains that are
                    classified as "local". This is needed to ensure alerts
                    are only sent to local users and not remote when
                    '--notify "recips"' is chosen. This will drastically
                    reduce the chance of alerts being sent to mailing-lists.

--notify [none|sender|recips|precips|admin|nmladm|nmlvadm|all]  
(defaults to "psender,nmlvadm")
                    Comma-separated list (no spaces!) of addresses to which
                    alerts should be sent to. "nmladm" means only notify
                    admin for "user infections",
                    i.e. non-mailing-list mail.
                    "nmlvadm" is the same as nmladm - except that it  
also doesn't
                    notify for viral e-mails.
                    i.e. just "policy" quarantines get e-mails.
                    This allows you to still notify people when an e-mail is
                    blocked due to a policy decision (such as blocking
                    password-protected zip files), but a message  
tagged as viral
                    by an AV system will *not* trigger notification.
                    Similarly, "psender" means notify the sender only if their
                    e-mail was blocked for policy reasons.
                    i.e. if an AV system found a virus, then don't notify the
                    sender as the address was probably forged.

-Ruben


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Qmail-scanner-general mailing list
Qmail-scanner-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to