[exim] Checking home existance in a smart way...

Etusivu
Poista viesti
Vastaa
Lähettäjä: Marco Gaiarin
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] Checking home existance in a smart way...

Currently i use exim on some local server to manage mail traffic: i put
mailbox on the user's home.
But after some years, i got many users that no more are working with my
organization: account are disabled, but email still arrive.

With a little but effective hack, i've done on the final transport:

    require_files = ${local_part}:${home}


and effectively, if i remove the user's home, email to that user get
bounced.

But i've also thinked about this: if for some reason /home get not mounted?
All email will start bounce, instead of get in queue for later delivery.


There's a ''smart'' way to do this check? Thanks.

-- 
  Does anybody here remember Vera Lynn?
                            (Pink Floyd)