Re: [Exim] Sending messages with different priorities

Pàgina inicial
Delete this message
Reply to this message
Autor: Enrico Zini
Data:  
A: Sheldon Hearn
CC: exim-users
Assumpte: Re: [Exim] Sending messages with different priorities
On Mon, Dec 10, 2001 at 06:32:22PM +0200, Sheldon Hearn wrote:

> > I'm using the debian woody package, and I wouldn't like to recompile
> > exim. Now I set exim_user in the "bulk" config file to www-data and
> > gave the spool and log directories to the www-data user. In that way
> > everything works, included mailq -C /path/to/my.cfg. Is this ok or are
> > there any extra precautions I should take?
>
> I'm not sure. I'd have thought you'd trip up on something. Personally,
> I'd definitely go through the extra pain of ensuring compile-time
> defaults for exim_user and exim_group.


Compile-time defaults are already set to user mail and group mail by the
debian packages, and they are fine for the configuration of the exim
running the normal queue.

Since sending bulk messages is performed by www-data, and I need to do
it with a different config file, that causes exim to drop root
privileges, I'll then need to give all exim spool and log files involved
with the bulk mailing to www-data. I'll then have to change exim_user,
together with spool_directory and log_file_path, to the values used for
the bulk mailing setup in the second configuration file.

Having two config files is fine, having two exims installed is not that
clean, IMHO, so I wanted to avoid having to keep two copies of the exim
binaries one for each compile-time setup.

Are there any extra precautions I should take?

Thanks!

Bye, Enrico