Stephen Gran on 17 Sep 2004 03:34:02 -0000

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] exim4 system_aliases and pipe_transport

On Thu, Sep 16, 2004 at 09:25:42PM -0500, Greg Lopp said:
> Stephen Gran wrote:
> > 
> Identical and `/etc/init.d/exim4 reload`


> > So you have a pipe_transport defined in general, but the system_aliases
> > router hasn't been told to use it.
> >
> ......or something like that.  

I don't know if you want a quick-n-dirty 'how exim handles mail' kind of
talk, but here goes - once mail makes it past the ACL's and is accepted,
exim has to figure out what to do with it.  It tries each defined router
in turn, until one accepts it or they all decline.  Each router has one
or more transports defined in them, and it is the transport that does
the work of getting the mail from the spool to the destination.  So when
I say you have a pipe_transport defined, I mean it is available for use,
but the router for /etc/aliases doesn't use it.  This is oversimplified,
of course, but that's the gist of the relationship between routers and

> I took a look at /var/lib/exim4/config.autogenerated and found that 
> the system_aliases section in there is unchanged (no pipe_transport 
> defined).  But the timestamp matches the time I restarted exim.  
> Changing the order of the file and pipe transports was no help either.

I'm thinking the edits aren't being made to the right file - introduce
some random gibberrish into the file and reload - does it complain?  If
it does, you're editing the right file and something very strange is
happening.  If it doesn't complain - hey, we've got the wrong file.

> > Hmm.  Do you have a file named /etc/exim4/exim.conf?  If so, that's
> > where you'll need to make that edit.  This file is used preferentially
> > if found.
> >
> $ ls /etc/exim4
> conf.d               passwd.client           update-exim4.conf.conf~
> exim4.conf.template  update-exim4.conf.conf

What is the output of:
/usr/sbin/exim -bP configure_file

I assume it will be /var/lib/exim4/config.autogenerated, but I just want
to double check.

grep -A3 'exim4/use_split_config' /var/cache/debconf/config.dat
grep -A3 'exim4/no_config' /var/cache/debconf/config.dat
locate exim.conf

That will tell me enough to keep going, I think.
|  Stephen Gran                  | BOFH excuse #342:  HTTPD Error 4004 :   |
|             | very old Intel cpu - insufficient       |
| | processing power                        |

Attachment: pgppmOeKWOnoV.pgp
Description: PGP signature