Re: [Exim] .forward files and suffixes

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jon Bendtsen
Päiväys:  
Vastaanottaja: Nicolas Dorfsman, exim-users
Aihe: Re: [Exim] .forward files and suffixes
> I've spent some hours on this.
>
>         My main error was I forgot to "suffix = xxxx" parameter in
> userforward director according to what I wrote in localuser director.
> So, exim was trying to find a forward file for a non-existent user.
>         The best way to find your issue is to run exim in debug mode
> (what I made).


userforward:
suffix = +*
suffix_optional
driver = forwardfile
require_files = ${home}
directory_transport = address_directory
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
no_verify
check_ancestor
file = .forward
modemask = 002
filter


# this director matches username+extension@???

extension:
suffix = +*
suffix_optional = yes
driver = localuser
transport = maildir_delivery

--------------------------------------------------
This is the userforward director in my /etc/exim/exim.conf file.
The bottom one makes me able to recieve +extension mail at all.
I would expect the userforward to be executed before, the
extension, since it's written on top.

There is one thing i wonder about though, and that is
the "directory_transport = address_directory"

Since it looks like this:
address_directory:
driver = appendfile
no_from_hack
prefix = ""
suffix = ""
maildir_format


However, weather or not i uncomment the prefix and suffix = ""
makes no difference. Besides i think that those are for something else.

I'm not really so happy to fiddle too much with out production
mail server.


ion++