Re: Weird mailbox writing and From address problem

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: John Henders
Fecha:  
A: Philip Hazel
Cc: exim-users
Asunto: Re: Weird mailbox writing and From address problem
On Jun 28, ph10@??? (Philip Hazel) wrote:

> (2) Have you removed "never_users=root" that appears in the default 
>     configuration?


I'd missed that. My default configuration from the 0.40 days had a whole
list of never_users, including root and exim, the two I'd tried to set
the transport id to and I'd assumed the user = root directive over rode
that setting on the one transport.

Anyway, I set the user to mail, which wasn't on the never list, and now
procmail doesn't escape the From line. Would the empty from when
procmail escaped the From nobody be a bug in procmail perchance?
>
> It should be possible to put user on the transport that you use. Can you
> send me a copy of your configuration file? (Or the relevant bits of it.)
> If I can't spot anything in there, at least I can then try to recreate
> the problem and debug it that way.


The place I had trouble with was in the directors section. I've included
it below. Some of the directors accept the user function, but some dont.


######################################################################
#                      DIRECTORS CONFIGURATION                       #
######################################################################
virtual:
        domains = dbm;/etc/exim/domains,
        driver = aliasfile,
        no_more;
        file = /etc/exim/$domain,
        search_type = lsearch,
        user = mail


# This director handles aliasing using a traditional /etc/aliases file.

system_aliases:
        driver = aliasfile;
        file = /etc/aliases,
        search_type = lsearch


maillist_aliases:
          driver = aliasfile;
          file = /local/mailinglists/aliases,
          search_type = lsearch
          optional = true
          user = lists


# This director handles forwarding using traditional ~/.forward files.
userforward:
        no_verify,
        driver = forwardfile;
        file = .forward


procmail:
        driver = localuser,
        transport = procmail_pipe,
        no_more;
## can't put user = root here



# This director matches local user mailboxes.
localuser:
driver = localuser,
transport = local_delivery;


end



-- 
      Artificial Intelligence stands no chance against Natural Stupidity.
                GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
                     b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*