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

Top Pagina
Delete this message
Reply to this message
Auteur: Marco Gaiarin
Datum:  
Aan: exim-users
Onderwerp: [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)