[EXIM] reject recipents???

Top Page
Delete this message
Reply to this message
Author: Margrit Loebner
Date:  
To: exim-users
Subject: [EXIM] reject recipents???
I'm looking for a rule to reject special unknown recipients.

My idea:
::::::::

We have any virtual domains. If recipients are of the form
    name@name-of-virtual-domain
it is easy.
The virtual domain director , which I've configured, can find out
errors and rejects unknown addresses.


but: If recipient is of the form account@???...

I will ckeck with a regular expression:

-if I've already a file with allowed accounts from the given domain

    -> check account again this file: ok -> ...no chaenges of the
                           recipient-address
                        ...normal delivery with
                               smtp-transport


    -> check gives "fail" - reject this mail with error
                 unallowd recipient


What can I do???
::::::::::::::::

with rewrite rule: change the unallowed address to unknown@....

but: How I can reject this recipient???
:::::::::::::::::::::::::::::::::::::::
(with a special router for special local_parts???)

( For sender-error it is easy: ...Option sender_reject!)

   Or: Can I reject the message with unallowed recipient already 
       at the receiving process of message???



MfG Margrit Loebner


+-----------------------------------------------------------------------+
  |                                             phone : +49 391 67 1 2865 |

  |                            +49 391 67 1 2819 |

  |              Margrit Loebner                  fax : +49 391 67 1 1134 |
  |                                                                       |
  | Otto-von-Guericke-Universitaet Magdeburg                              |
  | Universitaetsrechenzentrum, URZ-N                                     |
  | Universitaetsplatz 2                                                  |
  | D-39106 Magdeburg,  Germany                                           |
  |                                                                       |
  | EMail X.400: C=DE;A=D400;P=Uni-Magdeburg;OU=urz;S=Loebner;G=Margrit   |
  |      RFC822: Margrit.Loebner@???[.D400].DE              |

+-----------------------------------------------------------------------+


--
*** Exim information can be found at http://www.exim.org/ ***