Re: [exim] verifying recipients on mailhub

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Tony Finch
Ημερομηνία:  
Προς: Václav Hůla
Υ/ο: exim-users
Αντικείμενο: Re: [exim] verifying recipients on mailhub
On Thu, 9 Jun 2005, [utf-8] Václav Hůla wrote:
> On Thursday 09 of June 2005 17:15, Tony Finch wrote:
> > On Thu, 9 Jun 2005, [utf-8] Václav Hůla wrote:
> > >
> > > But when username is not found in /etc/exim/natur file, the mail is then
> > > processed further - but I want to fail it with Unknown user error, and
> > > dont know how. Can anyone point me in the right direction?
> >
> > Use the no_more option.
>
> I tried, but this does not work for me, as its local_part that triggers the
> no_more, not route_list. So mail to unknown_user@??? is processed
> with next router, but existing_user@??? fails with Unrouteable
> address


Sorry, I got the semantics of no_more wrong. I should have checked the
docs :-)

The way I tend to do this is to have another router which handles the
addresses which should fail, e.g.

error:
  driver    = redirect
  precondition    = whatever
  data        = :fail: your message here
  allow_fail


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}