Re: [Exim] restricted virt domain with /dev/null for rest

Top Page
Delete this message
Reply to this message
Author: Randy Bush
Date:  
To: Peter Radcliffe
CC: exim users
Subject: Re: [Exim] restricted virt domain with /dev/null for rest
>> note that by "deliver locally" there may be relevant ~/.forwards or
>> /etc/aliased entries.
>>
>>     bogus_local:
>>       driver = domainlist
>>       local_parts = user0:user1
>>       domains = bogus.com
>>       route_list = * localhost byname
>>       self = local

>>
>> leaves all non-matching as frozed as lowest mx points to self. i want to
>> /dev/null them.
>
> Once something is on the machine and you're doing local processing
> (rather than sending it on to another machine) deal with it as a local
> domain as apposed to messy re-routing hacks. Routing is usually used
> for sending things onto a different machine or another copy of exim.
>
> bogus_local:
> driver = smartuser
> local_parts = user0:user1
> domains = bogus.com
> new_address = ${local_part}@???
> no_more
>
> Put this first in your directors. Only the listed local_parts will
> match and will get reprocessed as if they came in for @psg.com
> (including any applicable aliases or forwards, etc), anything else
> will bounce since the no_more means no other directors will get
> checked for that domain.


nope. the host on which the above is configured whines that

2000-01-09 08:38:07 lowest MX record for bogus.com points to local host

and the host attempting to deliver to it can not

    /usr/local/sbin/exim   -v -M 127LKf-0006CM-00 
    delivering message 127LKf-0006CM-00
    Connecting to psg.com [147.28.0.62] ... connected
      SMTP<< 220 psg.com ESMTP Exim 3.12 #1 Sun, 09 Jan 2000 08:39:53 -0800
      SMTP>> EHLO rip.psg.com
      SMTP<< 250-psg.com Hello rip.psg.com [147.28.0.39]
         250-SIZE
         250-8BITMIME
         250-ETRN
         250-PIPELINING
         250 HELP
      SMTP>> MAIL FROM:<randy@???> SIZE=1432
      SMTP<< 250 <randy@???> is syntactically correct
      SMTP>> RCPT TO:<randy@???>
      SMTP<< 451 Cannot check <randy@???> at this time - please try later
      SMTP>> QUIT
    LOG: 0 MAIN
      == randy@??? T=remote_smtp defer (0): SMTP error from remote\
     mailer after RCPT TO:<randy@???>: host psg.com [147.28.0.62]:\
    451 Cannot check <randy@???> at this time - please try later


randy