Re: [exim] Diverting sub-domain to ;blackhole:

Top Page
Delete this message
Reply to this message
Author: Dan_Mitton
Date:  
To: Always Learning
CC: Exim Users
Subject: Re: [exim] Diverting sub-domain to ;blackhole:
Try --

weg:
    driver     = redirect
    domains    = xyz.domain.com
    data       = :blackhole:




Sent by:        exim-users-bounces@???
To:     Exim Users <exim-users@???>
cc:      (bcc: Dan Mitton/YD/RWDOE)
Subject:        [exim] Diverting sub-domain to ;blackhole:
LSN: Not Relevant
User Filed as: Not a Record



Wanting to divert sub-domain xyz.domain.com to a :blackhole: I first
tried in Rewrite to change the envelope address with

*@xyz.domain.com :blackhole: T

but Exim rejected that coding.

I tried again in Routers doing things like:

weg:
    driver     = redirect
    data       = xyz.domain.com
    transport  = :blackhole:


'Transport' is not allowed. The Exim 4.71 PDF fails to explain the
syntax. Google can't find anything illustrative.

I know I can delete the MX entry for xyz.domain.com and create lots of
bounces but I wanted to simply drop the expected deluge of emails to
that sub-domain.

Although I have found a workable substitute, shown below, does anyone
know how to divert an entire sub-domain to :blackhole: or /dev/null ?

--------------

REWRITE

                 *@xyz.domain.com            delete@???  T



/etc/aliases

                 delete:   :blackhole:


-------------

One of the resulting Exim log file lines is

> 2010-02-11 21:44:19 1Nfgpf-0008GP-K8 => :blackhole:

<delete@???> R=system_aliases

I assume R= means Router and the 'system_aliases' is a predefined class
of routers. How does one set-up a 'system_aliases' router to deliver
sub-domain emails to :blackhole: ?

Regards,

Paul.

--



--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/