Re: Adding new domains - Question!?

Ruben Cardenal <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <[email protected]>
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
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.