[EXIM] Having a program conditionally handle mail

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Jason L Tibbitts III
Data:  
Para: exim-users
Assunto: [EXIM] Having a program conditionally handle mail
>>>>> "PR" == Peter Radcliffe <pir@???> writes:

PR> Its not perfect yet, nor pretty, but if majordomo 2 takes all majordomo
PR> mail to one place that would be a _lot_ nicer and easier.


Yes, all mail comes in through mj_email.

PR> The current things I have do at least allow me to add
PR> a list simply by adding majordomo stuff and one line into an aliasfile
PR> (which has the list owner as the


This was truncated when it got to me...

PR> Whats the format of the majordomoII call ?


That's pretty much up to you (the Exim folks). I'm basically asking what I
need to add to make it work for Exim. We eventually need to know the
virtual domain being served (which generally coincides with the RHS of an
address), the list name and the function (-owner, -request, -somecommand).
We can generally figure out everything from the address, but if the MTA
doesn't allow us to say "nope, it's not ours" then the MTA has to figure
out if it's ours before sending it to us. That's the tough part.

For qmail, we take '-d dom.ain -Q' (the address is passed in the
environment). I'd be happy to use '-d dom.ain -E address' but I don't know
if/how the domain is available in the director/transport.

>> Since directors don't take users, the list directories have to be world
>> readable.


PR> Not true, you can run everything as majordomo, I do this currently.


I didn't realize that directors could run as specific users.

- J<

--
*** Exim information can be found at http://www.exim.org/ ***