Andreas,
Nice idea, but my Notes servers are firewalled off from my Exim server. I
don't have LDAP access to Domino. We are planning to push a flat file
extract from the NAB out to Exim for the look-ups.
Sent by: exim-users-bounces@???
To: Dan_Mitton@???
cc: exim-users@???, Magnus Holmgren <holmgren@???>
Subject: Re: [exim] Fw: Reject Specific users...
LSN: Not Relevant
User Filed as: Not a Record
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
--
## List details at
http://www.exim.org/mailman/listinfo/exim-users
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://www.exim.org/eximwiki/