Re: [EXIM] Support for username+extension@domain.com?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Peter Radcliffe
Date:  
À: exim-users
Sujet: Re: [EXIM] Support for username+extension@domain.com?
Peter Radcliffe <pir@???> probably said:
> # Use procmail only if a ~/.procmailrc file exists, and procmail exists.
> # If sending to a username-suffix and $HOME/.forward-suffix exists,
> # its valid.
> procmail:
> driver = localuser
> transport = procmail_pipe
> require_files = "${local_part}:${home}/.procmailrc:+/usr/local/bin/procmail"
> suffix = DSUFFIX*
> suffix_optional


I realised that this might pass things to procmail when you have a .forward
file and expect it not to happen (if .forward and .procmailrc exist user-foo
will still get passed to procmail).
To stop this you can change the above to use:

  require_files = "${local_part}:${home}/.procmailrc:+/usr/local/bin/procmail\
                    :!${home}/.forward"


which is what I'm using.

P.

-- 
pir               pir@???      pir@???      pir@???



--
*** Exim information can be found at http://www.exim.org/ ***