Re: [exim] Fw: Reject Specific users...

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Andreas Pettersson
Datum:  
To: Dan_Mitton
CC: exim-users, Magnus Holmgren
Betreff: Re: [exim] Fw: Reject Specific users...
Dan_Mitton@??? wrote:
> Ok, the big story...
>
> My Exim server is only (currently) acting as an "edge" passthru SMTP
> gateway into our Lotus Notes mail systems. Currently, all messages are
> passed thru to Notes which, for invalid address, generates a bounce
> message and hands it back to Exim to try and deliver. Our thought was to
> remove the exim -> notes -> exim processing for invalid addresses and to
> let exim handle the bounces directly. Yes, (and I not like it either) a
> lot of these messages are spam and the bounces are collateral spam, but I
> am not able to limit who I accept a message from (due to government
> regulations). We are not making it any worse then it currently already
> is, just removing the exim -> notes -> exim steps.
>
> I'm open to suggestions, but my hands are (at least partially) tied.
>
> [snip]

Have Exim lookup each recipient in the Domino directory through LDAP.
Add this to your router.

    local_parts=\
    ldap; ldap:://dominoserver/?mail?\
    sub?(&\
           (|\
          (objectClass=inetOrgPerson)\
          (objectClass=dominoServerMailInDatabase)\
           )\
           (|\


(uid=$local_part)(cn=$local_part)(cn=$local_part@???)(mail=$local_part@???)\
           )\
        )


This should take care of aliases as well as mailin databases.
Make sure you replace yourdomain.com with your actual mail domain.

--
Andreas