Re: [Exim] explicit routing with exim -bm

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Bryan Henderson
Data:  
Para: exim-users
Asunto: Re: [Exim] explicit routing with exim -bm
>> This question is just about me controlling exim. Options
>> on the exim command line that simply override the exim configuration
>> files would do the job.
>
>-C allows you to use an alternate configuration file (if you are
>suitably privileged). -D allows you to set macro values (ditto).
>
>If what you are trying to do is to route certain addresses
>"unusually", you may be able to do it ... triggered by an
>if-then-else predicated on the setting of a macro.


OK, that's what I want, and it makes more sense than source-routed addresses
even if they worked.

In fact, I went further and instead of just if-then-else, the macro gives
the name of the server I want remote_smtp to use.

It's too bad there isn't a way for an unprivileged user to set certain
macros while still having Exim run privileged. I guess I'd have to
run another level of indirection to do that - have a setuid program to
invoke Exim with a -D option.

--
Bryan Henderson                                    Phone 408-621-2000
San Jose, California