Re: [Exim] fail instead of freeze when stat() fails on maild…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Vladimir Ivaschenko
Datum:  
To: exim-users
Betreff: Re: [Exim] fail instead of freeze when stat() fails on maildir?
Peter Radcliffe wrote:

> Vladimir Ivaschenko <hazard@???> probably said:
> > I want the delivery to fail when the direcotory for the account does not
> > exists. When this happens, exim freezes message with "defer (2): No such
> > file or directory: stat() error for /var/spool/mailstore/blah@???:
> > No such file or directory". However I want to return an error message
> > instead back to the user. Is it possible to configure this?
>
> Look at 'require_files =' or" 'condition =' and ${if exists{<file
> name>}} in TFM.
>


Ah, thanks, I didn't think about it that way. I was thinking how to change defer to fail, but not how
director at all :-)

Just in case someone needs it: I added require_files = /var/spool/mailstore/${local_part}@${domain} to my
localuser director.

--
Best Regards
Vladimir Ivaschenko
Red Hat Certified Linux Engineer (RHCE)
Francoudi & Stephanou Ltd