Re: [Exim] NFS and require_files

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Pawel Wilk
CC: exim-users
Tárgy: Re: [Exim] NFS and require_files
On Tue, 10 Apr 2001, Pawel Wilk wrote:

> After delivering message to local user I would like to let Exim decide if
> the user exists. :)


Surely you want to take this decision *before* delivering the message?

> I would like to do it by testing access to the
> user's maildir. Ok, but I'm using NFS and I don't want messages to be
> dropped or rejected if there was some problem and my NFS devices aren't
> mounted.


> - if /var/mail mounted -y-> exists /var/mail/recipient/Inbox -y-> inject!
>                        -n-> (next step)                      -n-> reject!


I think require_files could do that.

> - ask LDAP whether local user exists -y-> keep in spool
>                     -n-> reject!


smartuser with new_recipient -> :fail: or :defer: as required.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.