Re: LDAP_ROUTE feature with access db



Jim McCullars <jim@xxxxxxxxxxxxx> writes:

Greetings:

We make extensive use of the LDAP_ROUTE feature of sendmail to
allow our users to have firstname.lastname@xxxxxxx email addresses
when their username on our email server (Solaris) can have only
eight-character usernames. This has worked well for us but I have
noticed one thing not working as I expected and wondered if this
was a bug or just the way it works.

When someone leaves, we will disable their email account and
prevent them from receiving new messages by putting something like
this in the access file:

To:vanilla1@ REJECT

before actually deleting their account. But what I found is that if
mail is routed to that host and the address has an LDAP_ROUTE domain
and the lookup resolves to that address, it will deliver anyway. [...]

Have you considered using
* aliases to mark invalid addresses
* virtusertable to specify custom error message

aliases file:
vanilla1: no-longer-valid@xxxxxxxxxxxxxxxxxxxxx

virtusertable:
no-longer-valid@xxxxxxxxxxxxxxxxxxxxx error:nouser No longer valid email

In short: AFAIK access checks email presented in "RCPT TO:" command in
SMTP session.

--
[pl>en: Andrew] Andrzej Adam Filip : anfi@xxxxxxxxxxxx : anfi@xxxxxxxx
Open-Sendmail: http://open-sendmail.sourceforge.net/
.



Relevant Pages

  • LDAP_ROUTE feature with access db
    ... users to have firstname.lastname@xxxxxxx email addresses when their username ... on our email server (Solaris) can have only eight-character usernames. ... we will disable their email account and prevent them ... though I reject that address in the access file. ...
    (comp.mail.sendmail)
  • open Access database in MS Query
    ... Is there a way to open an access file using MS Query? ... have the username and password but the database won't ... Access 2000 using the username and password. ...
    (microsoft.public.access.security)
  • Re: sendmail newbie question
    ... > If I understand correctly you're saying that by and large, modern Unix ... trying to make your username mixed case will give you ... virtusertable to translate e-mail address -> username on the incoming ... See aliasesfor the syntax of the aliases file. ...
    (freebsd-questions)
  • Re: Compare two files and remove if not found ?
    ... The aliases file has entrys like this ... The username can occur one or many times. ... exist in the passwd file. ...
    (comp.unix.shell)
  • error 0xC00D1196
    ... it's said username and password are incorrect... ... how do you set the username and password to access file from a network? ...
    (microsoft.public.windowsmedia.player)